How it’s calculated
A variable X is lognormal when its natural logarithm ln X is normally distributed. It suits quantities that are always positive and skewed to the right because they grow by multiplication: failure times from corrosion or crack growth, incomes, particle sizes, file sizes. The two parameters are the mean μ and standard deviation σ of ln X, not of X itself; the median of X is T50 = e^μ, so you can enter either.
Worked example (NIST/SEMATECH e-Handbook §8.1.6.4): σ = 0.5, median life T50 = 20,000 hours, t = 5000 hours. z = (ln 5000 − ln 20000) / 0.5 = −2.7726, so the CDF is Φ(−2.7726) = 0.002781, the pdf is 3.4175 × 10⁻⁶ and the failure rate is 3.427 × 10⁻⁶ per hour, as in the handbook. The mean life is 20,000 × e^0.125 = 22,663 hours.
Frequently asked questions
Are μ and σ the mean and standard deviation of X?
No. They are the mean and standard deviation of ln X. The mean of X is e^(μ + σ²/2), which is always larger than the median e^μ. If you only know the mean and SD of X, choose that option and the calculator converts them.
How do I get μ from data?
Take the natural log of every value, then find the mean (μ) and standard deviation (σ) of those logs. e^μ is the geometric mean of the data and estimates the median.
Why is the mean bigger than the median?
The lognormal has a long right tail. A few very large values pull the mean up, while half of the values still lie below the median e^μ.
What does the hazard tell me?
In reliability work it is the instantaneous failure rate of units that have survived to time x. For a lognormal it rises at first and then falls, unlike the Weibull with shape above 1, whose hazard keeps rising.
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
- NIST/SEMATECH e-Handbook of Statistical Methods, §8.1.6.4 Lognormal — NIST
- NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.6.6.9 Lognormal Distribution — NIST
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator