Free Calculator USA

Home › School and Math Calculators › Random Number Generator

Random Number Generator

Pick random whole numbers between any two values. Good for draws, games, raffles and choosing who goes first.

Use this when: you need a fair random pick, such as a raffle winner, a lottery-style set of numbers or a random order. Need to roll dice instead? Try the Dice Roller.

Quick answer: Set the lowest and highest number, how many numbers you want, and whether repeats are allowed, then press the button. Each press gives a new draw. Example: 1 to 100, 5 numbers, no repeats.

Last updated: November 6, 2026. Free, runs in your browser, nothing is saved.

How this random number generator works

Enter a lowest and highest whole number, how many numbers you want and whether the same number may appear twice. The generator uses your browser's secure random source and avoids the small bias that simple "multiply and round" methods have, so every number in the range has the same chance. Press the button to draw again.

How many outcomes are there?

The count of possible numbers is highest − lowest + 1. For 1 to 100 that is 100 numbers, so each number has a 1 in 100 (1%) chance on a single pick. With no repeats, the chance of a particular number appearing in a draw of 5 from 100 is 5 ÷ 100 = 5%.

Example

To choose a raffle winner from tickets numbered 1 to 250, set the lowest to 1, the highest to 250 and the count to 1. For a draw of six different numbers from 1 to 49, set the count to 6 with no repeats.

Common uses

A note on fairness

This tool is made for everyday picks and games. Do not use it for gambling, official lotteries or anything that needs an audited draw.

Frequently asked questions

Are the numbers truly random?

They come from your browser's cryptographic random generator, which is far better than the basic generator used in most simple tools. Nothing is sent to a server.

Can I get the same number twice?

Only if you choose "Repeats allowed". With "No repeats" every number in a draw is different.

Can I use negative numbers?

Yes. Set the lowest number to a negative value, for example −10 to 10.

Why did it say the range is too small?

You asked for more different numbers than the range contains. Widen the range or allow repeats.

Related calculators

Browse all calculators or all guides.