Random Decimal Generator

Generate random decimal numbers between 0 and 100, each written with four places after the point.

Decimal numbers20 generated
  1. 85.0744
  2. 98.0496
  3. 75.4367
  4. 27.4728
  5. 83.6739
  6. 21.2007
  7. 16.6051
  8. 22.7220
  9. 81.0863
  10. 18.0405
  11. 83.6140
  12. 98.4466
  13. 71.4348
  14. 59.4354
  15. 22.1112
  16. 98.9424
  17. 54.0035
  18. 51.5521
  19. 11.8435
  20. 7.8198
Runs locally in your browser

About the Random Decimal Generator

Every value falls between 0 and 100 and always shows four decimal places, including trailing zeros, so a column of results lines up neatly and imports as a fixed precision float. Keeping the precision constant avoids the ragged look you get when a generator drops trailing zeros, and it makes visual comparison of a long list much easier.

The numbers are drawn from a uniform distribution, which means every interval of the same width is equally likely. Values between 12 and 13 come up as often as values between 87 and 88. That property is what statistics exercises assume, and it is also what you want when testing whether a chart axis handles an even spread.

Use the output to test rounding and formatting rules, to fill a measurement column in a fixture file, to feed a sorting exercise where integers would produce too many ties, or to demonstrate floating point precision in a lesson. With no repeats on, a set of 500 values is guaranteed distinct, which stops a scatter plot stacking points on top of each other. For whole numbers instead, use the Random Number Generator, and turn a value into a fraction with the Decimal to Fraction converter.

How to use

  1. Choose how many decimal values you need, up to 500 in one press.
  2. Keep no repeats on when duplicate values would spoil a plot or a sort.
  3. Press Generate, then copy the column into your spreadsheet or download it.

Common questions

What range do the numbers cover?
From 0 to 100, with four digits after the decimal point on every value.
Is the distribution uniform?
Yes, every interval of equal width is equally likely, which is what statistics exercises expect.
Can I change the number of decimal places?
The precision is fixed at four places. Round the results in your spreadsheet if you need fewer.
How do I turn a result into a fraction?
Paste the value into the Decimal to Fraction tool to see the closest fractional form.