Math & Algebra

Random Number Generator

Inclusive random integers.

Educational estimates only. Not medical, legal, tax, or financial advice.

Guide: Random Number Generator

What it does

Produces pseudo-random integers in a closed interval.

How to use it

Set min, max, and count, then generate.

Formula

Uniform integers via floor of scaled random variate.

Example

Min 1, max 6 simulates a fair die roll.

FAQs

Is this cryptographically secure?

No. Use crypto APIs for security-sensitive randomness.

Duplicates when drawing many?

Unless the tool offers “sample without replacement,” duplicates can occur.

Bias?

Poor scaling can bias edge values; quality depends on implementation.