Random Number Generator
Pick random whole numbers between any two limits — for lucky draws, raffle tickets, classroom picks, giveaways or games. Press Generate for a fresh result.
Updated
Formula
Number = min + floor(random × (max − min + 1))
Each whole number in the range is equally likely. 'No repeats' draws without replacement, like pulling tickets from a box.
Examples
Roll a die
Set minimum 1, maximum 6, how many 1.
Pick 3 winners from 250 entries
Minimum 1, maximum 250, how many 3, no repeats.
Important information
- Results are generated in your browser and never sent anywhere.
Frequently asked questions
Is it truly random?
It uses your browser's pseudo-random generator — fair for draws and games, but not intended for cryptography or security.
How do I pick winners for a giveaway?
Number the entries, set the range to match, choose how many winners and 'No — all different'.
Can I include negative numbers?
Yes, any whole-number range works.
Related calculators
Average Calculator
Math & Statistics
Mean, median, mode and range of a list.
Open calculatorScientific Calculator
Math & Statistics
Trig, logs, powers, roots and more.
Open calculatorStandard Deviation Calculator
Math & Statistics
Sample or population SD and variance.
Open calculatorPercentage Calculator
Finance
Percent of a number, % change, add or remove %.
Open calculatorDate Difference Calculator
Converters & Everyday
Days, weeks and weekdays between two dates.
Open calculatorRoman Numeral Converter
Math & Statistics
Numbers to Roman numerals and back.
Open calculator