Lognormal Distribution Calculator
Compute PDF, CDF, and key statistics for the lognormal distribution given mu and sigma.
๐ What is the Lognormal Distribution?
The lognormal distribution is a continuous probability distribution for a random variable X whose natural logarithm follows a normal distribution. In other words, if Y = ln(X) is normally distributed with mean mu and standard deviation sigma, then X is lognormally distributed. The key consequence is that X is always positive, never zero or negative, making this distribution ideal for quantities that cannot go below zero.
Lognormal distributions appear throughout science, finance, and engineering. Stock prices are commonly modeled as lognormal because percentage changes (not absolute changes) are symmetric and normally distributed. Insurance claim amounts, city population sizes, internet file sizes, blood pressure readings in large populations, and the latency of web requests all tend to follow lognormal or near-lognormal patterns. Any time a variable is the product of many independent multiplicative factors, the central limit theorem on the logarithms guarantees approximate lognormality.
A common misconception is that mu is the mean of X. It is not. Mu is the mean of ln(X). The actual mean of X is exp(mu + sigma squared divided by 2), which always exceeds exp(mu). Similarly, sigma is not the standard deviation of X but of ln(X). This distinction matters greatly: a dataset with mu = 0 and sigma = 1 has a mean of approximately 1.65 and a standard deviation of approximately 2.16, illustrating how the lognormal distribution stretches the upper tail relative to a simple normal distribution centered at 1.
This calculator handles both the probability query use case (given x, find P(X at or below x), the PDF height, and the survival probability) and the pure statistics use case (given mu and sigma alone, find mean, variance, skewness, and kurtosis). Toggle between Probability and Stats mode using the tabs above.