Random Number Generator

Generate random integers in any range — with optional count.

Loading calculator…

About this calculator

For lottery-style picks, generate count = numbers needed; uniqueness handling is left to you since replacement is standard.

Formula

Each number = floor(random()×(max−min+1))+min — uniform distribution.

Frequently Asked Questions

Is it truly random?

Pseudorandom via the browser's CSPRNG-seeded Math.random — unpredictable for casual use.