OverCalculator
  1. Home
  2. Math & Scientific
  3. Random Number Generator
Math & Scientific

Random Number Generator

Generate random numbers within your specified range. Perfect for games, statistics, decision making, and more.

Random numbers

Generate distinct whole numbers (integers only).

Random Number Generator

Generate one or more random numbers within a chosen range. The form lets you set Minimum, Maximum, How many, Decimal places, and an optional No duplicates switch for distinct whole numbers.

How to use this calculator

  1. Enter the lower and upper range values.
  2. Choose how many results to generate, up to 1000.
  3. Set decimal places from 0 through 10.
  4. Turn on No duplicates when you need distinct integers.
  5. Use Generate for a new draw or Copy to copy the current results.

The output also summarizes count, smallest value, largest value, sum, and average when multiple numbers are shown. For deeper analysis of generated samples, use the statistics calculator.

How it works

For regular draws, the calculator selects values across the range and rounds them to the requested decimal places. In No duplicates mode, it builds the available whole-number pool, shuffles it, and returns as many distinct integers as possible.

Example

To pick 5 raffle winners from tickets 1 through 100, enter minimum 1, maximum 100, count 5, decimal places 0, and turn on No duplicates. To simulate 20 six-sided die rolls, use 1 and 6, count 20, decimals 0, and allow duplicates.

Common uses and cautions

Random draws are useful for classroom examples, games, sampling, and quick decisions. If the numbers represent a target or progress amount, the percent to goal calculator may help summarize results. Do not rerun repeatedly until a preferred number appears, and do not use this tool for passwords.

Frequently asked questions

How do I generate a random number between two values?
Enter the minimum and maximum values, choose how many numbers you want, then select Generate. The range is automatically ordered if the inputs are reversed.
Can this generator make decimal numbers?
Yes. Set Decimal places to the number of digits you want after the decimal point, up to 10 places.
How do I generate unique random numbers?
Turn on No duplicates. Unique mode uses whole numbers only and returns distinct integers within the selected range.
Can I use this for passwords or cryptography?
No. This is a general-purpose random number tool for everyday use, not a cryptographic generator for secrets or security tokens.

Related calculators

Random Number Generator updated at