esc
Calculators

Random number generator:
any range, no repeats, secure

Set the lowest and highest number and how many you need. Tick No repeats for a draw like a raffle, or allow repeats for dice-style rolls. A new set appears with every change.

Your numbers10, 46, 39, 71, 80, 906 from 1 to 100, no repeats
Possible values
100
Sum
336
Source
crypto.getRandomValues (the browser’s secure generator)
Chance of any one value
1 in 100
  • Every change, and the Draw again button, draws a fresh set. Both ends of the range can come up.

How to use Random number generator

  1. 01Set the rangeFrom and to, both included.
  2. 02Choose how manyAnd whether repeats are allowed.
  3. 03DrawPress Draw again for a new set.
File character arranging marked pages

Fair numbers from your browser.

Numbers come from crypto.getRandomValues, the secure source browsers use for encryption keys, and rejection sampling makes every value in the range exactly equally likely. With no repeats, each number can be drawn once, like pulling tickets from a hat. The example on this page was drawn when the page was built; your own numbers are drawn on your device when it opens.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

How do I pick 6 random numbers from 1 to 49 for a lottery?

Set From 1, To 49, How many 6 and tick No repeats. Every combination is equally likely; no pick has better odds than another.

Is this truly random?

It uses a cryptographically secure pseudo-random generator seeded by your device, which is unpredictable for any practical purpose, including raffles and classroom draws.

Can I get random decimals?

Yes. Set Decimal places to 2, for example, and the numbers will look like 0.37 or 41.08 within your range.

Is what I type sent anywhere?

No. The calculation runs in your browser and nothing you type leaves your device.