Decimal Random Number Generator

Your details

The lowest value any generated number can take (inclusive).
The highest value any generated number can take (inclusive).
Number of digits after the decimal point. Use 2 for currency-like values, 3-5 for measurements, 6-10 for scientific work.
How many random decimals to generate (1 to 100).
When set to unique, the generator discards any repeat and keeps drawing until all values are distinct. Only meaningful at higher precision where repeats are unlikely anyway.
Optionally sort the batch before displaying.
Generated numbers
0.27, 0.99, 0.97, 0.69, 0.20

The random decimal numbers, comma-separated.

Mean of batch0.624
Sum of batch3.12
Smallest value0.2
Largest value0.99
Theoretical mean0.5
Batch mean0.624
Theoretical mean0.5

5 random decimal(s) generated successfully.

  • The batch mean is 0.6240, compared to the theoretical uniform mean of 0.5000.
  • The mean deviates by about 24.8% from the theoretical value, which is normal for small batches.
  • Batch range: 0.2000 to 0.9900; sum: 3.1200.
  • Each number is drawn independently using a pseudo-random uniform distribution, so consecutive runs will differ.

Next stepHit the calculate button again or change any input to regenerate a fresh batch. Increase quantity to 30+ for the mean to reliably approach the theoretical value.

= Powered by OnlyCalculators