Google Sheets NORMINV Function: Guide and Examples
In this article
The NORMINV function in Google Sheets calculates the inverse of the normal cumulative distribution for a given probability. In simpler terms, while a normal distribution function tells you the probability of a value occurring, NORMINV does the opposite: you provide the probability (the area under the curve), and it tells you the corresponding value (the x-axis point). This is essential for determining threshold values, calculating confidence intervals, or finding the minimum score required to be in a specific percentile of a population.
What You'll Need
- A Google account with access to Google Sheets.
- A dataset or a specific target probability (expressed as a decimal between 0 and 1).
- The mean (average) of your distribution.
- The standard deviation of your distribution.
Step-by-Step
- Prepare Your Data: Before entering the formula, it is best practice to place your variables in separate cells. For example, place your target probability in cell A2, your mean in B2, and your standard deviation in C2. This allows you to change the inputs later without editing the formula itself.
- Select the Target Cell: Click on the cell where you want the resulting value to appear (e.g., D2).
- Enter the Function: Type
=NORMINV(into the cell. - Input the Probability: The first argument is the probability. Click cell A2 or type a decimal. Remember that probability must be between 0 and 1. For example, if you want to find the value for the 95th percentile, you must enter
0.95. - Input the Mean: Type a comma, then click cell B2 or type the average value of your data set. This represents the center of your bell curve.
- Input the Standard Deviation: Type another comma, then click cell C2 or type the standard deviation. This represents the spread of your data.
- Close and Execute: Type the closing parenthesis
)and press Enter. The formula should look like this:=NORMINV(A2, B2, C2). - Verify the Result: Ensure the resulting number makes logical sense based on your mean. If your probability is greater than 0.5, the result should be higher than the mean; if it is less than 0.5, it should be lower.
Common Mistakes
One of the most frequent errors is entering the probability as a whole percentage. If you enter 95 instead of 0.95, Google Sheets will return a #NUM! error because the probability argument must be a value between 0 and 1. Any number outside this range is mathematically impossible for a probability distribution.
Another common mistake is confusing the mean and the standard deviation. The mean is the average value, while the standard deviation is a measure of how much the data varies from that average. Swapping these two will lead to a mathematically valid result that is logically incorrect for your specific dataset.
Users also occasionally confuse NORMINV with NORM.DIST. Remember that NORM.DIST takes a value and gives you a probability (percentage), whereas NORMINV takes a probability and gives you a value. If you find yourself trying to calculate the percentage of people who scored below a certain grade, you should be using NORM.DIST, not NORMINV.
Tips
To make your spreadsheet more dynamic, use the AVERAGE() and STDEV() functions to automatically calculate the mean and standard deviation from a range of raw data. Instead of typing a static number into the NORMINV formula, reference the cells containing these calculations. This ensures that if you add new data to your list, your inverse normal value updates automatically.
When working with standard normal distributions (where the mean is 0 and the standard deviation is 1), you can simplify your formula to =NORMINV(probability, 0, 1). This is often used in academic statistics to find Z-scores.
If you need to calculate the value for a "two-tailed" confidence interval (such as a 95% confidence interval), remember that the 5% error is split between both ends of the curve. To find the upper bound, you would use a probability of 0.975 (which is 0.95 + 0.025), not 0.95.
Troubleshooting
If your formula returns a #NUM! error, check your probability argument first. It must be strictly between 0 and 1. If you are referencing a cell that contains a percentage (e.g., "95%"), Google Sheets usually treats this as 0.95 automatically, but if the cell is formatted as plain text, the formula will fail.
If you see a #VALUE! error, it means one of the arguments is not a number. Check that your mean and standard deviation cells do not contain letters, symbols, or hidden spaces. Ensure that you are using periods for decimals and not commas, depending on your region's spreadsheet settings.
If the result seems wildly inaccurate, double-check your standard deviation. A standard deviation of 0 will result in a #DIV/0! error because a distribution with no variance cannot be calculated. Ensure your standard deviation is a positive number; a negative standard deviation is mathematically impossible and will cause the function to fail.
Frequently Asked Questions
What is the difference between NORMINV and NORM.INV?
In Google Sheets, NORMINV is the legacy version of the function, while NORM.INV is the updated version. Both perform the exact same calculation and return the same result. Google maintains the older version for compatibility with older spreadsheets, but NORM.INV is generally preferred in newer documents.
How do I find the 90th percentile using this function?
To find the 90th percentile, set your probability argument to 0.90. For example, if your mean is 100 and your standard deviation is 15, the formula =NORMINV(0.90, 100, 15) will give you the value below which 90% of the data falls.
Can NORMINV be used for non-normal distributions?
No. The NORMINV function is specifically designed for the Gaussian (normal) distribution, which is the symmetrical bell curve. If your data is skewed or follows a different distribution (like a Binomial or Poisson distribution), this function will provide an incorrect value.
Why is my result a decimal when I expected a whole number?
The function calculates the precise mathematical point on the continuous normal curve. Since the curve is continuous, the result is rarely a perfect integer. You can wrap the function in =ROUND() or =CEILING() if you need the result to be a whole number for practical purposes.
What happens if I set the probability to 0.5?
If the probability is 0.5, the function will always return the mean. This is because the normal distribution is perfectly symmetrical, and 50% of the values fall exactly below the average.