Random Number Generator
Generate random numbers between any min and max. Choose how many numbers and decimal places. Perfect for statistics, games, and sampling.
Random Numbers
—
Sum —
Average —
How to Use This Calculator
Set the Minimum and Maximum values, choose How Many Numbers to generate (up to 20), and set Decimal Places (0 for integers). Click Calculate to generate a new set.
Formula
Random = Math.random() × (max − min) + min, rounded to specified decimal places
Example
Min=1, Max=10, Count=5, Decimals=0 → e.g. 3, 7, 1, 9, 5
Frequently Asked Questions
- The numbers are pseudorandom, generated by your browser's Math.random(). They are suitable for most practical purposes but not cryptographic security.
- Up to 20 numbers at once. For larger datasets, you can run the generator multiple times.
- Yes — set the Decimal Places field to 1–6 to generate random decimals.
- Yes — set Min to a negative value (e.g. Min=−100, Max=100).
- They help you quickly analyze the generated set without a separate calculator.