Free random generator

Random Number Generator

Pick one number or generate a list of random numbers between your chosen minimum and maximum.

  • Custom range
  • Multiple numbers
  • Unique option
  • Copy results

Set range

Generate numbers

For unique results, the quantity cannot be larger than the number of values in the range.

Random result

Generated number

1 number from 1 to 100 42
All results
42
Range size
100
Unique mode
Off
Status
Ready

How to generate a random number

Enter the smallest and largest allowed values, then press generate. The tool picks a whole number inside that range, including both endpoints. If you need several picks, use the quantity field and decide whether duplicates should be allowed before generating the list.

Inclusive endpoints are important. A range of 1 to 10 can return 1, 10, or any whole number between them. A range of 0 to 100 can return 0 and 100. If you are matching a worksheet, raffle list, or game table, check whether the source expects the highest value to be included before using the result.

How unique random numbers work

When unique mode is on, each generated number appears only once. If the range has fewer values than the requested quantity, the calculator limits the result to the available range.

Unique mode is like drawing numbered slips from a container without putting them back. Repeated mode is like rolling dice: the same number can appear again because each draw is independent. Neither mode is always better; the right choice depends on whether repeats make sense for your task.

What can random numbers be used for?

Random numbers are useful for games, classroom activities, giveaways, practice problems, draft orders, decision making, and simple simulations.

Examples include choosing a numbered seat, assigning presentation order, picking practice questions, creating quick sample data, deciding which chore goes first, rolling a virtual die, or selecting a random row from a small spreadsheet. For classroom use, the copy button makes it easy to paste a generated list into notes or a slide.

Unique numbers vs repeated numbers

Use unique numbers when every selected value should appear only once, such as assigning raffle positions, practice problems, or turn order. Allow repeats when each draw should be independent, such as rolling a virtual die several times or creating sample data where the same value can naturally appear again.

Need Mode Reason
Assign 10 students to order numbers Unique No two students should get the same turn.
Roll a six-sided die 20 times Repeats allowed A real die can land on the same value repeatedly.
Pick 5 raffle ticket numbers Usually unique A ticket should not be selected twice in the same draw.

Common random number mistakes

Check the minimum and maximum before using the result. Many mistakes come from accidentally excluding the top number, asking for more unique numbers than the range allows, or using a casual random tool for a situation that requires audited or cryptographic randomness. For passwords, security tokens, official drawings, or compliance-sensitive work, use a purpose-built system instead of a simple browser helper.

This generator is meant for everyday randomness, not secure randomness. It is appropriate for games, teaching examples, and casual selection, but not for encryption keys, account recovery codes, regulated contests, or anything where a record of the drawing process must be preserved.

Random number FAQ

Can the minimum be negative? Yes. You can use negative and positive whole numbers as long as the minimum is lower than the maximum.

Why did I get the same number twice? Repeats are normal when unique mode is off. Turn unique mode on if every number should appear only once.