Log-Normal Distribution Calculator

Reviewed by CalcMulti Editorial Team·Last updated: ·Statistics Hub

The log-normal distribution models a positive random variable X whose logarithm ln(X) follows a normal distribution. It arises naturally whenever a quantity is the product of many independent positive factors — making it common in finance, biology, medicine, and engineering.

Enter the log-mean μ (mean of ln X) and log-standard deviation σ (std dev of ln X), plus an optional x value. The calculator returns PDF, CDF, survival function, and key statistics (mean, median, mode, variance) of X itself.

Formula

f(x) = 1/(xσ√2π) × exp[−(ln x − μ)² / (2σ²)] for x > 0

μ
mean of ln(X) — log-mean (not the mean of X)
σ
standard deviation of ln(X) — log-std (σ > 0)
Mean of X
exp(μ + σ²/2)
Median of X
exp(μ)
Mode of X
exp(μ − σ²)

Parameters

μ and σ are the mean and std dev of ln(X), not of X itself.

Fitting Log-Normal to Your Data

  1. 1Take the natural log of all your positive data values: y_i = ln(x_i)
  2. 2Compute μ̂ = sample mean of {y_i} = (1/n) Σ y_i
  3. 3Compute σ̂ = sample std dev of {y_i} = sqrt[Σ(y_i − μ̂)²/(n−1)]
  4. 4Use this calculator with μ = μ̂ and σ = σ̂
  5. 5Verify the fit: check normality of {y_i} using the Normality Test Calculator

Disclaimer

For educational and exploratory use only. μ and σ are parameters of the underlying normal distribution of ln(X), not of X itself.

Frequently Asked Questions