Random Float Generator
Generate batches of random decimal (floating-point) numbers with precise control over range, precision, and statistical distribution.
Inputs explained
- Count — how many values to generate (1 to 5,000).
- Min / Max — the range the values will fall within.
- Decimal places — how many digits after the decimal point (0 = integers, up to 10 for high-precision scientific work).
- Distribution — Uniform gives each value in the range equal probability. Normal clusters values toward the midpoint of the range, tapering off at the edges, matching many natural phenomena.
Uniform distribution
Every value in [min, max] is equally likely. Use this for:
- Random coordinates, prices, durations, or IDs.
- Generating test data without bias toward any particular value.
- Simulating uniformly distributed processes.
Normal distribution
Values cluster around the midpoint of your range. The standard deviation is set to range / 6, so ≈99.7% of values fall within the range. Values outside the range are clamped. Use this for:
- Simulating measurements with natural variation (heights, weights, temperatures).
- Generating realistic financial data (returns, prices).
- Stress-testing systems with realistic-looking sensor readings.
Randomness source
All values use crypto.getRandomValues — the browser's cryptographically secure random number generator. For normal distribution, the Box-Muller transform converts two independent uniform draws into normally distributed output.
Output
Each number is shown in its own row. Copy-all puts them one-per-line. Download saves floats.txt.
Privacy
All generation runs locally in your browser. Nothing is sent anywhere.
Tiny Online Tools







