Random Number Generator

Generate random numbers with custom range. Support for decimals, unique numbers, and batch generation. Free online random number generator.

Click generate to create random numbers

🔒 Fast, free math calculators that run in your browser. No uploads, 100% private.

Last updated: January 2026

Related Calculators

Frequently Asked Questions

Are the random numbers truly random?
This generator uses cryptographically secure pseudo-random number generation (CSPRNG) via the Web Crypto API when available. While technically pseudo-random (computed from a seed), these numbers are statistically indistinguishable from true randomness and suitable for games, simulations, sampling, and most applications except high-security cryptography.
How do I generate random numbers for a lottery or raffle?
Set your minimum to 1, maximum to the highest ticket/ball number, enable 'Unique numbers only' to prevent duplicates, and set the count to match how many numbers are drawn. For example, for a 6/49 lottery: min=1, max=49, count=6, unique=yes. Each generation gives you a fresh set of numbers.
Can I generate random decimal numbers?
Yes! Enable decimal places and specify how many digits after the decimal point you need. For example, with 2 decimal places, you'll get numbers like 42.17 or 7.03. This is useful for statistical sampling, Monte Carlo simulations, or generating random prices and measurements.
How do I pick a random winner from a group?
Assign each participant a number (1 through total participants). Set minimum to 1, maximum to your total count, and generate 1 number. The result is your winner. For multiple winners, increase the count and enable 'Unique' to ensure no one wins twice.
Why do I sometimes get the same number twice?
By default, each number is generated independently, so duplicates are possible—just like rolling dice. If you need unique numbers (no duplicates), enable the 'Unique numbers only' option. Note: unique generation only works when your range is larger than the count of numbers requested.