Random Number Generator
Generate random integers or decimals within a range. Control quantity, precision, and whether repeats are allowed. Copy results with one click.
How to Use the Random Number Generator
- Configure the settings or parameters for your needs.
- Click the action button to generate or compute the result.
- Review the output and copy it if needed.
- Repeat or adjust settings for different results.
Référence rapide
| De | Vers |
|---|---|
| 1 in 2 | 50% |
| 1 in 6 | 16.7% |
| 1 in 10 | 10% |
| 1 in 100 | 1% |
| 1 in 1,000 | 0.1% |
| 1 in 1,000,000 | 0.0001% |
Cas d'utilisation
- •Making fair random decisions or selections.
- •Generating secure passwords or credentials for online accounts.
- •Creating randomized content for games, quizzes, or activities.
- •Counting words or characters for writing and content creation.
Formule
Random integers in [min, max]: Math.floor(Math.random() × (max − min + 1)) + min. For decimals, the value is scaled to the range and rounded to the desired precision.
Questions fréquemment posées
Are the generated numbers truly random?
Browsers use a pseudo-random number generator (PRNG). The results are statistically uniform and suitable for games, sampling, and simulations, but not for cryptographic purposes.
What does 'no repeats' mean?
When enabled, each generated number will be unique — no value appears more than once. The count must not exceed the number of possible values in the range.
Can I generate decimal numbers?
Yes. Uncheck 'Integers only' and set the desired number of decimal places. The generator will produce numbers with that precision within your specified range.