CalcLake

Random Number Generator

Generate random numbers within a custom range.

CalculatorsLast updated August 2026
66

How to use it

  1. 1Pick a dice preset to roll immediately, or set a custom minimum and maximum.
  2. 2Choose how many numbers to generate, and whether to allow decimals or avoid repeats.
  3. 3Click Generate, then copy all the results — the sum and average show automatically for a batch.

Example

Click the d20 preset for an instant tabletop game roll, or set a custom range like 1–100 with “No repeats” on to draw raffle numbers without duplicates — the sum and average appear automatically when you generate more than one.

How it works

Numbers are generated with your browser's cryptographically secure random number generator rather than Math.random(), the same source used for the password generator, with the same care taken to avoid the tiny bias a naive reduction would introduce — every number in range is exactly equally likely. With “No repeats” enabled, each number is removed from the pool once drawn so it can't come up twice; if you ask for more unique numbers than the range contains, you'll get everything available with a note explaining why.

Frequently asked questions

Related guides

Related tools