Random Number Generator

Generate a random number within any range you choose, with optional decimal places, for raffles, sampling, games, or anywhere you need a quick random pick.

About this generator

This generator draws a random number from any minimum and maximum you set, as a whole number or with decimal places, one at a time or up to 100 at once.

Every result here is drawn using crypto.getRandomValues() -- the Web Crypto API's cryptographically secure randomness -- instead of Math.random(), so it's genuinely unpredictable, not just statistically random. Learn more.

What people use it for

It's used for raffles and giveaway drawings, statistical sampling, picking a random participant or prize winner, dice-free tabletop mechanics, or any time a decision needs to be made fairly without bias toward any particular outcome.

How it works

Generate draws a value from your chosen range using the site's cryptographically secure randomness, guaranteed not to repeat whatever result is currently showing in single-result mode. Whole-number mode uses rejection sampling so every integer in the range is equally likely; decimal mode draws a real number and rounds to your chosen precision.

Common questions

Can I set a custom range instead of just 1-100?

Yes -- open the range settings to set any minimum and maximum you like.

Can I generate decimals, not just whole numbers?

Yes -- toggle decimals on and choose how many decimal places you want in the range settings.

Will it show me the same number twice in a row?

Not in single-result mode -- each new roll is guaranteed to differ from the one currently on screen.

Is this suitable for a raffle or giveaway drawing?

Yes -- draws use cryptographically secure randomness with rejection sampling to avoid bias, the same standard used for the site's password generator.

Related Generators

Letter · Word · Emoji · Color · Date · Time

All Everyday generators

Browse all generators