Random Decimal Generator

Random floating-point numbers with the precision you choose.

Pick a range and how many decimal places you need, then generate as many values as you like. Useful for simulations, sampling, pricing tests, and anywhere a whole number won't do.

Decimals matter when whole numbers are too coarse — random prices for a mock storefront, random coordinates within a small area, weights and measures for test records, or probability values between 0 and 1. Set the precision to match your use: two places for currency, four or more for scientific-style values.

The value is generated first and then rounded to your chosen number of decimal places, so the precision setting never weakens the randomness. Results come with sum and average stats and can be exported for spreadsheets or code.

Frequently asked questions

How many decimal places can I use?

Up to ten. The value is rounded to your chosen precision after being generated, so the randomness quality is unaffected.

Can I generate values between 0 and 1?

Yes — leave the minimum at 0 and the maximum at 1 for random probabilities or normalized values.

Does it include the endpoints?

Values fall within the range you set; because they are continuous, landing exactly on an endpoint is vanishingly unlikely.