Random Number Picker

Pick a random whole number between any two values you choose — inclusive of both ends. A quick, fair random number from your browser.

Utility Tools Free No upload Instant

Loading Random Number Picker…

Your browser is preparing the tool. It runs 100% locally.

Quick Answer

Set a From and a To value and the tool picks a random whole number between them, including both ends — so a range of 1 to 100 can return 1, 100 or anything in between, each equally likely. It is uniform, with no number favoured. The pick uses the browser's standard random generator, which is fine for raffles, games and everyday choices but not for lotteries or security. It runs entirely in your browser.

What the Random Number Picker Does

Enter the lowest and highest numbers you want and press the button to get a random whole number in that range, both ends included. It is the quick way to pick a winner, choose a random item by number, or get an unbiased number on demand.

Every number in the range is equally likely. A range of 1 to 6 behaves like a die; 1 to 100 like a hundred-sided pick; and you can set any range you like, including ones that start above one or go into the negatives.

How It Works

The tool measures the size of the range — the count of whole numbers from the lowest to the highest, inclusive — picks one of them at random with each equally likely, and adds it to your starting number. The standard floor-of-random technique keeps the distribution uniform.

Because both ends are included, a range from 1 to 100 has a hundred possible results, not ninety-nine. Each pick is independent of the last, so the same number can come up twice in a row.

Generation algorithm

  1. Read the range. Take the From and To values you entered.
  2. Count the options. Work out how many whole numbers lie between them, including both ends.
  3. Pick one uniformly. Choose one of those numbers at random, each equally likely.
  4. Show the result. Display the picked number.

The pick

pick = from + floor(random × (to − from + 1))
Worked example
from 1, to 100 → any whole number 1 to 100, inclusive

Both ends are included; every number in the range is equally likely. Each pick is independent.

Technical Details

InputsFrom and To values
Rangeinclusive of both ends
Outputone random whole number
Distributionuniform (each number equally likely)
RandomnessMath.random (pseudo-random)
Where it runsIn your browser — nothing uploaded

Standards & references

  • Inclusive, uniform range — both the From and To values can come up, and every number between them is equally likely, using the standard floor-of-random technique.
  • Pseudo-random source — picks come from the browser's Math.random, which is fast and fine for raffles, games and casual choices.
  • Not for lotteries or security — Math.random is not cryptographically secure, so do not use it for real prize draws, lotteries or anything that must be unpredictable and verifiable.

Accuracy & Limitations

Both ends are included. A range of 1 to 100 can return 1 or 100, and there are a hundred possible results — a point worth checking when you are mapping numbers to a list.

Picks are whole numbers only and uniform — every value in the range is equally likely, with no bias. It does not produce fractions or decimals.

Each pick is independent. The same number can appear twice in a row, and a previous pick does not make any number more or less likely next time.

It uses the browser's pseudo-random generator. That is fine for raffles, games and everyday choices, but it is not cryptographically secure — do not use it for real-money lotteries or anything where the result must be tamper-proof.

Set From below To. If the lowest value is larger than the highest, the range makes no sense and the result will be wrong; put the smaller number in the From field.

Real-World Use Cases

Raffles and giveaways

Pick a winning number from a numbered list of entries.

Games

Generate a random number in any range a game needs.

Sampling

Choose a random item by its position in a list.

Decisions

Pick a number when you need an unbiased choice.

When to use it — and when not to

Good for

  • A random whole number in any range
  • Raffles and casual giveaways
  • Picking a list item by number
  • Games and everyday random choices

Not the best choice for

  • Real-money lotteries or prize draws
  • Security or cryptographic randomness
  • Fractions or decimal numbers
  • Picks without repeats (it can repeat)

Picking from names rather than numbers? Use the random name picker. Rolling dice with a total? Use the dice roller. Need unpredictable randomness for security? Use a cryptographic generator.

Frequently Asked Questions

Are both the From and To numbers included?
Yes. The range is inclusive, so a range of 1 to 100 can return 1, 100 or anything between — a hundred possible results in total.
Is every number equally likely?
Yes. The pick is uniform, so no number in the range is favoured. It uses the standard floor-of-random technique that avoids bias.
Can the same number come up twice?
Yes. Each pick is independent, so a number can repeat. The tool does not remember or exclude previous picks.
Can I use it for a lottery or prize draw?
Not for real money. It uses the browser's pseudo-random generator, which is fine for casual raffles but is not cryptographically secure, so it should not decide anything where money or fairness must be provable.
Can I use negative numbers or a range that does not start at one?
Yes. Set any From and To values, including negatives or a range like 50 to 60. Just keep the smaller number in the From field.
Does it give decimals?
No. It returns whole numbers only. For a decimal you would need a different tool.
What if From is bigger than To?
The range is invalid and the result will not make sense. Put the smaller value in From and the larger in To.
How is it different from a dice roller?
A dice roller rolls one or more fixed-size dice and totals them; this picks a single number in any range you set, with both ends included.
Is the randomness good enough?
For raffles, games and everyday choices, yes — modern browsers produce statistically sound pseudo-random numbers. It is only unsuitable where security or real money is involved.
Can it pick several numbers at once?
It picks one at a time. Press the button again for another, keeping in mind a number can repeat.
Is my activity uploaded?
No. The pick happens entirely in your browser; nothing is sent anywhere.
How do I avoid repeats?
This tool can repeat. If you need unique picks — like a draw without replacement — cross off used numbers yourself or use a tool that excludes past results.

References

Picks a uniform whole number across an inclusive range using the browser's Math.random and the standard floor-of-random technique; it is explicit that both ends are included, that picks can repeat, and that the pseudo-random source is fine for raffles and games but not for lotteries or security.

PopularHot

QR Code Generator

QR Code Generator online: fast, lightweight and always one click away.

UtilityOpen Tool
Popular

Stopwatch and Timer

Use Stopwatch and Timer anytime, free and private, with no app to install.

UtilityOpen Tool
Popular

Online Notepad

Use Online Notepad anytime, free and private, with no app to install.

UtilityOpen Tool
Popular

Unit Converter

Unit Converter — a handy, instant browser utility you will bookmark.

UtilityOpen Tool
Trending

Barcode Generator

Barcode Generator online: fast, lightweight and always one click away.

UtilityOpen Tool
Trending

Random Name Picker

Use Random Name Picker anytime, free and private, with no app to install.

UtilityOpen Tool

Ready to try the Random Number Picker?

It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.