Audited 31 Jul 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Lognormal Distribution Density Calculator

Evaluate the lognormal probability density at a positive value x, given μ and σ, the mean and standard deviation of ln X: the height of the curve at that point.

Lognormal Distribution Density Calculator

Probability density
0.2422
The height of the lognormal curve at x, in probability per unit of x — not itself a probability.
Model scope
Point density for a lognormal model parameterized by the mean and standard deviation of ln(X); it does not fit parameters, return an interval probability, or establish that observed data are lognormal.

Background.

Plenty of quantities cannot go below zero, bunch up at modest values and trail off in a long right-hand tail: the sizes of particles in a powder, the hours needed to repair a machine, a share price a few years out. When a quantity is built by multiplying many small, independent factors rather than adding them, its logarithm drifts towards the normal bell curve, and the quantity itself follows a lognormal distribution.

That relationship is the whole definition. X is lognormal when ln X is normal with mean μ and standard deviation σ, and those log-scale figures are the two parameters entered here — not the mean and spread of X itself. The distinction catches people out. With μ = 0.5 and σ = 0.8, the median of X is e^0.5, about 1.65, but the tail drags the mean up to about 2.27, while the single most likely value, the mode, is only about 0.87.

The result is the probability density at one point x: the height of the curve there. It is not a probability. A density is measured per unit of x, can exceed 1 when the distribution is narrow, and becomes a probability only when multiplied by a width — over a short interval, density × width approximates the chance of landing inside it.

The page does not fit μ and σ to data, give cumulative or interval probabilities, or test whether a lognormal model suits your measurements. It evaluates the curve for parameters you already have, and leaves the judgement about whether they describe your data to you.

What is lognormal distribution density calculator?

The lognormal probability density function describes how probability is spread across the positive values of a random variable X whose natural logarithm is normally distributed. It is defined only for x > 0, is skewed to the right, and is fixed by two parameters: μ, the mean of ln X, and σ, the standard deviation of ln X. Its value f(x) is a probability per unit of x, and the total area under the curve is 1.

How to use this calculator.

  1. Enter μ and σ on the natural-log scale. If they were worked out from base-10 logarithms, multiply both by 2.3026 first.
  2. If you know only the ordinary mean m and standard deviation s of X, convert them: σ² = ln(1 + s²/m²) and μ = ln m − σ²/2.
  3. Enter the point x where you want the density. It must be positive, because the lognormal curve does not exist at zero or below.
  4. Read the result as a height, not a chance. For the probability of a narrow band around x, multiply the density by the band's width.

The formula.

f(x) = exp(-(ln x - mu)^2/(2 sigma^2)) / (x sigma sqrt(2 pi))

f(x) = exp(−(ln x − μ)² ÷ (2σ²)) ÷ (x σ √(2π)). The exponential is the familiar normal-curve shape applied to ln x instead of x: it equals 1 when ln x = μ and falls away as the gap grows, faster when σ is small. The denominator holds the normal curve's constant σ√(2π) and one extra factor, x. That 1/x is the change-of-variable term — mapping the even log scale back onto ordinary numbers squeezes the curve at large x and lifts it at small x. It is why the peak, the mode at e^(μ − σ²), sits below the median e^μ, which in turn sits below the mean e^(μ + σ²/2). A larger σ fattens the right tail and pushes those three further apart; changing μ slides the whole curve along the log scale without altering its shape there.

A worked example.

Example

Take x = 2 with μ = 0.5 and σ = 0.8. First the log: ln 2 = 0.693147, so ln x − μ = 0.193147 and its square is 0.037306. Dividing by 2σ² = 1.28 gives 0.029145, and e^−0.029145 = 0.971275. The denominator is x σ √(2π) = 2 × 0.8 × 2.506628 = 4.010605. The density is 0.971275 ÷ 4.010605 = 0.242177, shown on the page as 0.2422. To see what that height means, multiply by a width: the chance that X lands between 1.95 and 2.05 is about 0.1 × 0.2422 ≈ 0.0242, or 2.4% (exact integration gives 0.02422). At the mode, x ≈ 0.869, the curve is taller, about 0.4165 — the most likely region is well below the mean of 2.27.

log Mean0.5
log Standard Deviation0.8
x2

Frequently asked questions.

Why can a probability density be greater than 1?
Because it is probability per unit of x, not a probability. A tightly concentrated distribution packs its whole area of 1 into a narrow range, so the curve must be tall: with μ = 0 and σ = 0.1, the density at x = 1 is about 3.989.
How do I get μ and σ from the mean and standard deviation of my data?
Use σ² = ln(1 + s²/m²) and μ = ln m − σ²/2, where m and s are the ordinary mean and standard deviation. For m = 10 and s = 5, σ² = 0.2231, so σ ≈ 0.4724 and μ ≈ 2.1910. Alternatively, take natural logs of every observation and compute their mean and standard deviation directly.
Why is the mean of a lognormal distribution larger than its median?
The median is e^μ, because half of ln X lies below μ. The mean is e^(μ + σ²/2): the long right tail contains a few very large values that pull the average up. The wider σ is, the bigger the gap; at σ = 0.8 the mean is about 38% above the median.
How do I find the probability that X is below a certain value?
Convert to the log scale and use the normal distribution: P(X < x) = Φ((ln x − μ)/σ). For x = 2, μ = 0.5 and σ = 0.8, the z-score is 0.2414 and the probability about 0.5954. This page returns the density only, so use a normal table or calculator for Φ.
How can I tell whether my data really are lognormal?
Take the natural log of every observation and look at the result. If a histogram of the logs looks like a symmetric bell, or a normal probability plot of them is close to a straight line, a lognormal model is reasonable. Data that include zeros or negative values cannot be lognormal at all.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
f(x) = exp(-(ln x - mu)^2/(2 sigma^2)) / (x sigma sqrt(2 pi))
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon