Normal Density Curve Calculator: How to Use
- x value
- 1
- You entered
- Mean (μ)
- 0
- You entered
- Std dev (σ)
- 1
- You entered
This calculator computes the value of the normal (Gaussian) probability density function (PDF) at a given point. You enter the point x, the mean (μ), and the standard deviation (σ), and it returns the height of the bell curve at that point. This height is not a probability; it is a density, useful for drawing the curve and understanding relative likelihood.
Formula
The normal density function is:
f(x) = (1 / (σ √(2π))) · e−0.5((x−μ)/σ)²
- x – the point where you want the density (any real number).
- μ (mu) – the mean; the center of the curve (any real number).
- σ (sigma) – the standard deviation; must be > 0.
- e – Euler’s number, ≈ 2.71828.
- π – pi, ≈ 3.14159.
The output is the height of the curve. The total area under the curve is always 1, and the curve is symmetric about the mean.
Worked Example
Using the defaults: μ = 0, σ = 1, x = 1.
- Compute the z-score: (x − μ)/σ = (1 − 0)/1 = 1.
- Square it: 1² = 1.
- Multiply by −0.5: −0.5.
- Raise e to that power: e−0.5 ≈ 0.60653.
- Compute the denominator: σ√(2π) = 1 · √(6.28318) ≈ 2.50663.
- Divide: 0.60653 / 2.50663 ≈ 0.24197.
The calculator returns 0.2420 (rounded to 4 decimals). That is the height of the standard normal curve at x = 1.
What the Output Means
The PDF value is not a probability. For a continuous distribution, the probability of any exact point is zero. Instead, the density tells you how concentrated the probability is around that point. A higher density means values near x are more likely than values where the density is lower. For example, in a standard normal distribution, the density at the mean (x = 0) is ≈ 0.3989, while at x = 1 it is ≈ 0.2420 — values near 0 are more common.
To get an actual probability (like P(0 < X < 1)), you must integrate the density over an interval. That integral is the cumulative distribution function (CDF), which most calculators and software provide separately. This page only computes the density, not the cumulative probability.
When to Use the Normal Density
- Drawing the bell curve: Plot multiple (x, f(x)) points to sketch the shape.
- Comparing relative likelihoods: See which of two points is more probable under the same distribution.
- Understanding z-scores: The density at a z-score helps visualize how extreme that value is.
- Checking model assumptions: Some statistical methods assume normality; plotting the density can help verify.
You do not use the density for hypothesis testing or confidence intervals — those require the CDF or its inverse.
Common Mistakes
- Confusing density with probability: The output is not a percentage. It can even exceed 1 when σ is small (e.g., σ = 0.1 gives a peak density ≈ 3.99).
- Using variance instead of standard deviation: Many formulas use σ² (variance). Enter σ, not σ².
- Forgetting σ must be positive: A negative or zero σ is invalid.
- Unit mix-ups: If your data is in centimeters, the density has units of 1/cm. Changing units changes the density value, though the shape remains.
- Rounding too early: Keep extra digits during intermediate steps; only round the final answer.
Limits of This Calculator
This tool only evaluates the density at a single point. It does not compute cumulative probabilities, quantiles, or random samples. For those, use a statistical calculator or software with a normal CDF function. Also, the formula assumes a perfectly normal distribution; real-world data is often approximately normal, and the density is a model, not an exact description.
The calculator handles any real x and μ, and any σ > 0. Very large or very small σ may cause underflow/overflow in extreme cases, but for typical values the result is accurate to the displayed precision.
Frequently Asked Questions
Why is the density at the mean not 1?
The maximum height of the normal curve is 1/(σ√(2π)), which equals about 0.3989 for σ = 1. It is less than 1 because the total area under the curve must be 1, and the curve extends infinitely in both directions. The height is not a probability; it is a density.
Can I use this to find the probability that X equals some value?
No. For a continuous distribution, the probability of any exact value is zero. The density only helps compare likelihoods of intervals. To find P(a < X < b), you need the cumulative distribution function (CDF).
What is the difference between PDF and CDF?
The PDF (probability density function) gives the height of the curve at a point. The CDF (cumulative distribution function) gives the area under the curve to the left of that point — i.e., the probability that X is less than or equal to that value. This calculator provides the PDF only.
How do I find the z-score from a density value?
You cannot directly invert the density to get a z-score because the density is not one-to-one (two points can have the same density, one on each side of the mean). To find a z-score from a cumulative probability, use the inverse CDF (quantile function).
What if my standard deviation is in different units than my mean?
Both must be in the same units. If your data is in meters, σ should be in meters. If you convert units, convert both μ and σ consistently.
Why does the output change when I change σ but keep x and μ the same?
σ controls the spread. A larger σ makes the curve wider and flatter, so the density at any fixed point (except the mean) generally decreases. A smaller σ makes the curve narrower and taller, so the density at points near the mean increases.
Related
Formula used
in x | x value | - | 1 | 0 in mu | Mean (μ) | - | 0 | 0 in sigma | Std dev (σ) | - | 1 | 0 out pdf | PDF value | - | (1/(sigma*sqrt(2*pi)))*exp(-0.5*((x-mu)/sigma)^2) | 4
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.