QuickToolbox

Random Number Generator

Generate random whole numbers or decimals in any range, with or without repeats, for sampling, games or lab randomising.

These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.

How it works

The formula

Uniform random choice from [min, max] using your browser's crypto random source

Frequently asked questions

Is it truly random?

It uses the browser's cryptographic generator, which is suitable for sampling and games, but do not use it as a replacement for hardware keys.

Can I get unique numbers?

Yes. Set repeats to No and the numbers drawn will all differ, as long as the range is big enough.

Is what I enter sent anywhere?

No. The calculation is done in your browser, so your numbers are not sent to a server or saved.

Related tools