Percentage change, increase and percentage of a total in Excel

To work out a percentage change in Excel, subtract the old value from the new one and divide by the old value: =(C2-B2)/B2. For a percentage of a total, divide the part by the total: =C2/C$7. Then format the cell as a percentage. Excel stores 15% as the number 0.15, so neither formula multiplies by 100.

This guide covers the percentage formulas you’ll use most in Excel, each tried on a small table with the result it gives: percentage change, percentage of a total, a percentage of a number, adding or taking off a percentage, working back to the number you started with, the difference between two numbers, averages of percentages and growth rates. After those come 7 exercises to practise them.

We ran every formula on this page through the practice sheet our lessons use. Each result you see is the one it returned.

Percentage formulas at a glance

Most examples below use this table of sales by region. Column B is last year, column C is this year, and row 7 holds the totals.

Sales by region, last year and this year, with the totals in row 7
ABC
1RegionLast yearThis year
2North48,00052,800
3South36,50033,580
4East22,00026,400
5West13,50014,175
6Online09,600
7Total120,000136,555
FormulaWhat it doesResult
=(C2-B2)/B2North’s percentage change from last year to this year.10.0%
=C2/C$7North’s share of this year’s total. The $ keeps row 7 when you fill it down.38.7%
=C2*5%5% of North’s sales this year.2,640
=C2*(1+5%)North’s sales with 5% added.55,440
=C2*(1-5%)North’s sales with 5% taken off.50,160
=C2/(1+10%)Last year’s figure, worked back from this year’s and its 10% rise.48,000
=ABS(C2-C3)/AVERAGE(C2,C3)The percentage difference between North’s and South’s sales.44.5%

Where a formula divides, the number it divides by is the one the percentage is of: last year for a change, the total for a share. Format the cells as percentages to show the results that way.

How Excel stores a percentage

A percentage is a number out of 100, so Excel stores 15% as 0.15. The Percentage format changes only how the number looks: it shows the number multiplied by 100, with a % sign. So a percentage formula doesn’t need *100, and adding it makes the result 100 times too big.

FormulaWhat it doesResult
=15%A percentage in a formula is a decimal: 15% is 0.15.0.15
=0.15The same number with the Percentage format.15%
=C2*100The 15% discount in C2 multiplied by 100, then shown as a percentage: 100 times too big.1500%
  • To show a cell as a percentage, select it and choose Percent Style in the Number group on the Home tab, or press Ctrl+Shift+%. Increase Decimal, in the same group, adds a decimal place.
  • Type a percentage with its % sign and Excel stores the decimal: type 15% and the cell holds 0.15, shown as 15%.
  • Formatting a cell that already holds 15 shows 1500%, because the format multiplies what’s there by 100. Type 15% or 0.15 in its place. Cells you format as percentages before you type into them work differently: there, 15 becomes 15%.

Percentage change: increase and decrease

The percentage change from an old value to a new one is the difference divided by the old value: =(new-old)/old. Here the old value is last year’s, in column B, and the new one is this year’s, in column C.

FormulaWhat it doesResult
=(C2-B2)/B2North’s percentage change from last year to this year.10.0%
=C2/B2-1The same change: this year divided by last year, minus 1.10.0%
=(C3-B3)/B3South’s sales fell, so its change is negative.-8.0%
=(B3-C3)/B3The same fall as a positive number: old minus new, divided by old.8.0%
=(C7-B7)/B7The change in the total, in row 7.13.8%
  • A rise is positive and a fall is negative. To show a fall as a positive percentage decrease, subtract the other way round: old minus new.
  • Keep the brackets. Excel divides before it subtracts, so =C2-B2/B2 takes 1 away from C2 and returns 52,799.
  • Fill it down for the other regions. Neither reference needs a $, because each row compares its own two figures.

Excel doesn’t have a percentage change function, so this formula is the way to do it. Try it in your browser. This task comes from lesson 7 of Excel Foundations, our free course, and it checks your formula the way the course does.

In D2, work out the percentage change from last year to this year.

Example data for this task
ABCD
1MonthLast yearThis yearChange
2March12001380 (your answer goes here)

Create a free account to carry on with the rest of Excel Foundations.

When the old value is 0

Online sales started this year, so last year’s figure in B6 is 0. Dividing by 0 gives #DIV/0!, and a change from nothing has no percentage, so show a word in its place.

FormulaWhat it doesResult
=(C6-B6)/B6Online had no sales last year, and Excel can’t divide by 0.#DIV/0!
=IF(B6=0,"New",(C6-B6)/B6)IF checks for a 0 first, and shows New in its place.New
=IFERROR((C6-B6)/B6,"New")IFERROR shows New in place of any error.New

IF checks for the 0 before it divides. IFERROR is shorter, but it replaces every error, so it would also hide the #VALUE! you’d get if a cell held text by mistake.

When the old value is negative

This business made a loss last year and a profit this year.

Sales, costs and profit, last year and this year
ABC
1Last yearThis year
2Sales48,00052,800
3Costs50,00049,800
4Profit-2,0003,000
FormulaWhat it doesResult
=(C4-B4)/B4Profit went up, but dividing by last year’s negative figure makes the change negative.-250%
=(C4-B4)/ABS(B4)ABS makes last year’s figure positive, so a rise shows as a rise.250%

Dividing by a negative number flips the sign, so the usual formula shows the improvement as -250%. ABS drops the minus sign from the old value, so a rise shows as a rise. In a report, you might show n/a for a change from a negative number instead, because a percentage change from a loss is hard to read.

Percentage of a total

To show each row as a percentage of the total, divide it by the total: =part/total. Before you fill the formula down, put a $ before the total’s row number, so every row divides by row 7.

FormulaWhat it doesResult
=C2/C$7North’s share of this year’s total. The $ keeps row 7 when you fill it down.38.7%
=C2/SUM(C$2:C$6)The same share, with the total worked out inside the formula.38.7%
=C3/C8What =C2/C7 becomes one row down when the total isn’t locked: C8 is empty.#DIV/0!

Without the $, the reference moves down a row each time, and row 3 divides by C8, which is empty. Filled down correctly, the shares add up to 100%, which is a quick check on the formula.

Marks on a test work the same way: 42 out of 50 is =42/50, which is 84%.

Percentage of a number

To find a percentage of a number, multiply the number by the percentage. The percentage can be in a cell, or typed into the formula with its % sign.

A price list with a discount on each item
ABC
1ItemPriceDiscount
2Desk lamp24.0015%
3Notebook3.5010%
4Stapler9.9925%
FormulaWhat it doesResult
=B2*C2The desk lamp’s price times its 15% discount: the saving.3.60
=B2*15%The same, with 15% typed into the formula.3.60

Try it here. This task, also from lesson 7 of Excel Foundations, works out a saving from a price and a discount.

In D2, work out the saving: the price times the discount.

Example data for this task
ABCDE
1ItemPriceDiscountSavingSale price
2Desk lamp24.0015% (your answer goes here)

Create a free account to practise the rest of Excel Foundations.

Increase or decrease a number by a percentage

To add a percentage, multiply by 1 plus the percentage: adding 20% leaves you with 120% of the number. To take a percentage off, multiply by 1 minus it.

FormulaWhat it doesResult
=B2*(1+20%)Adds 20% to the price: 120% of it.28.80
=B2*1.2The same: 1.2 is 120% as a decimal.28.80
=B2+B2*20%The same: the price plus 20% of it.28.80
=B2*(1-C2)Takes the 15% discount off: 85% of the price is left.20.40
=B2-B2*C2The same: the price minus the saving.20.40

To do the same for a whole column, put the percentage in a cell of its own, such as E1, and refer to it with $ signs before you fill the formula down: =B2*(1+$E$1). To change the numbers where they are instead, put the multiplier in a spare cell, such as 120% to add 20%, or =1-15% to take 15% off. Copy that cell, select the numbers, and use Paste Special with Values and Multiply.

One more from lesson 7: the sale price, once the saving comes off.

In E2, work out the sale price after the saving.

Example data for this task
ABCDE
1ItemPriceDiscountSavingSale price
2Desk lamp24.0015%3.60 (your answer goes here)

Create a free account to practise the rest of Excel Foundations.

Work back to the number before the percentage

To find the number before a percentage was added, divide by 1 plus the percentage, and to find it before a percentage was taken off, divide by 1 minus it. A price of 28.80 that includes 20% VAT is 120% of the price before VAT.

FormulaWhat it doesResult
=28.8/(1+20%)The price before 20% VAT: 28.80 is 120% of it.24.00
=28.8*(1-20%)Taking 20% off the price with VAT gives too little.23.04
=20.4/(1-15%)The price before a 15% discount: 20.40 is 85% of it.24.00
=3.6/15%The whole, from a part and the percentage it is.24.00

Taking 20% off doesn’t undo adding 20%, because the second 20% is of a bigger number. The last formula works back from a part: 3.60 is 15% of 24.00.

Percentage difference between two numbers

A percentage change has a starting point: the old value. When two numbers don’t have one, such as the sales of two regions, the answer depends on which one you divide by.

FormulaWhat it doesResult
=(C2-C3)/C3How much higher North’s sales are, as a percentage of South’s.57.2%
=(C2-C3)/C2How much lower South’s sales are, as a percentage of North’s.36.4%
=ABS(C2-C3)/AVERAGE(C2,C3)The percentage difference between North’s and South’s sales.44.5%

The same gap is 57.2% of South’s sales and 36.4% of North’s. The percentage difference divides by the average of the two, so it gives one answer whichever way round you take them, and ABS keeps it positive.

The difference between two percentages

When both numbers are percentages, the gap between them is in percentage points. A margin that goes from 20% to 25% has risen by 5 percentage points, which is a 25% increase.

FormulaWhat it doesResult
=25%-20%The change in percentage points.5%
=(25%-20%)/20%The percentage change in the margin itself.25%

Excel shows the first result as 5%, so label it as points.

Averaging percentages

Three teams took a training test. Column D holds each team’s pass rate, =B2/C2 filled down.

Training test results by team, with each team’s pass rate in column D
ABCD
1TeamPassedTook the testPass rate
2Sales273090%
3Support142070%
4Warehouse459050%
FormulaWhat it doesResult
=AVERAGE(D2:D4)The average of the three rates. Each team counts the same, whatever its size.70.0%
=SUM(B2:B4)/SUM(C2:C4)Everyone who passed, out of everyone who took the test.61.4%
=SUMPRODUCT(D2:D4,C2:C4)/SUM(C2:C4)Each rate weighted by the size of its team: the same result.61.4%

AVERAGE gives each team the same weight, so the 20 people in Support count as much as the 90 in the warehouse. The pass rate for everyone is the total who passed divided by the total who took the test. SUMPRODUCT gets there from the rates, by weighting each one by the size of its team. Use AVERAGE when the groups are the same size, or when each group should count the same.

Growth rate and CAGR

Growth from one year to the next is a percentage change: column C holds =(B3-B2)/B2, filled down. The compound annual growth rate, or CAGR, is the one steady rate that would take the first year’s figure to the last.

Revenue for five years, with each year’s growth in column C
ABC
1YearRevenueGrowth
2202180,000
3202292,00015.0%
42023101,0009.8%
5202496,000-5.0%
62025116,00020.8%
FormulaWhat it doesResult
=(B6/B2)^(1/4)-1The compound annual growth rate over the four years from 2021 to 2025.9.7%
=(B6/B2)^(1/(A6-A2))-1The same, with the number of years worked out from column A.9.7%
=AVERAGE(C3:C6)The average of the four yearly rates in column C.10.2%
=B2*(1+AVERAGE(C3:C6))^42021’s revenue, grown at that average rate for four years.117,838

Five years of figures have four years of growth between them, so the power is 1/4, or 1 over the gap between the years in column A. Excel 2013 and later also have RRI, which gives the same rate: =RRI(4,B2,B6).

The average of the yearly rates, 10.2%, overstates the growth, because each year grows from a different starting point. Growing 10.2% a year for four years would end at 117,838, not 116,000.

Percentage exercises with answers

These 7 exercises run on one table. Download the workbook to do them in Excel, or type the table in yourself, starting in cell A1.

Download the practice workbook

Excel file, 8 KB. It opens in Google Sheets too.

A shop’s sales by product for last year and this year, with the totals in row 8. Below the table are a growth target, a product that’s new this year and a price that includes VAT. The yellow cells show where each answer goes.

The table for exercises 1 to 7
ABCDEF
1ProductLast yearThis yearChangeShareTarget
2Notebooks10,80011,880 (your answer goes here) (your answer goes here) (your answer goes here)
3Pens10,4009,360 (your answer goes here) (your answer goes here) (your answer goes here)
4Desk lamps12,00013,800 (your answer goes here) (your answer goes here) (your answer goes here)
5Folders5,6005,880 (your answer goes here) (your answer goes here) (your answer goes here)
6Staplers3,6003,420 (your answer goes here) (your answer goes here) (your answer goes here)
7Tape1,8002,340 (your answer goes here) (your answer goes here) (your answer goes here)
8Total44,20046,680 (your answer goes here)
9
10Growth target5%
11
12Gift cards01,800 (your answer goes here)
13
14Price with VAT54.00
15VAT rate20%
16Before VAT (your answer goes here)
17Discount15%
18Sale price (your answer goes here)
  1. In D2, work out the percentage change in notebook sales from last year to this year. Fill it down to D7.
  2. In D8, work out the percentage change in the total.
  3. In E2, work out notebooks’ share of this year’s total in C8. Lock the total with $, then fill down to E7.
  4. B10 holds a growth target. In F2, work out next year’s target for notebooks: this year’s sales plus the target. Lock B10, then fill down to F7.
  5. Gift cards are new this year, so last year’s sales in B12 are 0. In D12, work out the percentage change, or show New when last year is 0.
  6. The price in B14 includes VAT at the rate in B15. In B16, work out the price before VAT.
  7. In B18, work out the sale price: the price in B14 with the discount in B17 taken off.

Answers to exercises 1 to 7

ExerciseFormulaHow it worksResult
1=(C2-B2)/B2New minus old, divided by old. Pens sold less this year, so D3 is negative: -10.0%. Also works: =C2/B2-1.10.0%, -10.0%, 15.0%, 5.0%, -5.0%, 30.0%
2=(C8-B8)/B8The total grew 5.6%, which isn’t the average of D2:D7: a product with bigger sales moves the total more. Also works: =C8/B8-1.5.6%
3=C2/$C$8$C$8 stays put while C2 moves. Without the $, E3 would divide by C9, which is empty, and show #DIV/0!. The six shares add up to 100%. Also works: =C2/SUM($C$2:$C$7).25.4%, 20.1%, 29.6%, 12.6%, 7.3%, 5.0%
4=C2*(1+$B$10)Multiplying by 1 plus the rate adds the rate: next year’s target for notebooks is 105% of this year’s sales, 12,474. Also works: =C2+C2*$B$10.12,474; 9,828; 14,490; 6,174; 3,591; 2,457
5=IF(B12=0,"New",(C12-B12)/B12)Dividing by 0 gives #DIV/0!, so IF checks for the 0 first. IFERROR works here too, but it hides every other error as well. Also works: =IFERROR((C12-B12)/B12,"New").New
6=B14/(1+B15)The price with VAT is 120% of the price before it, so divide by 1 plus the rate. Taking 20% off B14 gives too little, because that 20% is of the bigger number.45.00
7=B14*(1-B17)With 15% off, 85% of the price is left: 45.90. Also works: =B14-B14*B17.45.90

Questions

What is the formula for percentage increase in Excel?

Subtract the old value from the new one and divide by the old value: =(C2-B2)/B2, with the old value in B2 and the new one in C2. Then format the cell as a percentage. =C2/B2-1 gives the same result. A decrease comes out negative.

How do I add 20% to a number in Excel?

Multiply it by 1 plus 20%: =A2*(1+20%), or =A2*1.2. To take 20% off, multiply by 1 minus 20%: =A2*(1-20%). If the 20% is in a cell, refer to that cell and lock it with $ signs before you fill the formula down: =A2*(1+$B$1).

How do I calculate a percentage decrease in Excel?

Use the same formula as for an increase, =(new-old)/old, and a decrease comes out negative: a fall from 50 to 40 gives -20%. To show the decrease as a positive number, subtract the other way round, =(old-new)/old, which gives 20%.

How do I add a percentage to several cells at once?

Put the percentage in a cell of its own, such as 5% in B1. Write the formula for the first row with that cell locked, =A2*(1+$B$1), and fill it down. To change the numbers where they are, without a new column, type 105% in a spare cell and copy it, select the numbers, then use Paste Special and choose Values and Multiply.

How do I calculate a percentage of a total in Excel?

Divide each part by the total and format the cell as a percentage: =B2/B$8, with the total in B8. The $ keeps every row pointing at the total when you fill the formula down, and the percentages add up to 100%.

How do I calculate the percentage of marks in Excel?

Divide the marks by the most you could score, and format the cell as a percentage: =B2/C2, with the marks in B2 and the maximum in C2. 42 out of 50 gives 84%. For several tests together, add up the marks and the maximums first, then divide: =SUM(B2:B5)/SUM(C2:C5).

Why does Excel multiply my number by 100 when I format it as a percentage?

The Percentage format shows a number multiplied by 100, so a cell that holds 15 shows 1500%. Excel stores 15% as 0.15, so type 15% or 0.15 instead, or divide the number by 100. If you format empty cells as percentages before you type, Excel turns 15 into 15% as you enter it.

Keep practising

Excel Foundations, our free course, covers percentages in its second module, and the $ sign you need to fill them down in its fourth. It has 30 short lessons and 82 exercises in a live sheet, and passing its test earns a certificate of completion.

See what’s in Excel Foundations

Shares of a total come back in Excel Intermediate, growth rates and CAGR in Excel for Analysis, and percentage change, shares, VAT and rounding in Excel Test Prep. All three come with Pro. For more on writing formulas, see our guide to basic Excel formulas, and for more practice, our Excel exercises with answers.

Start with Excel Foundations. It’s free.

Pro is $19 a month or $99 a year for every other track, with SQL included as it launches.

Create free account Go to your lessons