wiseowlcalc
Country: Choose countryCountry

Random number generator

Pick a range, say 1 to 50, and how many numbers to draw (5 here, without repeats). The numbers shown first are an example; press Draw new numbers for a fresh set.

5 random numbers from 1 to 50

23, 16, 34, 31, 8
Smallest drawn
8
Largest drawn
34
Sum
112

The numbers shown first are a fixed example. Press “Draw new numbers” for a fresh draw; the link then reproduces it. For security, lotteries or anything that must be unpredictable, use a cryptographic source.

5 random numbers from 1 to 5023, 16, 34, 31, 8

How does the random number generator work?

Each number is min + floor(r × (max − min + 1)) for whole numbers, where r is a pseudo-random fraction from 0 up to (but not including) 1. With "No repeats" a number that has already been drawn is skipped, so you can draw at most as many numbers as the range holds.

n = min + ⌊ r × (max − min + 1) ⌋

Is it truly random?

No. Computers use a pseudo-random generator, which is fine for games, picking a winner among friends or choosing a sample. It is not suitable for passwords, encryption keys or regulated lotteries. Nothing you enter leaves your browser.

Questions people ask

How do I pick random numbers without repeats?

Tick "No repeats". For 5 numbers from 1 to 50 every number is different. The range must hold at least as many numbers as you ask for.

Can I generate random decimals?

Yes. Open the Decimals option and set the number of decimal places.

Is this suitable for a lottery or draw with prizes?

No. For anything where fairness is audited or money is involved, use a certified or cryptographic source.

Why are the numbers the same when I reload?

The first view is a fixed example so the page always has a result. Press the draw button for new numbers; the link then reproduces that draw.

Sources

Published by wiseowlcalc · Last updated · Checked by wiseowlcalc against the sources above; not yet reviewed by a named professional (editorial policy).

Calculators give estimates for planning only. They are not financial, tax, legal or medical advice. Check important decisions with a qualified professional.