Smart Systems for Home

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

ERFC.PRECISE in Google Sheets: How to Use It

· 7 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

ERFC.PRECISE returns the complementary error function of a value, which is 1 minus the error function, ERF(x). You use it when you need the upper tail probability in statistics work — reliability estimates, normal-distribution calculations, signal processing, diffusion models — and you want an answer that stays accurate for large inputs where 1-ERF(x) would lose precision to rounding. The syntax is simply =ERFC.PRECISE(x), where x is the numeric value you want evaluated. The function exists because older spreadsheet formulas sometimes behaved differently across versions; ERFC.PRECISE is the stable, explicitly named form. In Google Sheets you can type it directly into a cell and it will calculate straight away.

What You'll Need

  • A Google account with access to Google Sheets (the web version in any modern browser, or the Sheets mobile app).
  • A spreadsheet where you have edit permission.
  • Your input values ready — either typed into cells or entered directly in the formula.
  • A basic idea of what the complementary error function is, so you can sanity-check the result. ERFC(x) is always between 0 and 2, ERFC(0) equals 1, and the value falls steadily as x grows.

Step-by-Step

  1. Open your spreadsheet. Sign in to Google Sheets and open the file you want to work in, or create a new blank spreadsheet from the Sheets home page.
  2. Choose your output cell. Click the cell where you want the result. Leave the cell above free of other formulas if you plan to copy the formula down a list of inputs.
  3. Put your input value somewhere accessible. You can either type the number straight into the formula or, better for anything reused, type it into a separate cell such as A2. Working from a reference cell makes it easy to change the input and watch the result update.
  4. Start the formula. Type an equals sign = in the output cell. Google Sheets will open the formula helper as you type.
  5. Enter the function name. Type ERFC.PRECISE(. Sheets should show the function name in the autocomplete list. Select it if it appears, or keep typing — the dot is part of the name and must be included.
  6. Add the argument. Type the number, or click the cell holding it. For example, =ERFC.PRECISE(1) or =ERFC.PRECISE(A2). The argument must be a single numeric value, not a range.
  7. Close the bracket and confirm. Type ) and press Enter. The cell shows the result. With an input of 1 you should see approximately 0.1573.
  8. Check the result makes sense. Confirm the output is between 0 and 2, that it is exactly 1 when the input is 0, and that it shrinks toward 0 as the input gets larger. If any of these fail, something in the formula is wrong.
  9. Fill down for a list. If you have a column of inputs in A2:A20 and the formula in B2, click B2, grab the small square handle at its bottom-right corner, and drag down to B20. Alternatively, copy B2 and paste it into the rest of the range; relative references adjust automatically.
  10. Format the output. The results often have many decimal places. Select the range and use the decrease-decimal-places button in the toolbar, or open Format > Number and pick a number format, to make the column readable. Keep enough decimals for your purpose — rounding too early defeats the precision the function is there to give you.
  11. Combine it with other functions. Because ERFC.PRECISE returns a plain number, you can nest it. For example, =ERFC.PRECISE(A2)/2 gives the one-sided tail probability for a standard normal variable, since the normal tail is half the complementary error function. Wrap it in ROUND if you need a fixed number of decimals in a report.
  12. Label and save. Add a header above the column noting what is calculated. Sheets saves automatically, but check the save status if you are offline. For mobile, the same formula works: tap a cell, tap the formula bar or the function button, type the formula, and confirm.

Common Mistakes

  • Typing ERFC without the suffix. ERFC and ERFC.PRECISE are different function names. Sheets accepts plain ERFC as a separate function, but if your goal is the explicitly precise form, use the full name with the dot. Omitting the dot is the single most common error.
  • Using a space instead of a dot. The separator is a period, not a space or underscore. ERFC PRECISE or ERFC_PRECISE will not be recognised.
  • Passing a range. ERFC.PRECISE takes one value. Pointing it at a multi-cell range without an array-aware context returns an error or an unexpected single result. Enter the function per row instead.
  • Confusing it with the inverse. This function does not find the x that produces a given probability. If you need that, you are looking at the wrong tool — there is no built-in inverse complementary error function in Sheets, so you would need to solve for it numerically or use a statistical inverse function appropriate to your distribution.
  • Feeding text. A cell containing a number stored as text, or a stray space, causes a value error. Convert with a numeric format or clean the data first.
  • Rounding the input too early. Rounding inputs to two decimals before the calculation throws away the accuracy you came for. Round only the final displayed value.
  • Misreading the magnitude. For large inputs the result gets very small. If the cell shows zero, it may be a display-format issue rather than a true zero — widen the decimals or switch to scientific notation.

Tips

  • Feed inputs from a cell rather than hard-coding them so you can audit and change one value in one place.
  • Use the function to compute normal tail probabilities by halving the result, and to get the two-sided equivalent by using the full result.
  • Keep a small check row with known values — input 0 should give 1, and input 1 should give about 0.1573 — so you can spot a broken formula quickly.
  • Use named ranges for recurring input columns to make formulas easier to read and less prone to off-by-one reference errors when rows are inserted.
  • If you are building a chart from the results, note that ERFC decays quickly, so a linear axis can look flat; a logarithmic axis often reveals the shape more clearly.

Troubleshooting

If the cell shows #NAME?, Sheets does not recognise the function name. Retype it carefully as ERFC.PRECISE, checking the dot and the spelling, and make sure there is no leading apostrophe turning the formula into text. If you see #VALUE!, the argument is not a number — check for text, blank cells or imported data with hidden characters.

If #N/A appears, a referenced cell is empty or the reference is broken; click the cell and inspect the reference in the formula bar. If the result looks wrong rather than broken, test with a hard-coded number such as 1. A result near 0.1573 means the function itself is fine and the problem is in your input cell. Remember that labels and the exact position of buttons can differ slightly between the web version and the mobile app, and between interface versions and languages.

If the formula seems to calculate but the number does not update when you change the input, check whether calculation is set to manual — but note Google Sheets recalculates automatically by default, so the more likely cause is that the output cell is pointing at the wrong input cell. Delete the formula and rebuild it by clicking the input cell directly rather than typing the reference.

Frequently Asked Questions

What is the difference between ERFC and ERFC.PRECISE?

Both return the complementary error function. The .PRECISE name signals the stable, explicitly defined version. If you want the precise behaviour, use the full name; it avoids ambiguity when a spreadsheet is opened in different tools.

What range of values does ERFC.PRECISE accept?

Any real number. The output lies between 0 and 2, approaching 2 for very negative inputs and approaching 0 for very large positive inputs.

Can I use it on the Google Sheets mobile app?

Yes. The formula engine is the same, so typing =ERFC.PRECISE(x) in a cell on Android or iOS returns the same result. Only the interface for entering it differs.

How do I get a normal distribution tail probability from it?

Divide the result by 2 for a one-sided standard normal tail. Use the full ERFC.PRECISE value for the two-sided pair.

Why does my result show as zero?

For large inputs the true value is extremely small, and the cell's number format may be hiding it. Increase the decimal places or apply scientific notation to see the real figure.

Does it work with array formulas?

You can wrap it in ARRAYFORMULA to fill a column, but the function itself takes a single value. If that returns an unexpected result, enter it row by row instead.