Math Calculators
Random Number Generator
Pick random whole numbers or decimals between two values, with or without repeats, using your browser's secure random source.
- Free
- No sign-up
- Runs in your browser
Share this tool:WhatsApp (opens in a new tab)Telegram (opens in a new tab)X (opens in a new tab)
Choose a range and how many numbers you want.
How to use Random Number Generator
How to use this generator:
- Enter the lowest and highest number.
- Choose how many numbers you want, up to 1,000.
- Choose whole numbers or decimals, and whether repeats are allowed.
- Press Generate for a fresh set. Use Copy the numbers to copy a long list.
Open How this is calculated under the result to see the formula and each step with your own numbers.
The formula. number = lowest + a random whole number from 0 to (highest − lowest). Each value in the range has exactly the same chance.
Examples
Roll a die
Lowest 1, highest 6, one number. Every face has a one in six chance.
Draw a raffle
Lowest 1, highest 200, five numbers, repeats not allowed. No ticket can be picked twice.
Random decimals
Lowest 0, highest 1, two decimal places gives numbers such as 0.47 and 0.92.
Frequently asked questions
Are the numbers really random?
They come from your browser's cryptographically secure generator, with a method that removes bias, so each value in the range is equally likely.
Can I get the same set again?
No. Each press of Generate gives a new set, and nothing is stored or sent anywhere.
Why can I not ask for more unique numbers than the range holds?
Between 1 and 10 there are only 10 different whole numbers, so 11 different ones are impossible. Widen the range or allow repeats.
Is it suitable for passwords?
Use the password generator for that. This tool is for games, draws, samples and everyday decisions.
Guides about Random Number Generator
Related tools
Standard Deviation Calculator
Work out the standard deviation, variance, mean and median of a list of numbers, as a sample or a whole population.
SpreadMath CalculatorsFraction Calculator
Add, subtract, multiply and divide fractions and mixed numbers, with the answer simplified and the working shown.
1/2 + 1/3Math CalculatorsScientific Calculator
Work out expressions with brackets, powers, roots, logarithms and trigonometry, with every step of the working shown.
14