ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Math
  3. How to Calculate Percent Error in Excel

How to Calculate Percent Error in Excel

By ExcelReady Team·Updated November 3, 2026·5 min read

The short answer

Percent error shows how far a measured or estimated value is from the true value. In Excel, use =ABS(B2-C2)/ABS(C2), where B2 is the measured value and C2 is the true value, then format the cell as a percentage. For 2.65 measured against a true 2.70, the result is 1.85%. Always divide by the true value.

Key takeaways

  • Percent error = |measured − true| / |true|. In Excel: =ABS(B2-C2)/ABS(C2).
  • Divide by the true (accepted) value, never by the measured value.
  • Format the result with Percent Style instead of multiplying by 100, so the cell keeps a real fraction.
  • Leave out ABS to see the direction: a negative result means the measurement was too low.
  • To summarise many rows, average the percent errors. For forecasts this is called MAPE.
On this page+
  1. What is percent error?
  2. The percent error Excel formula
  3. Worked example: lab measurements
  4. How to round percent error
  5. Signed percent error: too high or too low?
  6. Average percent error across many rows
  7. Common percent error mistakes
  8. Practise it

Percent error tells you how far a measured or estimated value is from the true value, as a percentage of the true value. In Excel it takes one short formula with ABS, plus percentage formatting. This guide is for students writing up lab results and for analysts checking forecasts against actuals, and it shows the formula, a worked example and the mistakes that give wrong answers.

What is percent error?#

Percent error is the size of the error divided by the true value:

Excel formula
Percent error = |measured − true| / |true| × 100%
  • Measured value: what you got, such as a lab reading or a forecast.
  • True value: the accepted or actual value you compare against. Some textbooks call it the theoretical or exact value.
  • The bars | | mean absolute value: the size of the number without its sign. So an error of −0.11 counts as 0.11.

A percent error of 0% means a perfect match. 5% means the measurement was off by 5% of the true value, in either direction.

The percent error Excel formula#

Put the measured value in B2 and the true value in C2, then type in D2:

Excel formula
=ABS(B2-C2)/ABS(C2)

With 2.65 measured and 2.70 true, Excel calculates 0.05 / 2.70 = 0.0185185…. Press Ctrl+Shift+% (Mac: ⌃⇧%) to show it as 2%, then click Increase Decimal twice to see 1.85%.

Each part has a job:

  1. B2-C2 is the error: −0.05.
  2. ABS(...) removes the sign, giving 0.05. The guide to absolute value in Excel explains ABS.
  3. /ABS(C2) divides by the true value. ABS on the true value only matters if it can be negative, such as a temperature below zero.

Excel works out what is inside brackets first, which is why B2-C2 must sit inside ABS before the division. If writing formulas like this is new to you, the first formulas lesson covers the basics of operators and brackets.

Worked example: lab measurements#

Here are four density readings for a material with an accepted value of 2.70 g/cm³:

ABCD
1SampleMeasuredAccepted% error
2S12.652.701.85%
3S22.782.702.96%
4S32.712.700.37%
5S42.592.704.07%

Type the formula in D2, then fill it down to D5 (Windows: Ctrl+D; Mac: ⌘D). Because the accepted value is the same for every row, you could also type it once in a cell such as G1 and lock it: =ABS(B2-$G$1)/ABS($G$1).

S3 is the closest reading (0.37%) and S4 the furthest (4.07%). To find the worst error in one cell, use =MAX(D2:D5), which returns 4.07%.

How to round percent error#

Use ROUND on the fraction, not on a number you multiplied by 100. To keep two decimal places of a percentage, round to four decimal places:

Excel formula
=ROUND(ABS(B5-C5)/ABS(C5),4)

This returns 0.0407, which shows as 4.07% with percentage format. Rounding to 2 would give 0.04, or 4%. The ROUND function guide and the overview of ROUND, ROUNDUP and ROUNDDOWN explain the second argument.

Only round when the rounded value is what you need, such as a value copied into a report. For averages and further maths, keep the full value and change only the display.

Signed percent error: too high or too low?#

Leave out ABS when you need to know the direction of the error:

Excel formula
=(B2-C2)/C2

S1 gives −1.85% (too low) and S2 gives +2.96% (too high). This is the same formula as percent change, with the true value as the starting point. The percent change formula guide covers that view.

Signed errors are useful for spotting bias. If most readings are negative, the method or instrument may read low. But don't average signed errors to judge accuracy: a +5% and a −5% average to 0% even though both are wrong.

Percent error is not the same as percent difference. Percent difference compares two values when neither is the true one, and divides by their average. The article on percent change vs percent difference shows when to use each.

Average percent error across many rows#

To summarise accuracy across many readings or forecasts, average the absolute percent errors:

Excel formula
=AVERAGE(D2:D5)

For the four samples, the result is 2.31%. When the rows are forecasts compared with actual results, this measure is called the mean absolute percentage error (MAPE). For example, a forecast of 1,150 against an actual of 1,000 has a percent error of 15%; average that across every month to get the MAPE.

In Microsoft 365 you can skip the helper column: =AVERAGE(ABS(B2:B5-C2:C5)/ABS(C2:C5)) returns the same 2.31%. In older Excel, a helper column is easier to check.

Common percent error mistakes#

These slips cause most wrong answers:

  1. Dividing by the measured value. =ABS(B2-C2)/B2 gives a slightly different, wrong number. Always divide by the true value.
  2. Missing brackets. =ABS(B2)-C2/C2 subtracts 1 from B2. Keep the subtraction inside ABS.
  3. Multiplying by 100 and then formatting as a percent. That shows 185% instead of 1.85%. Do one or the other, not both. The percentage formula guide covers this trap.
  4. A true value of zero. Dividing by 0 returns #DIV/0!. Use =IF(C2=0,"",ABS(B2-C2)/ABS(C2)) or a different measure.
  5. Averaging signed errors. Positive and negative errors cancel out. Average the absolute values instead.

Practise it#

Percent error is a percentage calculation with one extra step, so build the habit with real practice. Practise percentages and percent change in a live spreadsheet: you write the formula, format it and fill it down, and each answer is checked instantly. If brackets and operators still feel shaky, start with your first formulas.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Calculate the percent error for sample S4 in D5: the absolute difference between the measured value (B5) and the accepted value (C5), divided by the accepted value. Round it to 4 decimal places with ROUND.

fx
ABCDE
1
Sample
Measured
Accepted
% error
2
S1
2.65
2.7
3
S2
2.78
2.7
4
S3
2.71
2.7
5
S4
2.59
2.7
6
7
8

Tip: ABS(B5-C5) is the size of the error. Divide it by ABS(C5), then wrap everything in ROUND(…,4).

Practise this in a lesson

LessonPercentages and % changeCalculate percent change with (new - old) / old, format it as a percentage, and grow a number by a percent.LessonFreeYour first formulasType values, write formulas that start with =, and see how they recalculate.Function guideROUNDRound to decimals, whole numbers or the nearest thousand with Excel's ROUND. Learn when formatting isn't enough, then practice live.

Frequently asked questions

What is the formula for percent error in Excel?

+

Use =ABS(B2-C2)/ABS(C2), with the measured value in B2 and the true value in C2. Format the result as a percentage with Ctrl+Shift+% (Mac: Control+Shift+%).

Can percent error be negative?

+

The standard percent error uses absolute value, so it is never negative. If you leave out ABS, =(B2-C2)/C2 gives a signed error: negative when the measurement is below the true value and positive when it is above.

Is percent error the same as percent change?

+

The maths is similar, but the meaning differs. Percent change compares a new value with an old one. Percent error compares a measured or estimated value with a true one, and it usually ignores the sign.

How do I calculate average percent error in Excel?

+

Calculate the percent error for each row in a helper column, then use =AVERAGE(D2:D5). For forecasts, this average of absolute percent errors is called the mean absolute percentage error, or MAPE.

Why does my percent error formula show #DIV/0!?

+

The true value is 0 or the cell is empty, and Excel can't divide by zero. Wrap the formula in IF, for example =IF(C2=0,"",ABS(B2-C2)/ABS(C2)), or use a different measure for values near zero.

Sources

  • ABS function - Microsoft Support
  • ROUND function - Microsoft Support
  • Calculate percentages - Microsoft Support

Written and checked by the ExcelReady Team. First published November 3, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What is percent error?
  2. The percent error Excel formula
  3. Worked example: lab measurements
  4. How to round percent error
  5. Signed percent error: too high or too low?
  6. Average percent error across many rows
  7. Common percent error mistakes
  8. Practise it

Keep reading

Math· 7 min read

Absolute Value in Excel: How the ABS Function Works

To get the absolute value in Excel, use =ABS(number), for example =ABS(A2). ABS removes the minus sign, so -25 becomes 25 and 25 stays 25. It is most useful for differences in either direction, such as =ABS(C2-B2) for the gap between actual and budget, and =SUMPRODUCT(ABS(C2:C7-B2:B7)) to total those gaps.

Math· 6 min read

Percent Change Formula in Excel (With Examples)

The percent change formula in Excel is =(new-old)/old. If last year's sales are in B2 and this year's in C2, type =(C2-B2)/B2, then press Ctrl+Shift+% to show it as a percentage. A positive result is an increase and a negative result is a decrease. Always divide by the old value.

Comparisons· 6 min read

Percent Change vs Percent Difference in Excel

Percent change measures how much a value moved from an old figure to a new one: =(new-old)/old. It has a direction, so it can be positive or negative. Percent difference compares two values with no before and after: =ABS(a-b)/AVERAGE(a,b). It is always positive and gives the same answer whichever value comes first.

More on math

  • Percentage Formula in Excel: 5 Everyday Calculations
  • How to Calculate Percentage of Total in Excel
  • PERCENTILE and QUARTILE in Excel, Explained Simply
  • Excel PERCENTRANK: Find the Percentile Rank of a Score
  • PMT Function in Excel: Calculate a Loan Payment
  • Profit Margin and Markup Formulas in Excel
All math articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free