Skip to content

Random Number Generator

Pick one random number or a whole list, with or without repeats.

How the random number generator calculator works

Set a lower and upper limit (both included) and how many numbers you want, then press Generate. Integers are whole numbers; choose Decimal and a number of decimal places for values like 3.72.

Turn off Allow duplicates to draw like names from a hat: each value can only come up once, which is handy for lottery picks, raffles or random samples. You can sort the results in ascending or descending order.

Numbers come from your browser's cryptographic random generator (crypto.getRandomValues) with rejection sampling, so every value in the range is equally likely and there is no modulo bias.

Using and checking your result

Published by JustYourCalculator. Check the units and assumptions above, and compare a known example before relying on the output. Calculations use browser arithmetic and may round displayed values.

Share links may contain your input values. Anyone with the URL can read them; avoid sharing sensitive personal or financial information.

Frequently asked questions

They come from your device's cryptographically secure random source, the same one used for encryption keys. Each value in the range is equally likely.

Set the range (for example 1 to 69), the count (5) and turn off Allow duplicates so no number repeats. Sort ascending to read them easily.

Yes. A range of 1 to 10 can return both 1 and 10.

Yes. Every calculator is free with no sign-up. Clearly labeled ads keep it that way.

Calculations run in your browser. Share links put inputs in the URL, which can be read by anyone you send it to and is sent to the hosting server when opened. Avoid sharing sensitive numbers. Currency conversion requests public exchange rates.

Results follow the formulas and assumptions shown, with normal rounding and numerical limits. Taxes, rates and health guidance can change, so treat these as estimates and confirm important decisions with a qualified professional.