Skip to content
Calciyums

Random Number Generator

Pick one or several random numbers in any range, with or without repeats.

Random

Input

Calculated in your browser; what you enter is never sent to a server.

Result

Enter your values and calculate; the result will show up here.

How does it work?

The Random Number Generator picks one or more random whole numbers between the minimum and maximum you enter (both inclusive). Numbers come from your browser's cryptographically secure random number generator, which is less predictable than a simple Math.random-based generator. Checking 'No repeats' makes the tool pick using a shuffling method that uses every number in the range at most once — in that case, the count you ask for can't exceed how many different numbers the range actually contains. Example: leave the minimum at 1, the maximum at 100 and the count at 1, and the tool returns a single random whole number between 1 and 100 (either end possible). Raise the count to 6 and check 'No repeats', and it picks 6 different numbers from 1-100 — like drawing numbers for a lottery. Use this tool to draw numbers for a raffle or lottery, decide who goes first in a group, generate test data, or simulate a simple game of chance like a dice roll.

Similar Tools

Toolbox Get your Toolbox ready.

Star the tools you use most and, with an account, they follow you to every device.

Create account

Frequently asked questions

Are the numbers truly random?

The browser's cryptographically secure random number generator is used, so results are unpredictable.

Are both ends of the range included?

Yes. Between 1 and 6, both 1 and 6 can come up.

How many numbers can I pick with 'No repeats' on?

No more than how many different numbers the range contains; for example, with a range of 1-10 you can pick at most 10 numbers without repeats — asking for an 11th shows a warning.

Can the minimum be greater than the maximum?

No, the tool shows an error if the maximum is less than the minimum; the minimum can't be greater than the maximum, or there's no valid range.

Can I pick negative numbers?

Yes, the minimum and maximum can be any whole number between -1,000,000,000 and 1,000,000,000, so negative ranges are supported too.