ShadeKit.ioLoading…

Random Number Generator

Generate random integers or decimals on a chosen precision grid between your bounds, with quantity, uniqueness and sorting options.

Calculator arithmetic runs locally in your browser and does not require an API.

The interactive calculator loads here when JavaScript is enabled.

How to use Random Number Generator

Set minimum, maximum and quantity. In decimal mode choose zero to six decimal places. No-duplicate mode needs enough available values; sort ascending to inspect the results more easily.

Formula and method

Browser Web Crypto supplies random bits. Rejection sampling selects unbiased indices, then maps them to integer values or multiples of 10^−precision inside the bounds. Unique mode samples without replacement.

Understanding the results

Integer endpoints are inclusive. Decimal endpoints are included only when on the selected grid; this is not continuous sampling. Quantity is capped at 1,000. No certified randomness, regulated-draw or security-critical suitability is claimed.

Worked example

With decimal bounds 0.27 to 0.29, two decimal places, quantity 3, no duplicates and ascending sorting, the result must be 0.27, 0.28, 0.29: these are all three available grid values.

For password generation, use the separate Password Generator with its own character rules.

Frequently asked questions

Can I request more unique values than fit?

No. For example, the inclusive integer range 1 to 3 contains only three unique values.

Why is a decimal endpoint sometimes unavailable?

Only multiples of the selected precision step inside the bounds can be generated.

Should I use these numbers as passwords or lottery draws?

This utility does not claim suitability for passwords, security tokens, lotteries or regulated draws. Use the separate password workflow for its own character rules.