Skip to content
Statistics

Lognormal Distribution Calculator

Enter the lognormal parameters mu and sigma (the mean and standard deviation of the underlying normal distribution ln(X)), then supply a value x. The calculator returns the probability density (PDF), the cumulative probability P(X at or below x), the survival probability P(X above x), the quantile for any probability p, and all standard statistical measures including mean, median, mode, variance, and skewness. Results update instantly as you type.

Your details

The mean of the natural logarithm of X. Controls the scale of the distribution. Also called the log-mean or location parameter.
The standard deviation of the natural logarithm of X. Must be positive. Also called the log-standard-deviation or shape parameter.
Choose whether to evaluate the distribution at a specific x, find the x for a given probability, or just view summary statistics.
The positive value at which to evaluate the PDF and CDF. Must be greater than zero.
Mean (expected value)
1.648721

exp(mu + sigma^2 / 2)

Median1
Mode0.367879
Variance4.670774
Standard deviation2.161197
Skewness6.184877
PDF at x0.39894228
P(X <= x)0.5
P(X > x)0.5
25th percentile (Q1)0.509416
75th percentile (Q3)1.963031
95th percentile5.180252
99th percentile10.240474
0.569.1% below · x
00.5101122
x
  • PDF
  • CDF

Lognormal(mu=0, sigma=1): mean 1.6487, median 1.0000

  • The mean is 1.6487, the median is 1.0000, and the mode is 0.3679.
  • Because the mean exceeds the median, the distribution is right-skewed: a long tail extends toward large values, and the typical (median) value is below the average.
  • Skewness is 6.1849. Higher sigma values produce heavier right tails and greater skewness.
  • At x = 1: 50.00% of the distribution lies at or below this value, and 50.00% lies above it.

Next stepIf you collected real data, you can back out mu and sigma from the sample by computing the mean and standard deviation of the log-transformed values.

What is the lognormal distribution?

A random variable X follows a lognormal distribution when its natural logarithm, ln(X), is normally distributed. Because the logarithm is only defined for positive numbers, lognormal random variables are always positive, making this distribution ideal for quantities that are inherently non-negative: incomes, stock prices, particle sizes, rainfall amounts, and biological measurements such as blood concentrations. The distribution is characterised by two parameters: mu (the mean of ln X) and sigma (the standard deviation of ln X). These are not the mean and standard deviation of X itself; the actual mean of X is exp(mu + sigma^2 / 2), which is always larger than the median exp(mu).

PDF, CDF and survival probability explained

The probability density function (PDF) gives the relative likelihood of X taking a specific value and is given by f(x) = exp(-(ln(x) - mu)^2 / (2 * sigma^2)) / (x * sigma * sqrt(2*pi)) for x > 0. The cumulative distribution function (CDF) gives P(X at or below x) = Phi((ln(x) - mu) / sigma), where Phi is the standard normal CDF. The survival (or complementary CDF) is P(X > x) = 1 - CDF, the probability that X exceeds the value x. Because the lognormal CDF reduces to the normal CDF on a log scale, standard normal tables and the usual z-score machinery apply directly after the log transformation.

Mean, median, mode and skewness

The three central-tendency measures of a lognormal distribution all differ, reflecting its right skew. The mode, the most probable value, is exp(mu - sigma^2), always below the median exp(mu), which is always below the mean exp(mu + sigma^2 / 2). As sigma increases, the gap between mode and mean widens rapidly. Variance is (exp(sigma^2) - 1) * exp(2*mu + sigma^2), and skewness is (exp(sigma^2) + 2) * sqrt(exp(sigma^2) - 1), which grows sharply with sigma. A small sigma (say 0.25) gives a nearly symmetric shape; a large sigma (say 1.5) produces a heavily right-skewed distribution with a thin, elongated tail.

Practical applications of the lognormal distribution

The lognormal distribution appears across many fields because multiplicative processes naturally produce it. In finance, stock prices and asset returns over long horizons are approximately lognormal under the Black-Scholes framework. In environmental science, pollutant concentrations and particle sizes follow lognormal patterns. In reliability engineering, failure times of components subject to wear or fatigue are often modelled as lognormal. In economics, income and wealth distributions are frequently lognormal within a cohort. In medicine, drug half-lives and antibody titres in serology are lognormally distributed. The key signal that a lognormal model may fit is a histogram that is right-skewed on the original scale but symmetric after a log transformation.

Common lognormal percentiles by sigma

Sigma5th pct25th pct (Q1)Median75th pct (Q3)95th pct99th pct
0.250.6640.84711.1811.5051.779
0.50.4410.71711.3952.2663.08
0.750.2930.60611.653.4115.318
10.1930.51311.9485.189.488
1.250.1280.43512.3017.82417.377
1.50.0850.36812.71811.79431.796

Percentile values relative to the median (exp(mu) = 1 when mu = 0). Values scale by exp(mu) for other mu.

Frequently asked questions

What is the difference between mu and the mean of the lognormal distribution?

Mu is the mean of ln(X), the log-transformed variable, not the mean of X itself. The actual expected value (mean) of X is exp(mu + sigma^2 / 2), which is always larger than exp(mu). For example, if mu = 0 and sigma = 1, the mean of X is exp(0.5) approximately 1.649, while exp(mu) = 1 is the median. The gap grows with sigma: a larger shape parameter pulls the mean further above the median.

How do I find mu and sigma from a sample of data?

Take the natural logarithm of each positive data point. The sample mean of those log-values is the estimate of mu, and the sample standard deviation of those log-values is the estimate of sigma. This method of moments estimate is the same as the maximum-likelihood estimate for the lognormal distribution. You can then plug mu and sigma into this calculator to compute probabilities and percentiles for the fitted distribution.

What does the 95th percentile of the lognormal tell me?

The 95th percentile is the value x such that 95% of the distribution lies at or below x and only 5% lies above it. Use the quantile mode of this calculator: set p = 0.95 to find that value. In practice this is useful for setting safety thresholds - for example, a pollutant concentration that is exceeded on only 5% of days - or for pricing options at a specified confidence level.

Why is the lognormal distribution always right-skewed?

Because the variable is constrained to be positive (it is bounded below by zero but has no upper bound), and because multiplicative random effects compound over time, the tail on the right extends much farther than the tail on the left. Mathematically, skewness equals (exp(sigma^2) + 2) * sqrt(exp(sigma^2) - 1), which is always positive for any sigma > 0, confirming permanent right skew. Larger sigma means heavier tails and higher skewness.

How does the lognormal distribution relate to the normal distribution?

If X is lognormal with parameters mu and sigma, then Y = ln(X) is exactly normal with mean mu and standard deviation sigma. This means every lognormal probability question can be answered by first taking the log of x, computing a z-score z = (ln(x) - mu) / sigma, and then looking up the standard normal CDF. This calculator performs that transformation automatically.

What is the mode of the lognormal distribution and when does it equal zero?

The mode is exp(mu - sigma^2), the single peak of the PDF. For large sigma (specifically sigma > sqrt(mu) when mu > 0, or any sigma > 0 when mu <= 0), the mode can be very close to zero, meaning the distribution is very steeply peaked near zero with a long right tail. As sigma approaches zero, the distribution collapses toward a spike at exp(mu), and the mode, median and mean all converge.

Sources

Written by Dr. Hannah Brandt, PhD Statistician · Munich, Germany

Applied statistician translating rigorous probability theory into clear, accurate tools for researchers and practitioners.

Search 3,500+ calculators

Loading search…