Lognormal Distribution Calculator
- Work on the log scale: ln(1.5) = 0.4055, which sits z = (0.4055 - 0) / 0.5 = 0.811 standard deviations above the log-mean.
- CDF = Phi(0.811) = 79.13% - the probability a draw from this distribution lands at or below 1.5.
- The distribution's own landmarks spread out with sigma: median e^mu = 1.00, mean e^(mu + sigma^2/2) = 1.13, mode 0.78 - mean above median above mode is the signature right skew.
- Lognormals appear wherever growth multiplies: incomes, city sizes, particle sizes and long-run stock prices, because the sum of many small percentage shocks is normal on the log scale.
This lognormal distribution calculator turns the distribution's two parameters, mu and sigma, into the probabilities and landmarks you need. It reports the cumulative probability for a value you enter: with mu = 0 and sigma = 0.5, a value of 1.5 sits at the 79.13% point of the distribution, so its CDF is 79.13%. It also shows how the landmarks spread with sigma. At mu = 2 and sigma = 1, the median is 7.39 but the mean is 12.18, a gap that widens as sigma grows. Mean above median above mode is the lognormal's signature right skew, and the calculator lays those figures out side by side so the shape is easy to read.
The method behind the page is the standard treatment of the lognormal distribution, which applies wherever growth multiplies: incomes, city sizes, particle sizes and long-run stock prices are common examples. That is why the calculator's results match the accepted approach rather than a shortcut. This page shows the formula, step-by-step workings, worked examples and sources, so you can follow every number from the inputs to the answer and check it yourself.
Worked examples
mu = 0, sigma = 0.5, x = 1.5
CDF P(X <= x) = 79.13%. PDF at x: 0.3829; Mean: 1.13; Median: 1.00. (0 · 0.5 · 1.5)
| CDF P(X <= x) | 79.13% |
| PDF at x | 0.3829 |
| Mean | 1.13 |
| Median | 1.00 |
mu = 1, sigma = 0.25, x = 2.5
CDF P(X <= x) = 36.89%. PDF at x: 0.6035; Mean: 2.80; Median: 2.72. (1 · 0.25 · 2.5)
| CDF P(X <= x) | 36.89% |
| PDF at x | 0.6035 |
| Mean | 2.80 |
| Median | 2.72 |
mu = 2, sigma = 1, x = 10 - wide spread
CDF P(X <= x) = 61.89%. PDF at x: 0.0381; Mean: 12.18; Median: 7.39. (2 · 1 · 10)
| CDF P(X <= x) | 61.89% |
| PDF at x | 0.0381 |
| Mean | 12.18 |
| Median | 7.39 |
How the lognormal CDF is calculated
The lognormal CDF answers a simple question: for a given value x, what share of the distribution falls at or below it? The calculation works in two stages. First, take the natural log of x. If X is lognormal with parameters mu and sigma, then ln(X) is normal with mean mu and standard deviation sigma. That single step turns a skewed problem into a familiar bell-curve problem. Second, standardize the logged value by subtracting mu and dividing by sigma. The result is a z-score, and you read the standard normal CDF at that z-score to get the probability. In symbols, the CDF at x is the normal CDF of (ln x - mu) / sigma.
A worked example makes this concrete. Take mu = 0 and sigma = 0.5, and ask about the value 1.5. The natural log of 1.5 is about 0.4055. Subtract mu (zero) and divide by sigma (0.5), and you get a z-score of roughly 0.811. The standard normal CDF at that point is 0.7913, so 1.5 sits at the 79.13% point of the distribution - its CDF is 79.13%. Notice what the log step did: 1.5 is only half again the median (which is 1 when mu = 0), yet nearly four-fifths of the distribution lies below it. Skew like that is easy to misjudge by eye, which is why a lognormal distribution calculator is more reliable than guessing from a chart.
Changing sigma stretches the distribution and moves the landmarks apart. At mu = 2 and sigma = 1, the median is 7.39 but the mean is 12.18. The median is simply e raised to mu, while the mean is pulled upward by the right tail. That gap - mean above median above mode - is the lognormal's signature right skew. Because sigma controls how far the tail stretches, larger values of sigma push the mean further from the median and make the upper percentiles more extreme. When you read a CDF from a lognormal distribution calculator, keep in mind which parameter you are adjusting: mu shifts the whole distribution on the log scale, while sigma changes its spread and therefore the shape of the curve you are reading.
The same two-step routine - log, standardize, read the normal table - underlies every percentile and probability the calculator reports. Lognormals appear wherever growth multiplies: incomes, city sizes, particle sizes and long-run stock prices. In each case the values themselves are skewed, but their logarithms behave like an ordinary normal variable, so the CDF can be computed exactly rather than approximated.
- Take the natural log of the value x.
- Subtract mu and divide by sigma to get a z-score.
- Read the standard normal CDF at that z-score.
- Example: mu = 0, sigma = 0.5, x = 1.5 gives a CDF of 79.13%.
Mean, median and mode
The three landmarks of a lognormal distribution — mean, median and mode — are not the same number, and that is the point. Each one is built from the same two parameters, mu and sigma, but sigma enters each formula differently. The median is simply exp(mu). The mode is exp(mu − sigma²). The mean is exp(mu + sigma²/2). Read those three expressions side by side and the pattern is clear: sigma pushes the mode down, leaves the median alone, and pulls the mean up. A lognormal distribution calculator applies these three formulas to whatever mu and sigma you enter, so you can see all three landmarks at once instead of guessing where the bulk of the data sits.
When sigma is small, the three landmarks crowd together and the distribution looks almost symmetric. As sigma grows, they separate. The mu = 2 example shows this directly. At mu = 2 and sigma = 1, the median is 7.39, because exp(2) is 7.39. The mean, however, is 12.18 — noticeably larger than the median, even though both describe the same distribution. The gap comes entirely from the sigma²/2 term in the mean's exponent, which adds a right-hand tail of large values that the median never feels. The mode sits below the median by the same logic, at exp(2 − 1), so the ordering runs mean above median above mode.
Mean above median above mode is the lognormal's signature right skew. It is a quick diagnostic: if you compute the three landmarks and find this ordering, the data is consistent with a lognormal shape. The reverse ordering would signal a left-skewed distribution instead. This matters in practice because people often quote an "average" without saying which average. In a right-skewed lognormal, the mean is inflated by a small number of very large observations, while the median tracks the typical case more closely. Reporting the mean alone can overstate what a typical member of the population looks like.
The spread between the landmarks is also a useful check on your inputs. If you enter a sigma that seems modest but the mean lands far above the median, that is the exponential at work, not an error. To see the full picture, use the lognormal distribution calculator to compare the three landmarks against the CDF at a chosen value. For instance, with mu = 0 and sigma = 0.5, a value of 1.5 sits at the 79.13% point of the distribution — its CDF is 79.13%. Pairing that kind of percentile reading with the landmark formulas gives a clearer picture than either alone.
Lognormals appear wherever growth multiplies — incomes, city sizes, particle sizes and long-run stock prices. In all of these settings, the mean, median and mode answer different questions, and knowing which one you are reading keeps the interpretation honest.
- Median = exp(mu)
- Mode = exp(mu − sigma²)
- Mean = exp(mu + sigma²/2)
- At mu = 2 and sigma = 1: median 7.39, mean 12.18 — mean above median above mode
Where lognormals show up
A lognormal distribution is what you get when many small effects multiply together rather than add. Each step scales the current value by some factor, so the result is a product of many random pieces. Take the logarithm and that product turns into a sum, which is why the log of the variable looks like a bell curve. That single mechanism — growth that compounds instead of accumulating — explains why the lognormal distribution calculator is useful far beyond a statistics classroom. It describes incomes, biological sizes, city sizes, particle sizes and long-run stock prices, because all of these grow by multiplying.
Income is the classic example. A raise of a few percent multiplies what you already earn, and over a career those percentage changes stack up. Because the process is multiplicative, incomes pile up near a common level and then stretch into a long right tail of very high earners. The same shape appears in the sizes of living things and the sizes of cities: a small organism grows by a percentage of its current mass, a town grows by a percentage of its current population, and the results cluster at the low end with a sparse tail of giants. Particle sizes produced by repeated fragmentation or aggregation follow the same pattern.
Finance supplies the most familiar case: geometric Brownian motion, the standard model for long-run stock prices. Returns are applied as percentages of the current price, so the price is a product of many random multipliers. The distribution of the price is lognormal, which means it can never go below zero and it leans to the right. The landmarks spread apart as sigma grows. At mu = 2 and sigma = 1, the median is 7.39 but the mean is 12.18 — the mean is pulled up by the tail while the median stays put. Mean above median above mode is the lognormal's signature right skew, and it is the quickest way to recognize the family.
That skew has practical consequences for anyone reading a result. Probabilities are read from the cumulative distribution, and the numbers are not always intuitive. With mu = 0 and sigma = 0.5, a value of 1.5 sits at the 79.13% point of the distribution — its CDF is 79.13%. In other words, roughly four out of five draws fall at or below 1.5, even though the tail extends much higher. A lognormal distribution calculator lets you move between a value, its percentile and the parameters without doing the integral by hand.
- Incomes: percentage raises compound, producing a long right tail of high earners.
- Biological sizes: organisms and populations grow by a fraction of their current size.
- City sizes and particle sizes: repeated proportional growth or fragmentation yields the same shape.
- Long-run stock prices: geometric Brownian motion applies returns as percentages, so prices stay positive and skew right.
Lognormal vs normal
The normal distribution is built for quantities that add. Heights, measurement errors and averages of many small effects cluster symmetrically around a center, and the bell curve fits them well. The lognormal distribution is built for quantities that multiply. If a variable grows by a percentage each period rather than by a fixed amount, its logarithm behaves like a normal variable, and the variable itself is lognormal. That is why lognormals appear wherever growth multiplies: incomes, city sizes, particle sizes and long-run stock prices all tend to follow this shape. A lognormal distribution calculator lets you work with such data on its own scale instead of forcing a symmetric curve onto a skewed one.
The practical test is whether the log transform makes sense. Take your data, compute the natural log of each positive value, and check whether the logged values look roughly symmetric and bell-shaped. If they do, the log transform is the right move, and you can model the original data as lognormal. This matters because the two distributions answer questions differently. With mu = 0 and sigma = 0.5, a value of 1.5 sits at the 79.13% point of the distribution — its CDF is 79.13%. A normal fit with the same center would place that value elsewhere, so using the wrong model quietly shifts every probability you report.
Skew is the visible clue. Mean above median above mode is the lognormal's signature right skew, and the gap widens as sigma grows. At mu = 2 and sigma = 1 the median is 7.39 but the mean is 12.18 — a mean pulled well above the middle by a long right tail. If your data show a mean noticeably above the median, with a floor at zero and no symmetric left tail, a lognormal is usually the better description. If the data are symmetric with values on both sides of the center, a normal model is the natural choice.
Estimating mu and sigma from data is straightforward once you accept the log transform. Work on the log scale: mu is the mean of the natural logs of your positive observations, and sigma is their standard deviation. Because the transform is one-to-one, every calculation you do with those two numbers maps back to the original units through the exponential. That is exactly what a lognormal distribution calculator handles for you — enter your data or your mu and sigma, and read probabilities, percentiles and summary values on the original scale. Keep all values positive, since the lognormal is defined only above zero, and remember that mu and sigma describe the logs, not the raw numbers.
Use the lognormal when growth is multiplicative and the data are right-skewed with a hard floor at zero. Use the normal when effects add and the spread is symmetric. Checking the logged values first will tell you which case you have, and it keeps the probabilities you report honest.
- Log the data first: if the logged values look symmetric and bell-shaped, the lognormal is the right model.
- Mean above median above mode signals the lognormal's right skew; a widening gap points to a larger sigma.
- Estimate mu as the mean of the natural logs and sigma as their standard deviation.
- Keep every value positive — the lognormal is defined only above zero.
FAQs
How do I calculate a lognormal CDF?
Standardize on the log scale, then use the normal CDF. Take the natural log of your value, subtract mu, and divide by sigma. For example, ln(1.5) with mu = 0 and sigma = 0.5 gives a CDF of 79.13%. The calculator does this log-scale standardization for you.
What is the mean of a lognormal distribution?
The mean is e^(mu + sigma^2/2). In the mu = 2, sigma = 1 example, that gives 12.18, well above the distribution's 7.39 median. Because the right tail is long, the mean sits higher than the median, so the average is pulled up by large values.
Why is the lognormal skewed?
Multiplicative growth stretches the right tail. Small percentage changes compound, and a few large upward runs push values far to the right, while values cannot fall below zero. The signature is mean above median above mode, as the examples show. That asymmetry is why the mean exceeds the median in the examples.
What are mu and sigma for a lognormal?
They are the mean and standard deviation of the log of the variable, not of the variable itself. The second example uses mu = 1 and sigma = 0.25, describing the logged values. Keep that in mind when entering inputs, since these parameters do not directly describe the raw values you observe.
Where is the lognormal used?
Incomes, city sizes, particle sizes and long-run stock prices are common examples, anywhere many small percentage shocks accumulate. When many independent multiplicative effects combine, the result tends toward a lognormal shape. That makes it a natural fit for positive quantities shaped by compounding growth.
Can a lognormal be negative?
No. It lives on positive values only, which is why x must be above zero in the calculator. The variable is the exponential of a normal value, and exponentials are always positive. Enter a value of zero or below and the calculation is undefined, so the calculator requires x above zero.