Random Number Generator
Generate one or more random whole numbers between a minimum and maximum, with or without repeats.
Enter your values and press Generate.
How to use the Random Number Generator
Great for raffles, picking winners, classroom games or sampling. Press “Calculate” again for a fresh draw.
Formula
Numbers are drawn using your browser’s cryptographically secure random generator (crypto.getRandomValues), so every value in the range is equally likely.
More maths calculators
Online CalculatorA simple calculator — type any sum.Percentage CalculatorPercent of a number, percent of total and percent change.Fraction CalculatorAdd, subtract, multiply and divide fractions.Average CalculatorMean, median, mode, range and standard deviation.Quadratic Equation SolverSolve ax² + bx + c = 0, including complex roots.Pythagorean Theorem CalculatorHypotenuse and angles of a right triangle.Circle CalculatorArea, circumference and diameter of a circle.Perimeter CalculatorPerimeter of rectangles, circles and triangles.Test Score CalculatorPercentage and grade from marks scored.Long Division CalculatorQuotient and remainder with decimal answer.Percentage Difference CalculatorPercent difference between two values.Percent Error CalculatorPercent error between measured and true values.Ratio CalculatorSimplify ratios and solve A:B = C:D.GCF and LCM CalculatorGreatest common factor and least common multiple.Prime Factorization CalculatorPrime factors and whether a number is prime.Scientific Notation ConverterConvert numbers to and from scientific notation.Exponent CalculatorRaise a number to any power.Square Root & Nth Root CalculatorSquare, cube and nth roots.Logarithm CalculatorLog base 10, natural log and any base.Rounding CalculatorRound to decimals, tens, hundreds or significant figures.Decimal to Fraction CalculatorConvert decimals to simplified fractions.Slope CalculatorSlope, line equation and distance from two points.Triangle CalculatorAngles, area and perimeter from three sides.Trigonometry CalculatorSin, cos, tan and their inverses.Area CalculatorArea of rectangles, triangles, circles and more.Volume CalculatorVolume of cubes, cylinders, spheres, cones and more.Surface Area CalculatorSurface area of 3D shapes.Regular Polygon CalculatorArea, angles and radius of a regular polygon.Arc Length CalculatorArc length, chord and sector area.Degrees Minutes Seconds ConverterConvert DMS to decimal degrees and back.Weighted Grade CalculatorCourse grade from weighted assignments.Final Exam Grade CalculatorScore needed on the final to hit a target.GPA CalculatorGrade point average from letter grades and credits.Binary, Hex & Number Base ConverterConvert between binary, octal, decimal and hex.Roman Numeral ConverterConvert numbers to Roman numerals and back.Z-Score CalculatorZ-score and percentile from mean and SD.Permutation & Combination CalculatornPr, nCr and factorials.