🎰 Random Number Generator
Uses the browser's cryptographically secure random source.
Also known as: Random Picker · Lottery Numbers
Loading calculator…
How to use the Random Number Generator
- Enter your values in the fields above — the defaults show a worked example.
- The result updates instantly as you type; change any input to compare scenarios.
- Copy or share the result, or open a related calculator below.
How it's calculated
Uniform sampling with crypto.getRandomValues and rejection to avoid bias.
Frequently asked questions
Is the Random Number Generator free?
How accurate is the Random Number Generator?
Can I use the Random Number Generator on my phone or offline?
Read more about the Random Number Generator
When to use the Random Number Generator
Use the Random Number Generator for random integers or decimals in a range, with or without repeats, sorted or unsorted. It is one of 72 free math calculators, and pairs well with the Random Picker, Coin Flip & Dice, Password Generator, Percentage Calculator and Scientific Calculator.
Tips for accurate results
Check that your input uses the expected format (decimals, fractions or one value per line), keep full precision until the final step, and use the worked formula below the result to verify the answer by hand or for homework.
More Math Calculators
- 🟰 Equation Solver
- 📈 Percentage Change Calculator
- σ Standard Deviation Calculator
- ✖️ Quadratic Equation Solver
- ⬛ Area Calculator
- 💾 Binary / Hex / Octal Converter
- 🔣 Decimal ↔ Fraction Converter
- ⚖️ Ratio Calculator
- √ Square Root & Nth Root Calculator
- 📐 Trigonometry Calculator
- 🧱 GCD / GCF Calculator
- 🔗 LCM Calculator
Popular calculators
Results are estimates for information only. Calculations run privately in your browser.