FREE TOOL · EVERYDAY

Random Number Generator

Pick a truly random number — or up to 1,000 of them — between any minimum and maximum. Raffles, dice rolls, classroom picks, giveaways, and settling arguments: set your range and draw.

102

Draw your random numbers

Every integer in your range has an equal chance on each draw. Choose “no duplicates” for raffle-style draws where each number can only win once.

The smallest number that can be drawn. Whole numbers only.

The largest number that can be drawn — it can come up.

Draw 1 for a single pick, up to 1,000 for lists and simulations.

“No duplicates” draws each number at most once — like pulling names from a hat.

Draw order keeps the suspense; sorting helps when you need the set, not the sequence.

Try:
Your random number—Set your range and draw
First draw—
—draw spread
Last draw—

Set your range above.

How it works: each draw computes floor(random() × (max − min + 1)) + min, so every integer in the range is equally likely. “No duplicates” uses a partial Fisher–Yates shuffle — the digital equivalent of pulling names from a hat without putting them back. Everything runs in your browser; the numbers are never sent anywhere.

How the random draw works

A fair draw means every number in the range has exactly the same chance on every pick: 1-in-(max−min+1). With duplicates allowed, each draw is independent — rolling a 7 twice in a row is just as likely as any other pair. With duplicates off, each drawn number is removed from the pool, so the odds of each remaining number rise as the draw goes on, exactly like dealing cards.

Output · formula · meaning

OutputFormulaWhat it means
Drawn numberfloor(random × range) + minOne fair pick — every integer in [min, max] equally likely.
No-duplicate drawspartial Fisher–Yates shuffleEach number appears at most once, like names from a hat.
Draw spreadmax(draws) − min(draws)How wide your set of draws landed — small spread, tight cluster.

Worked example: a 50-ticket raffle

A classroom raffle has 50 tickets, numbered 1–50. Set minimum 1, maximum 50, draw 1 number, no duplicates. Each ticket has exactly a 1-in-50 (2%) chance — the teacher's ticket 7 is no luckier than ticket 50. Drawing a second winner? Run it again with the same settings: each remaining ticket now has a 1-in-49 chance. For a lottery-style 6/49, set minimum 1, maximum 49, count 6, no duplicates, smallest-first — you get a sorted set of six unique numbers.

Who uses this

  • Teachers: pick a random student, order presentations, or build fair groups.
  • Giveaway hosts: draw raffle and contest winners transparently — share the link with your settings baked in.
  • Game nights: d20 rolls, custom dice (d7? d100?), and random encounters without the dice bag.
  • Deciders: settle “who goes first” and other small arguments with math instead of debate.

Accuracy & limitations

Draws use your browser's built-in random generator, which is statistically uniform but not cryptographically secure — fine for games, raffles, classrooms, and decisions, but never for passwords, tokens, or anything security-related. “Random” also means streaks happen: three 1s in a row from 1–10 is unlikely, not broken.

Drawing names instead of numbers? Pair this with a list, or use the countdown calculator to time your giveaway. For classroom math, the final grade calculator is the usual next stop.

Cite this calculatorBright Side Kit. “Random Number Generator.” brightoolbox.com, 2026.Bright Side Kit. "Random Number Generator." https://brightoolbox.com/random-number-generator/ Accessed October 21, 2026.
Embed this calculator

Paste this into any web page to embed the live calculator. The “Bright Side Kit” link below it must stay intact.

Frequently asked questions

Are the numbers truly random?

They are uniformly random: every integer between your min and max has exactly the same probability on each draw. They come from your browser's built-in random generator — statistically sound for games, raffles, and decisions, but not certified for cryptography or gambling.

How do I pick a raffle winner?

Number your entries 1 to N, set the minimum to 1 and the maximum to N, draw 1 number with “no duplicates”. For multiple winners, raise the count — each number can only win once.

Why did I get the same number twice?

Because “allow duplicates” treats every draw as independent — like rolling a die, the last roll never influences the next. Switch to “no duplicates” if repeats should be impossible.

How many numbers can I draw at once?

Up to 1,000 per draw. With “no duplicates”, the count cannot exceed how many integers exist in your range (e.g. at most 50 unique numbers from 1–50).

Can I get the same results again later?

Use Copy link to this result — the link reopens the page with your settings filled in. The actual drawn numbers are not stored (nothing leaves your browser), so re-draw to get a fresh set.

Is this fair for a giveaway with prizes?

For casual giveaways, yes — the draw is uniform and transparent. For regulated contests or anything with significant prize value, use a certified third-party drawing service and keep records; this tool keeps no audit trail by design.

Can I use this for passwords or security codes?

No. Browser random generators are predictable enough that they must never be used for passwords, tokens, or security codes. Use your password manager's generator for those.