Math / Browser calculator

Random Number Generator

Random Number Generator works from the inputs you provide and returns random numbers. Use the calculation panel to explore a scenario, then check the formula and limitations before applying the result.

Your inputs

Minimum: -1000000000 · Maximum: 1000000000 · Whole numbers
Minimum: -1000000000 · Maximum: 1000000000 · Whole numbers
Minimum: 1 · Maximum: 100 · Whole numbers

Your results

Enter your values and calculate to see the result.

Formula and calculation method

Generate uniform integers from an inclusive range using cryptographic random bytes with rejection sampling.

Numbers may repeat. Results are random rather than a predictive or gambling aid.

How to use random number generator

  1. Set Minimum integer. The example below uses 1.
  2. Set Maximum integer. The example below uses 100.
  3. Set How many numbers. The example below uses 5.
  4. Select Calculate to update the result. Reset restores the illustrated inputs. Copy, print or download your own result if you need a record.

Worked example

This tool produces a fresh random result on each calculation. With the example settings below, every generated value follows the selected range or alphabet. No fixed example result is presented as your actual output.

Minimum integer
1
Maximum integer
100
How many numbers
5

Factors affecting your result

Numbers may repeat. Results are random rather than a predictive or gambling aid.

Changing minimum integer changes the scenario being evaluated. Adjust one input at a time when comparing results, keep a copy of the assumptions, and compare values using the same unit and period. A precise arithmetic result does not make an uncertain assumption precise.

Frequently asked questions

How does the random number generator work?

Generate uniform integers from an inclusive range using cryptographic random bytes with rejection sampling.

What inputs does Random Number Generator need?

Enter minimum integer, maximum integer, how many numbers. Choose values that correspond to the same situation and measurement convention.

How should I interpret the random number generator result?

Numbers may repeat. Results are random rather than a predictive or gambling aid.

Are my random number generator inputs uploaded?

No. The calculation runs in this browser. Favorites, recent tool names, theme and formatting preferences may be saved locally, but calculation inputs are not sent to a calculation server or stored by this website. Shared links do not include entered values.

Maintained by Calculators.buzz Editorial Team. Implementation date: . No professional credentials or clinical review are claimed. Read our methodology policy.