Math & Education
Random Number Generator
Generate secure random integers with optional unique values.
Your inputs
Adjust the values
Numbers are generated with the browser’s cryptographic random source. Unique mode samples without replacement.
Generated numbers
Ready
About this tool
A straightforward random number generator
Generate secure random integers with optional unique values. The browser cryptographic random API and rejection sampling produce unbiased integers inside the selected inclusive range.
Cryptographic browser randomness avoids the bias of simple rounding and modulo-only methods. Inputs are processed in your browser, and changing a value updates the result immediately.
How it works
Use the Random Number Generator in three steps
- 1Enter your values
Set a minimum, maximum, quantity, and whether every result must be unique.
- 2Check the setup
Choose the units or calculation mode that matches your situation.
- 3Use the result
Generate up to 1,000 random whole numbers on demand.
Common questions
Random Number Generator FAQ
How does the Random Number Generator work?
The browser cryptographic random API and rejection sampling produce unbiased integers inside the selected inclusive range.
What information do I need?
Set a minimum, maximum, quantity, and whether every result must be unique.
How accurate is the result?
Cryptographic browser randomness avoids the bias of simple rounding and modulo-only methods.