Free online calculator

Random Number Generator

Generate an integer in a chosen range.

About the Random Number Generator

Generate an integer in a chosen range. This free SolveCalci tool gives you a quick estimate and explains the calculation, so you can check the result without working through every step by hand. Enter the values requested above and compare the result with the formula and example below. The calculator validates its inputs before calculating; for decisions governed by a specific school, employer, lender or local rule, verify the assumptions that apply to you. Use this page to understand the method, check the units, and compare scenarios by changing one input at a time. It keeps the calculator, formula, and worked example together, making it easier to trace how the result was reached. The example is provided to explain the method; use values and rules that match your own situation. When two institutions or providers define a term differently, follow the definition that applies to your case and keep that assumption consistent throughout the calculation.

How it works and formula

Formula: Uniform inclusive integer

  1. Gather the values required by the calculator and enter them in the fields.
  2. Apply the formula shown above, following the units and assumptions that apply to you.
  3. Compare the result with this worked example: Choose minimum and maximum.

Quick reference

ReferenceDetails
Calculation formulaUniform inclusive integer
Worked exampleChoose minimum and maximum.
What it calculatesGenerate an integer in a chosen range.

Practical guidance

  • Use consistent units and enter values in the fields described by the calculator.
  • Check the displayed formula and assumptions before relying on an estimate.
  • Confirm current institutional, tax, lending or health rules with the relevant authority or professional.
  • Change one input at a time when comparing scenarios so you can see how it affects the result.
Advertisement

Frequently asked questions

What does the Random Number Generator do?

Generate an integer in a chosen range.

Which formula does the Random Number Generator use?

The calculator uses this formula: Uniform inclusive integer

How do I use the Random Number Generator?

Enter the values requested by the calculator and select Calculate. For example, Choose minimum and maximum.

Can I use this result as an official figure?

Treat the result as an estimate. Confirm the applicable rules with your school, employer, lender, government agency, or qualified professional before making an important decision.

Advertisement

You may also need

Scientific Calculator →

Fraction Calculator →

Percentage Calculator →

Triangle Calculator →

Advertisement