Log-Normal Distribution Calculator

Log-Normal Distribution Calculator

Calculate PDF, CDF, mean, and variance for a log-normal distribution based on the parameters μ and σ.

Comprehensive Guide to the Log-Normal Distribution

The Log-Normal Distribution is a continuous probability distribution of a random variable whose logarithm is normally distributed. Unlike the standard normal distribution, which is symmetric and can include negative values, the log-normal distribution is skewed to the right and only includes non-negative values. This makes it an essential tool in statistics for modeling phenomena that are inherently positive and exhibit multiplicative growth.

What is a Log-Normal Distribution?

In simple terms, if a variable $Y$ follows a normal (Gaussian) distribution, then $X = e^Y$ follows a log-normal distribution. This relationship is foundational to many natural processes. While many things in nature are the sum of many small, independent factors (leading to a normal distribution), many other things are the result of the product of many factors, leading to a log-normal distribution.

Key Parameters and Mathematical Formulas

To fully define a log-normal distribution, we use two primary parameters:

  • μ (Mu): The mean of the variable’s natural logarithm. This is the location parameter.
  • σ (Sigma): The standard deviation of the variable’s natural logarithm. This is the shape parameter.

The Probability Density Function (PDF) is defined as:

f(x; μ, σ) = (1 / (xσ√2π)) * exp[ – (ln(x) – μ)² / (2σ²) ]

The Mean (Expected Value) of the actual variable $X$ is calculated as:

E[X] = exp(μ + σ²/2)

The Variance is given by:

Var(X) = [exp(σ²) – 1] * exp(2μ + σ²)

Real-World Applications of Log-Normal Distributions

Why should you care about this specific distribution? Because it appears everywhere in the real world:

  • Finance and Economics: Stock prices are often modeled using log-normal distributions because prices cannot be negative, and returns are often considered multiplicative.
  • Biology: The sizes of living tissue (length, height, skin area) often follow this distribution. It also describes the distribution of incubation periods for certain diseases.
  • Geology: The concentration of elements and minerals in the Earth’s crust often follows a log-normal pattern.
  • Technology: File sizes circulating on the internet or the duration of phone calls often fit this curve.

How to Use This Log-Normal Distribution Calculator

Our tool simplifies the complex calculus involved in these statistics. Follow these steps:

  1. Enter μ (Mu): This is the average value of the log of your data. Note that this is not the mean of the data itself.
  2. Enter σ (Sigma): This is the standard deviation of the log of your data. It must be a positive number.
  3. Enter X: This is the specific value you want to test. The calculator will determine the probability of a random variable being at that value (PDF) or less than or equal to that value (CDF).
  4. Review Results: The calculator instantly provides the mean, variance, median, and probability density.

Comparison: Normal vs. Log-Normal Distribution

The primary difference lies in symmetry and range. A Normal Distribution is a bell-shaped curve that is perfectly symmetric around the mean; it extends from negative infinity to positive infinity. Conversely, a Log-Normal Distribution starts at zero, peaks early, and has a “long tail” that stretches toward higher values. As σ decreases, the log-normal distribution begins to look more like a normal distribution, but it will always remain constrained to positive values.

Frequently Asked Questions (FAQ)

Q: Can μ be negative?
A: Yes. μ represents the mean of the logarithm. Since the logarithm of a number between 0 and 1 is negative, a negative μ simply indicates that the geometric mean of the distribution is less than 1.

Q: What is the relationship between the median and μ?
A: The median of a log-normal distribution is exactly $e^μ$. This is one of the most intuitive ways to understand the μ parameter.

Q: Why is the PDF result so small sometimes?
A: The PDF represents the density at a single point. Since it’s a continuous distribution, the probability of any exact single point is zero; the density is used to calculate probabilities over intervals.