Skip to content

Generators

Random Number Generator

Generate random whole numbers within an inclusive range using browser cryptographic randomness.

Use the random number generator

Result

Enter values, then select Generate.

How the random number generator works

Uses crypto.getRandomValues with rejection sampling to avoid modulo bias. Numbers may repeat. The inclusive range may contain up to 4,294,967,296 values; endpoints must be safe integers. For general selection, not regulated gambling.

How to use this tool

Enter the values in the labeled fields, select the operation where available, and calculate. Check the units and assumptions above before using the result. Reset restores the example inputs.

Is my input uploaded?

This tool processes inputs locally in your browser. It does not send the entered values to a calculation API or store them on our server.

Can I use it on a phone?

Yes. The tool works in a modern mobile browser without an account or installation.