EN
My tools

Random Number Generator

Generate random numbers in any range: integers or decimals, with or without repeats, sorted or not, uniform or normal, in several sets, with an optional seed.

0 = whole numbers. With 2, values like 3.14 are drawn, each equally likely.
Empty = secure random numbers. The same seed and settings always give the same numbers.
My tools →
Advertisement

Pick a random number for a raffle, a classroom question, a sample or a game — or a whole list of them. Set any minimum and maximum, choose whole numbers or decimals, forbid repeats, sort the result and make several sets at once. Numbers come from your browser's secure random generator with unbiased sampling, and a seed makes a list you can reproduce exactly.

How to use this tool

  1. Enter the smallest and largest value you want (both can be drawn).
  2. Choose how many numbers, and tick “No repeats” for a draw where every number is different.
  3. Optionally set decimal places, a bell-curve distribution, sorting and several sets.
  4. Press the button and copy the list in the separator you need.

Formula

x = min + k ÷ 10^d, where k is a uniform integer from 0 to (max − min)·10^d

d is the number of decimal places. The integer k is drawn with rejection sampling from 32-bit secure random words, so no value is favoured. “No repeats” uses a partial Fisher–Yates shuffle, which also works for very large ranges. Normal mode uses the Box–Muller transform.

Example

Drawing 6 different numbers from 1 to 49 gives one of C(49, 6) = 13,983,816 equally likely sets, for example 4, 11, 23, 30, 38, 45 (sorted). With 2 decimal places from 0 to 1 there are 101 possible values: 0.00, 0.01 … 1.00.

Frequently asked questions

Are the numbers truly random?

They come from crypto.getRandomValues, a cryptographically secure generator seeded by your device. That is the right choice for raffles and draws. With a seed, the numbers are pseudo-random and repeatable instead.

Why might a simple “random % range” be unfair?

If the range does not divide 2³² evenly, the remainder method makes the lowest numbers slightly more likely. This tool throws away the few draws that would cause that (rejection sampling), so every number has exactly the same chance.

Can I draw lottery-style numbers?

Yes — set the range, the count and “No repeats”. For the main lotteries with their bonus balls and odds, use the lottery number generator. No generator can make a ticket more likely to win.

What is the largest range?

Whole numbers up to ±9,007,199,254,740,991 (the largest integer JavaScript stores exactly), and up to 10,000 numbers per run.

Last updated:

Cite or embed this tool
APA

kakaoCalc. (2026, November 8). Random Number Generator. https://kakao.mobile/tools/random-number-generator/

MLA

“Random Number Generator.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/random-number-generator/.

Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms

Advertisement