Random Number Generator - Integer, Decimal & RNG | Kalkmi
Kalkmi Clear answers, useful calculators
en

Random Number Generator — Integers, Decimals & Unique Picks

Generate one number or a sample with integer, decimal, unique and repeatable-seed modes, useful presets, CSV export, run history and a live distribution chart.

Random number workspace

Generate one value or a reusable sample. Results change only when you press Generate.

Random source
Generated sample

Sample distribution

Run history

RunSourceValues
Browser crypto is suitable for general random selection, but this page is not a key, password, gambling, lottery, or security system.

Random integer generator

Whole-number mode includes both endpoints. Browser-crypto integers use rejection sampling so a range that does not divide the 32-bit source evenly does not give extra probability to low values.

Unique random numbers

Select No duplicates to sample without replacement. The requested count cannot exceed the number of integers in the inclusive range.

Seeded random numbers

A text seed creates a repeatable pseudorandom sequence for examples, tests, classroom work, or fair replay. It is intentionally reproducible and is not cryptographically secure.

What browser crypto means

MDN describes crypto.getRandomValues() as cryptographically strong pseudorandom output seeded with sufficient entropy. It is not a claim of physical or quantum true randomness.

Frequently asked questions

Are minimum and maximum included?

Both are included for whole numbers. Decimal mode samples from the minimum up to the maximum and rounds to the selected precision.

Why can unique sampling fail?

You cannot request more distinct integers than exist in the selected inclusive range.

Will a seed always repeat the result?

Yes on this page when the seed and all generation settings remain the same.

Can I use this to create passwords or encryption keys?

No. Use a dedicated, audited security tool and the appropriate Web Crypto key-generation APIs.

Sources

MDN: Crypto.getRandomValuesMDN: Math.random

Was this calculator helpful?

Help improve Kalkmi Report an issue or request a useful calculator.
Report a bug Suggest a calculator
Text copied
Removal error
Restore error
Calculator published
Calculator unpublished
Feedback sent
Done
Error
Author received:++
Calculator removed