Random number generator
Generate random numbers between a minimum and a maximum, integer or decimal. Draw as many times as you like.
How the calculation works
The generator draws numbers with a uniform distribution between the min and max you set — every number in the range is equally likely. It all runs in your browser, nothing is sent to servers.
- Integer mode: the result is rounded (great for draws, dice, picking a number).
- Decimal mode: returns a number with decimals within the range.
- Click Generate again for a new draw.
What it's for
Picking winners, deciding who goes first, simulating dice, creating test data. To draw names from a list, use the name picker.
Examples
- Draw a number from 1 to 100 for a giveaway.
- 1 to 6 in integer mode: simulates a die.
Frequently asked questions
Are the numbers truly random?
They use the browser's pseudo-random generator (Math.random), great for draws and games — not for cryptographic use.
Can it avoid repeats?
This one draws a value at a time and may repeat. To draw several without repeats (like a lottery), use the name/number picker.
Is the draw fair?
Yes: the distribution is uniform, so every number in the range has exactly the same probability.
Related calculators
Name picker
Paste a list of names and draw one or more winners instantly. Great for raffles, giveaways and games.
Combinations & permutations
Calculate combinations C(n,r), arrangements P(n,r) and the factorial from n and r.
Probability
Calculate the probability of an event from the favorable cases and the total possible cases.
More Math calculators
See all →Scientific calculator
Free online scientific calculator: sine, cosine, tangent, root, power, log, ln, π and parentheses.
Percentage
Calculate percentages every way: X% of Y, increase, discount and percentage change.
Rule of three
Solve a simple rule of three (direct or inverse): enter three values and find the fourth.
Compound rule of three
Solve problems where two quantities vary at once (machines, days, output...), directly or inversely.
Area of shapes
Calculate the area of a square, rectangle, triangle, circle and trapezoid in seconds.
Pythagorean theorem
Find the hypotenuse or a leg of a right triangle (a² + b² = c²).
Logarithm
Calculate the logarithm of a number in any base, plus natural log (ln), log10 and log2.
Trigonometry (sin, cos, tan)
Calculate the sine, cosine and tangent of an angle in degrees or radians.
Updated on June 30, 2026 · by Rafael Rossi · Methodology & sources