Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Google Sheets LOGNORM.INV: Step-by-Step Guide

· 4 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

LOGNORM.INV returns the inverse of the lognormal cumulative distribution for a given probability, mean, and standard deviation. In plain terms, you give it a probability (like 0.95) and it tells you the value below which that percentage of a lognormally distributed variable falls. This is useful for modeling things like income, stock prices, or any quantity that is always positive and skewed right. You need a Google account and a spreadsheet; no add-ons are required.

What You'll Need

  • A Google account and access to Google Sheets (desktop browser or the mobile app).
  • Your three inputs: probability (between 0 and 1, exclusive), mean of the natural logarithm of the distribution, and standard deviation of the natural logarithm (must be greater than 0).
  • Optional: a column of probabilities if you want to fill the formula down.

Step-by-Step

  1. Open your spreadsheet at sheets.google.com or in the Google Sheets app. Create a new sheet or open an existing one.
  2. Click an empty cell where you want the result. For example, cell A1.
  3. Type the formula starting with an equals sign: =LOGNORM.INV(. Google Sheets will show a tooltip with the argument order: probability, mean, standard_deviation.
  4. Enter the probability as a decimal or a cell reference. For 95%, type 0.95 or reference a cell like B1. The value must be greater than 0 and less than 1.
  5. Type a comma, then the mean of ln(x). If you have the arithmetic mean and standard deviation of the original data, you must convert them first (see Tips). For now, enter the ln-mean directly, e.g., 3.5.
  6. Type a comma, then the standard deviation of ln(x). This must be a positive number, e.g., 0.8.
  7. Close the parenthesis and press Enter. The cell shows the inverse lognormal value.
  8. To apply to many rows, drag the fill handle (small square at the bottom-right of the cell) down, or copy the formula and paste it into other cells. Use absolute references (like $B$1) for fixed parameters if needed.
  9. Format the result as a number or currency via Format > Number if you want a cleaner display. The formula itself returns a plain number.

Note: Menu labels and formula tooltips can differ slightly by Google Sheets version, device, or region. The function name and argument order are consistent.

Common Mistakes

  • Passing the arithmetic mean and standard deviation of the original data instead of the mean and standard deviation of the natural logarithm. LOGNORM.INV expects ln-parameters. Convert first: ln_mean = LN(arithmetic_mean^2 / SQRT(arithmetic_mean^2 + variance)), and ln_sd = SQRT(LN(1 + variance / arithmetic_mean^2)).
  • Using a probability of exactly 0 or 1. The function returns an error; keep it strictly between 0 and 1.
  • Entering a negative or zero standard deviation. It must be greater than 0.
  • Forgetting the comma separators or using semicolons in a locale that expects commas (or vice versa). Google Sheets usually auto-adjusts, but check the formula preview.
  • Referencing text cells instead of numbers. Convert with VALUE() if needed.

Tips

  • If you only have the mean and standard deviation of the original lognormal variable, convert them to ln-space before calling LOGNORM.INV. The formulas above are the standard conversion.
  • Use cell references for probability, mean, and standard deviation so you can change inputs without rewriting the formula.
  • Combine with LOGNORM.DIST to check your work: LOGNORM.DIST(LOGNORM.INV(p, m, s), m, s, TRUE) should return approximately p.
  • For quick scenario analysis, put a list of probabilities in one column and fill the formula down.
  • Remember the result is always positive; if you get a negative number, you likely passed the wrong parameters.

Troubleshooting

If you see #NUM!, check that probability is between 0 and 1 and standard deviation is positive. If you see #VALUE!, one of the arguments is text or a blank cell; ensure all three are numeric. If the result looks wildly off, verify you are using ln-mean and ln-standard deviation, not the original scale. If the formula does not calculate, press Enter again or check for a missing parenthesis. On mobile, the formula bar may hide the tooltip; type carefully and use the checkmark to confirm. If you accidentally delete a referenced cell, the formula returns an error; restore the value or update the reference.

Frequently Asked Questions

What does LOGNORM.INV actually return?

It returns the value x such that the lognormal cumulative distribution with the given ln-mean and ln-standard deviation equals the supplied probability. In other words, the p-th percentile of that lognormal distribution.

Can I use LOGNORM.INV with a probability expressed as a percentage?

Yes, but enter it as a decimal (95% becomes 0.95) or reference a cell formatted as a percentage; the underlying value must be between 0 and 1.

What is the difference between LOGNORM.INV and NORM.INV?

NORM.INV works for a normal (Gaussian) distribution and can return negative values. LOGNORM.INV works for a lognormal distribution, which is always positive and right-skewed, and expects ln-scale parameters.

Why do I get #NUM! even though my numbers look fine?

The most common cause is a probability of 0 or 1, or a standard deviation of 0 or less. Double-check those two arguments first.

Does LOGNORM.INV work in the Google Sheets mobile app?

Yes, the function is available in the mobile app. The formula entry interface is different, but the syntax is the same.

Can I use LOGNORM.INV for stock prices or income data?

It is commonly used for positive, skewed quantities, but the lognormal assumption may not fit every dataset. Validate your model before relying on the output.