Calculators

Random Number Generator

Generate random numbers in any range, roll dice, or flip a coin. Choose how many and whether numbers can repeat.

Random Number Generator

Press Generate for random numbers. Pick a range and how many you want.

Picking Something Truly at Random

When you need a number with no pattern to it - to pick a winner, choose a team, or run a quick game - you want every option to have an equal chance and no way to predict the next one. That is what this tool does: each press gives a fresh set, with every value in your range just as likely as any other.

Switch between three modes: random numbers in a range you set, a dice roll (4 to 20 sides), or a coin flip. For numbers you can also decide whether repeats are allowed - turn that off and every number in the set is unique, like drawing names from a hat without putting them back.

How to Use It

  1. Choose what to generate: random numbers, dice, or coin flip.
  2. For numbers, set the minimum, maximum, and how many - and whether duplicates are allowed.
  3. Press Generate. Press again for a new set.

Each set contains at most 1,000 results. Use whole-number bounds from -9,007,199,254,740,991 to 9,007,199,254,740,991, with no more than 9,007,199,254,740,991 values in the range. These limits keep the integers exact. If you request more unique numbers than the range contains, the tool returns every available value once.

What “Random” Means Here

With duplicates allowed, each value is drawn independently, so past results never change the odds of the next one - a coin that just landed heads is still 50/50 on the next flip. With duplicates disabled, each draw chooses from the values that remain. The numbers are generated in your browser when you press the button; nothing is sent anywhere.

Common Uses

  • Pick a winner or a random order for a list of people.
  • Roll dice for a board game when you have no dice handy.
  • Choose lottery-style numbers, or a random PIN-length set.
  • Flip a coin to settle a decision.

Examples

ModeSettingsPossible result
Numbers1 to 100, pick 542, 7, 88, 13, 60
Numbers (unique)1 to 10, pick 43, 9, 1, 6
Diced6, roll 24, 1 (total 5)
Coinflip 5H T H H T

Save this setup

Keep these values in this browser. Open saved setups from My tools.