Skip to content

Random number generator

Generate random numbers between a minimum and a maximum, integer or decimal. Draw as many times as you like.

Random number
1

How the calculation works

The generator draws numbers with a uniform distribution between the min and max you set — every number in the range is equally likely. It all runs in your browser, nothing is sent to servers.

  • Integer mode: the result is rounded (great for draws, dice, picking a number).
  • Decimal mode: returns a number with decimals within the range.
  • Click Generate again for a new draw.

What it's for

Picking winners, deciding who goes first, simulating dice, creating test data. To draw names from a list, use the name picker.

Examples

  • Draw a number from 1 to 100 for a giveaway.
  • 1 to 6 in integer mode: simulates a die.

Frequently asked questions

Are the numbers truly random?

They use the browser's pseudo-random generator (Math.random), great for draws and games — not for cryptographic use.

Can it avoid repeats?

This one draws a value at a time and may repeat. To draw several without repeats (like a lottery), use the name/number picker.

Is the draw fair?

Yes: the distribution is uniform, so every number in the range has exactly the same probability.

Related calculators

More Math calculators

See all →

Updated on June 30, 2026 · by Rafael Rossi · Methodology & sources