Random Number Generator
Generate one or many random numbers in a custom range. Integers or decimals. With or without duplicates.
How to use
- 1
Pick whether you want integers (with or without duplicates) or decimals.
- 2
Set the range — min and max are both included.
- 3
Set how many numbers to generate, and how many decimal places (for decimal mode).
- 4
Click Generate. Each click produces a fresh random set.
Frequently asked questions
It uses the Web Crypto API's getRandomValues, which is cryptographically secure pseudo-random. Suitable for almost any purpose — picking raffle winners, sampling, decision-making, even basic security tokens. For high-stakes cryptography or formal lotteries, use a hardware random source.
With duplicates: each number is drawn independently, so the same value can appear more than once (like repeated dice rolls). Without duplicates: like drawing names from a hat — once a number is picked, it can't be picked again. Without-duplicates needs the range to be at least as large as the count.
Yes. Min can be negative, max can be negative. As long as max is greater than min, the calculator handles any range.
Because there's no user-set seed — every click uses a fresh random source. If you need reproducibility (same input → same output), you'll need a deterministic seeded generator, which is a separate tool.
Help us improve this calculator
What's missing or wrong? What would make this more useful for you? Every suggestion lands in our inbox.
Related tools
Source: Web Crypto API getRandomValues · Last verified 2026-06. This tool provides estimates only and is not legal, tax or financial advice. Always verify your specific situation with the relevant UAE authority or a licensed advisor before taking action.