What is a truncated normal?
A truncated normal is a normal distribution conditioned to stay within bounds such as a≤X≤b. It is also known as a bounded normal or truncated Gaussian.
- Common use cases: non-negative values, scores bounded to [0,100], probability-like values in [0,1], and rare-event tail sampling.
- Truncation changes the mean/variance and can create mass near boundaries — check the PDF/CDF and sample stats.
How it works: it uses the inverse CDF method (sample a uniform random number and map it through the truncated CDF). This avoids rejection-sampling slowdowns when truncation is extreme.
Do not use this tool as the sole basis for high-stakes decisions (medical/financial/legal). You don’t need to enter personal information to use it.
Presets
Pick a practical preset (you can tweak values after applying). It regenerates instantly.
Tip: presets are meant as starting points.
Generator
Set μ/σ and bounds, then generate samples and export results.
Sample stats
Samples (first 20)
FAQ
What is a truncated normal?
Why does the mean shift?
What does Z mean?
Is seeded RNG secure?
Related tools
- Distributions hubBrowse distribution tools and randomness diagnostics.
- Distribution samplerA multi-distribution sampler (normal, gamma, beta, and more).
- Random number generatorGenerate random integers/decimals with optional seeds.
- Randomness testsQuick sanity checks for randomness.
- Random CSV generatorGenerate test data tables in CSV.
- Beta distribution generatorA bounded distribution on (0,1) — useful alternative for probabilities.
- Normal distribution calculatorCompute CDF/quantiles and related probability quantities.
- Probability & simulation guideLearn and explore related topics.