Skip to calculator
Math

Random Number Generator

Generate random integers or decimal numbers inside a range you choose.

Free online toolWorks in your browserNo sign-up required

Random Number Generator

Enable JavaScript to use the interactive calculator; the example and formula are described below.

How to use this calculator

Generate random integers or decimal numbers inside a range you choose.

Each result is generated in your browser from the selected minimum, maximum, count and decimal precision.

What the result means

The calculator uses the values you enter and applies the method shown above. Change any input and calculate again to compare another scenario.

Random Number Generator: a practical example

Choose integers from 1 through 100 and request five results; each click can return a different set.

What the result means

The range endpoints and decimal-place choice affect which numbers can be generated.

Limits to consider

Ordinary browser randomness is not suitable for cryptographic keys, regulated lotteries, or high-stakes security uses.

Related tools: Mortgage Calculator · Loan Payment Calculator

Frequently asked questions

Are the numbers unique?

Not necessarily. This tool generates independent random values, so repeats are possible.

Can I generate decimals?

Yes. Choose the number of decimal places from the precision menu.

Transparency

Method, assumptions & corrections

See how formulas, sources and limitations are handled across ERICH Calculators.