Random Number Generator

Home › Math Calculators › Random Number Generator

Generate random whole numbers or decimals in any range.

How the calculation works

Choose a minimum, a maximum and how many numbers you need. Numbers are drawn using your browser’s secure random generator. Turn on ‘No duplicates’ to draw without repeats, such as for a raffle.

Formula used

Random integer = minimum + random value × (maximum − minimum + 1)

Example

Choosing 5 numbers between 1 and 100 might return 56, 19, 58, 33 and 89.

Frequently asked questions

Are the numbers truly random?

They come from your browser’s cryptographic random generator, which is suitable for games and draws.

Can I get decimals?

Yes. Choose ‘Decimals’ and set the decimal places.

Results are estimates for general information only and are not professional financial, medical or legal advice.