Random number generator

Pick a whole number between any two numbers, with every result kept in a list.

Clearing or changing these settings starts a new set of numbers.

Set a range, then generate a number.

Tell us what happened and what you expected. Please leave out personal information and private tool inputs.

These details describe your setup. They don’t include your name, email, or anything entered into the tool.

See the details included

Voting-limit status from this browser is included. Reports are stored by Netlify so I can investigate.

Pick a number

Enter where the range starts and ends, then choose Generate number. Both ends count. Negative numbers work, up to one billion in either direction.

Fair across the whole range

The browser’s cryptographic random-number API supplies each draw. Draws that would favor some numbers over others are thrown out before they map to your range, so each eligible number has the same chance. With repeats allowed, every number in the range is eligible; without repeats, only the remaining numbers are.

With repeats allowed, a streak does not change the odds. After three 7s in a row, 7 is exactly as likely as any other number on the next draw.

No repeats

Turn on No repeats to draw like pulling tickets from a hat. A number that has come up is set aside, and the summary counts how many are left. Changing the range, changing the repeat setting, or choosing Clear puts every number back.

Keep a list

Results so far keeps every draw with its range, newest first. Copy history copies the list. The page keeps the latest 1,000 results while it stays open.

Need dice or a quick yes or no instead? Use Dice roller or Coin flip.

FAQs

Are the numbers I enter included?

Yes. From 1 to 10 can give 1, 10, or anything in between, so there are 10 possible results.

Can the same number come up twice?

Yes, unless you turn on No repeats. Each draw is separate, so a number that just came up is as likely as any other next time.

How do I draw raffle tickets?

Enter the first and last ticket numbers and turn on No repeats. Each ticket can win once until you clear the results or change the range or repeat setting.

Have an idea for a tool I should add? Send it in. I read every suggestion and choose which ones to build next.

For example: "Count the weekdays until a date, without holidays."

Please don't include your name, email, or anything personal. I don't need it. Voting-limit status from this browser is included.