Generate random numbers in any range. Choose integers or decimals, set count, allow or prevent duplicates. Free online random number tool.
A random number generator (RNG) produces a sequence of numbers that lack any predictable pattern, used in statistics, simulations, gaming, and cryptography.
Formula
X = floor(random() × (max − min + 1)) + minX = Generated random integer
min = Minimum value (inclusive)
max = Maximum value (inclusive)
random() = Uniformly distributed value in [0, 1)
Worked Example
Generate random integer between 1 and 6 (die roll)
Did you know? The RAND Corporation published 'A Million Random Digits with 100,000 Normal Deviates' in 1955, generated by an electronic roulette wheel — it was a bestseller among statisticians (source: RAND Corporation).
Sources
Convert between degrees, radians, gradians, turns, and arc units for math and science.
Balance chemical equations by finding the correct coefficients for reactants and products.
Calculate radius, diameter, circumference, area, arc length, and sector area from any input.
Convert between kg/m³, g/cm³, lb/ft³, and more. Includes material density reference.
Differentiate polynomial functions with step-by-step power rule application.
Solve C₁V₁ = C₂V₂ for any missing variable in solution dilution problems.