Find your calculator

Random Number Generator

Generate a random whole number within an inclusive range for classroom activities, games, or everyday decisions.

Your inputs

Adjust the example values, then calculate.

Your result

Review your calculated values below.

Ready when you are.

Choose Calculate to see your result.

How to use this calculator

  1. Enter your values in the labeled fields, keeping the displayed units.
  2. Choose Calculate or press Enter in a single-line field.
  3. Review the result and the assumptions below before using it.

Formula and method

An unbiased integer is selected from every whole number between the minimum and maximum, inclusive.

Worked example

A range of 1 to 6 can return any of the six whole numbers, like a six-sided die.

What the result assumes

Uses your browser’s cryptographic random source with rejection sampling. Results are not saved or independently auditable.

Common question

Will a copied link reproduce the same random result?

No. It preserves only the range. Calculating again draws a new random number.