Random Number Generator
Whole random numbers in a range you choose, with or without repeats.
How it works
Choose the range and how many numbers you want. Each number is picked with the secure random generator built into your browser, and the tool avoids the small bias that simple methods have, so every number in the range is equally likely. Turn on "No repeats" to draw without replacement, like a lottery.
Worked example
From 1 to 6, 5 numbers: 4, 1, 6, 6, 2 (repeats are allowed). With No repeats and 5 numbers from 1 to 49, you get five different ones.
Good to know
- This is suitable for games, raffles and sampling. Do not use it for a legal lottery draw that needs an audit trail.
- For picking names, use the Random Picker.
- Click "Generate again" for a fresh set.
Common questions
- Is it truly random?
- It uses the browser's cryptographic random source, which is far better than Math.random for fairness.
- Can I pick negative numbers?
- Yes, set the From value below zero.
- How many numbers can I draw?
- Up to 1000 at a time.
More in Utilities.
Find the date that is some days, weeks, months, years or working days from a date, and see the weekday and week number.
OPEN →Age CalculatorYour exact age in years, months and days, the day you were born, your next birthday, and the age gap with another person.
OPEN →Area ConverterConvert square metres, square feet, acres, hectares and more.
OPEN →