Free Random Number Generator – Pick Numbers Online

Generate random numbers within a range, with optional repeats and sorting.

Random Number Generator What is this? ↓
About the Random Number Generator

What is the Random Number Generator?

A random number generator produces numbers between a minimum and maximum that you choose, like drawing from a hat.

Why use this calculator?

Lottery picks, classroom exercises, sample selection and game rolls all benefit from a genuinely random result nobody can second-guess.

How to use it

  1. Set the minimum, maximum and how many numbers you need.
  2. Choose whole numbers or decimals.
  3. Decide about repeats and sorting.
  4. Read your numbers; each input recalculates them.

Formula

Uniform random draws within [min, max].
For password-grade randomness the browser\u2019s crypto API would be used; this is fine for casual use.
Frequently Asked Questions
Are these "true" random numbers?
They come from the browser\u2019s random generator, which is plenty for everyday use but not cryptographic-grade.
Can I pick 6 lottery numbers?
Yes — set 1–49, count 6, and choose "no repeats" and "sort" for a balanced pick.
What order of operations does this use?
It follows standard PEMDAS/BODMAS rules: parentheses, exponents, multiplication and division, then addition and subtraction.
How precise are the answers?
The calculator uses double-precision floating-point math (about 15 significant digits) and rounds the display. For exact symbolic results use dedicated algebra software.
Can I enter negative numbers or decimals?
Yes. Negative values, decimals and very large or small numbers are all supported unless a field says otherwise.
What does it mean if I get an error?
Errors usually mean an invalid input, such as division by zero or a negative value where only positives make sense. Check your entries and try again.
What is the difference between population and sample?
A population includes every member of a group; a sample is a subset. Sample statistics use n−1 in the denominator to correct for bias.
When should I use median instead of mean?
Use the median when data contains outliers or is skewed, because it is less affected by extreme values than the mean.
What does standard deviation tell me?
It measures how spread out the values are around the mean. A small standard deviation means the data clusters tightly; a large one means it is more scattered.
Is this calculator free to use?
Yes. Every calculator on this site is completely free, with no hidden fees, no subscriptions and no limits on how many times you can use it.

Related reading: Guides & How-tos

All articles →