🧮 CalculatorsFreeNo sign-upWorks offline once loaded
Random Number Generator
Whole numbers or decimals in any range, with an option to avoid repeats and to generate a batch.
Runs entirely in your browser. Nothing is uploaded, stored or sent anywhere.
The formula behind it
Uses the browser's cryptographic random source, then scales to your range. No bias correction is needed for integer ranges with rejection sampling.
The working is shown so you can check it. If a result looks wrong, this is the first place to look.
How to use it
Open the Random Number Generator above. It is ready to use — nothing to install.
Enter minimum, maximum, how many, decimals.
Press Calculate.
Copy the result with one click, or download it where the tool produces a file.
Change any value and the result updates immediately — there is no limit on how many times you run it.
About the Random Number Generator
Whole numbers or decimals in any range, with an option to avoid repeats and to generate a batch.
This is one of 107 free tools on RandomGen Tools. It sits in the calculators section, alongside percentage calculator. Everything runs in your browser, so there is nothing to install and no limit on how often you use it.
Questions people ask
It uses crypto.getRandomValues, which is unpredictable enough for games, sampling and drawings. It is not suitable for cryptographic key material.
Yes. Switch No repeats to Yes and the generator removes duplicates, refusing to generate more values than the range allows.
With repeats disabled, asking for 10 unique numbers from 1 to 5 returns an error rather than silently shortening the list.