Home/Random Decimal

Random Decimal

A number with a fractional part, drawn evenly between your two ends. For test data, for a measurement to work with, for anywhere a whole number would be too coarse.

The number

Press Draw

The draw

Recent numbers

  1. Nothing yet.

Even across the range

Every value between the two ends is as likely as every other, to the number of places you asked for. Rounding is what decides the places, so the two outermost values come up about half as often as the rest.

Put the larger number in either box; if they are the wrong way round they are swapped rather than refused.

Where the randomness comes from

The browser’s cryptographic random source, the same one behind the passwords and the dice on this site — not the ordinary arithmetic generator that ships with the language.

Nothing is sent anywhere and nothing is kept beyond the recent list in this browser.

More generators