Generate bounded random values using browser cryptographic randomness when available.
Calculate with the Random Number Generator
Enter the values below. Invalid mathematical operations are explained before a result is shown.
Random Number Generator results
Parabola graph
How to use the Random Number Generator
- Choose a calculation mode when one is available.
- Enter the required values using the examples and field notes as a guide.
- Select Calculate or press Enter.
- Review the primary result, supporting values, and working.
Worked example
Integer mode with 1–10 and quantity 3 returns three values in that inclusive range.
Assumptions
The calculator uses real-number arithmetic unless complex square or quadratic roots are explicitly shown. Decimal displays can be rounded while calculations retain normal browser numeric precision.
Limitations
- Quantity is limited to 1,000.
- Do not use results for security keys, certified gambling, or lotteries.
Frequently asked questions
Does the Random Number Generator accept decimals and negative values?
It accepts them wherever the selected operation permits. Invalid domains are identified before a result is shown.
How are decimal results rounded?
Calculations retain JavaScript numeric precision and display a readable number of significant digits. A displayed decimal may therefore be rounded.
Are entries stored?
No. The calculation runs in your browser and this page does not store the values you enter.