How to calculate a percentage in Excel (formulas to copy)

Excel percentage formulas for percent of a total, percentage change, adding VAT or a discount, and finding the original price, plus how to fix 1000% formatting.

Works on: Excel for Microsoft 365 (Windows, Mac and web), Excel 2024, 2021, 2019 and 2016 · Time needed: 3 minutes · Published November 6, 2026 · Updated November 23, 2026

Also available in: العربية

Short answer: to calculate a percentage in Excel, divide the part by the total, for example =B2/C2, then press Ctrl + Shift + % (or select Percent Style on the Home tab) to show the result as a percentage. Don’t multiply by 100: the Percentage format already does that. For a percentage change, use =(new-old)/old, for example =(C2-B2)/B2.

Excel stores a percentage as a decimal: 25% is the number 0.25. Every formula below follows from that one rule, and so does the most common mistake (a column suddenly showing 1000%).

Which formula do I need?

You want Formula (example cells) Example Result
What percent is A of B? =A2/B2 1,000 of a 1,250 target 80%
Share of a total (whole column) =B2/$B$5 52,800 of 120,000 44%
Percentage increase or decrease =(C2-B2)/B2 4,800 → 5,400 12.5%
X% of a number =A2*B2 5% of 1,200 60
Add a percentage (VAT, a raise) =A2*(1+B2) 1,200 + 5% 1,260
Subtract a percentage (a discount) =A2*(1-B2) 360 − 25% 270
Original amount before a % was taken off =A2/(1-B2) 270 after 25% off 360
Price before VAT was added =A2/(1+B2) 1,260 including 5% 1,200

In every row, the cell with the percentage (B2 here) can hold either 25% or 0.25: Excel treats them as the same number. If you’d rather type the rate inside the formula, write =A2*(1+5%) or =A2*1.05.

Just need a quick answer without a spreadsheet? Use our percentage calculator. To pull a rate or price from another table first, see how to use XLOOKUP and VLOOKUP.

How do I calculate what percent one number is of another?

Divide the part by the whole and format the result as a percentage.

  1. Put the part in A2 (for example, sales achieved: 1000) and the whole in B2 (the target: 1250).
  2. In C2, type =A2/B2 and press Enter. Excel shows 0.8.
  3. With C2 selected, press Ctrl + Shift + %, or go to Home → Number group → Percent Style (the % button). C2 now shows 80%.
  4. To show decimals, select Increase Decimal next to the % button. The keyboard shortcut and the % button both start with no decimal places.

On a Mac, the same Percent Style button is on the Home tab; press Return instead of Enter.

How do I calculate the percentage of a total for a whole column?

Use an absolute reference (with $ signs) for the total, so it doesn’t move when you fill the formula down.

Row A B C
1 Branch Sales (AED) Share
2 Dubai 52,800 =B2/$B$5 → 44%
3 Abu Dhabi 39,600 =B3/$B$5 → 33%
4 Sharjah 27,600 =B4/$B$5 → 23%
5 Total =SUM(B2:B4) → 120,000
  1. Type =B2/$B$5 in C2. (Click B5 in the formula and press F4 to add the $ signs.)
  2. Drag the fill handle (the small square at the cell’s bottom-right corner) down to C4, or double-click it.
  3. Press Ctrl + Shift + %. The shares add up to 100%.

Without the $ signs, the next row would divide by B6, an empty cell, and you’d get a #DIV/0! error.

Excel for Microsoft 365 shortcut: the newer PERCENTOF function does the same in one step: =PERCENTOF(B2,B2:B4) returns Dubai’s share of the three branches. It works out SUM(first range) ÷ SUM(second range), so =PERCENTOF(B2:B3,B2:B4) gives Dubai and Abu Dhabi together (77%). Microsoft lists it for Excel for Microsoft 365; in Excel 2024, 2021 and older, use the division formula above.

How do I calculate a percentage increase or decrease in Excel?

Subtract the old value from the new one, then divide by the old value: =(new-old)/old.

  1. Old value in B2 (last month: 4800), new value in C2 (this month: 5400).
  2. In D2, type =(C2-B2)/B2 and press Enter.
  3. Press Ctrl + Shift + %. D2 shows 13%; select Increase Decimal once to see 12.5%.

A fall comes out negative: from 5,400 back to 4,800 is =(4800-5400)/5400, which is −11.1%. That isn’t a mistake. A rise and a fall of the same amount give different percentages because each one is divided by a different starting value.

Percent vs percentage points: if a rate moves from 4% to 5%, =C2-B2 gives 1% (one percentage point), while =(C2-B2)/B2 gives 25% (the relative change). Say which one you mean in a report.

How do I add or subtract a percentage (VAT, discounts, raises)?

Multiply by 1 plus the percentage to add it, or 1 minus the percentage to take it off.

Task Formula Example Result
Add UAE VAT (5%) =A2*(1+5%) 1,200 1,260
Add Saudi VAT (15%) =A2*(1+15%) 1,200 1,380
VAT amount only =A2*5% 1,200 60
Remove 5% VAT from a VAT-inclusive price =A2/(1+5%) 1,260 1,200
25% discount =A2*(1-25%) 360 270
Amount saved =A2*25% 360 90
8% salary increase =A2*(1+8%) 6,500 7,020

A common error is removing VAT with =A2*(1-5%). That gives 1,197, not 1,200, because the 5% was added on the price before VAT, not on 1,260. Always divide by (1+rate) to take VAT back out. Our VAT calculator does both directions for the Gulf rates, and the discount calculator handles stacked discounts such as 25% plus an extra 10%.

To find the original price before a discount, divide by (1-discount): a jacket that costs 270 after 25% off was =270/(1-25%) = 360.

Why does Excel show 1000% instead of 10%?

Because the cell already contained 10, and the Percentage format multiplies the stored number by 100 for display. Microsoft’s own example: a cell holding 10 shows 1000.00% once you apply Percentage format.

To fix it:

  • If you’re typing rates: type 10% (with the % sign), or 0.1. Both store 0.1 and display 10%.
  • If you’re converting a column of whole numbers like 10, 15, 20: in a spare column type =A2/100, fill down, then format that column as a percentage.
  • If you format empty cells first: Excel then reads what you type sensibly: Microsoft says typing 10 or 0.1 in a cell already formatted as Percentage both give 10%.

The other common mistake is the reverse: =A2/B2*100 formatted as a percentage shows 8000% instead of 80%. Leave out the *100.

How do I change decimals or show negative percentages in red?

  • Decimals: Home → Increase Decimal or Decrease Decimal. For an exact number, press Ctrl + 1 (Format Cells) → Number tab → Percentage → set Decimal places.
  • Negative in red: Ctrl + 1 → Number tab → Custom, and type 0.00%;[Red]-0.00% in the Type box. Falls now show in red, rises in the normal colour.
  • Back to a plain number: Ctrl + Shift + ~ (General) or pick General in the Number Format box.

Rounding only changes what you see. Excel still calculates with the full value, so a column of rounded shares can show 99% or 101% in total even though the real total is 100%.

Troubleshooting

You see Why Fix
1000% instead of 10% The cell held 10, not 0.1 Type 10% or 0.1, or divide by 100 first
8000% instead of 80% The formula multiplies by 100 and is formatted as % Remove *100
#DIV/0! The total cell is empty or 0, or the reference moved Use $ on the total ($B$5); check the total isn’t blank
0% everywhere Format is set to 0 decimals and values are tiny, or the cells are text Increase Decimal; re-enter numbers stored as text
Formula shown as text The cell was formatted as Text before you typed Format as General, then re-enter the formula
#NAME? with PERCENTOF Your Excel version doesn’t have it Use =B2/SUM(B2:B4) instead
Formula uses ; instead of , Your Windows region uses a comma as the decimal separator Type ; between arguments, e.g. =PERCENTOF(B2;B2:B4)

If a shared workbook won’t let you edit at all, see Excel file locked for editing.

Frequently asked questions

What is the formula for percentage in Excel?

=part/total, formatted as a percentage. For example, =A2/B2 with A2 = 1000 and B2 = 1250 shows 80% after you press Ctrl + Shift + %. For a change between two values, use =(new-old)/old.

How do I add 5% to a price in Excel?

Use =A2*(1+5%) or =A2*1.05. For 1,200, the result is 1,260. To get just the 5% amount, use =A2*5%, which gives 60.

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

Divide each value by the total cell with $ signs, for example =B2/$B$5, fill the formula down and format the column as a percentage. In Excel for Microsoft 365 you can also use =PERCENTOF(B2,B2:B4).

Why is my Excel percentage wrong?

Usually because the formula also multiplies by 100 (giving 8000% instead of 80%), or because the cell held a whole number like 10 before you applied Percentage format (giving 1000%). Excel’s Percentage format already multiplies by 100 for display.

What is the shortcut for percentage in Excel?

Ctrl + Shift + % applies the Percentage format with no decimal places on Windows. Use Increase Decimal on the Home tab to show more.

Updated November 2026. Sources (links re-checked 23 November 2026): Microsoft Support, “Calculate percentages” (worked examples such as =42/50 = 84% and =(2500-2342)/2342 = 6.75%), “Format numbers as percentages in Excel” (updated September 2026), “PERCENTOF function” (updated July 2026) and “Keyboard shortcuts in Excel” (updated August 2026). VAT rates: UAE 5%, Saudi Arabia 15% (standard rates, November 2026). Worked examples checked by FixAndCalc.

Related guides

All calculators

Currency converter & remittance calculator

Daily rates, what your family receives, and a monthly budget.

Percentage calculator

X% of a number, percent of a total, and percentage change.

Discount calculator

Sale price, savings and the real percentage off.

Loan EMI calculator

Monthly instalment, total interest and total repayment for a loan.

Compound interest calculator with monthly contributions

How savings grow with monthly deposits and compound interest.

Salary converter: hourly to monthly and yearly pay

Hourly, daily, weekly, monthly and yearly pay in one step.

Fuel cost calculator: petrol cost for a trip or commute

Petrol cost of a trip or monthly commute, split per person.

VAT calculator: UAE & KSA

Add or remove VAT, with Gulf and other country rates built in.

UAE gratuity calculator

Estimate your end-of-service gratuity under the UAE Labour Law.

UAE leave salary calculator: unused annual leave pay

Your annual leave balance and unused leave pay under UAE Labour Law.

Overtime calculator UAE & Saudi Arabia: pay by labour law

Overtime pay under UAE and Saudi labour law: night, rest day and holiday rates.

Saudi end of service calculator (Articles 84 & 85)

Estimate your end-of-service award under the Saudi Labor Law.

Salary tax calculator Pakistan 2026-27 (tax year 2027)

Income tax on your salary under the 2026-27 slabs, per month and per year.

Age calculator: Gregorian and Hijri (Islamic) age

Exact age in years, months and days, Gregorian and Hijri.

Days between dates calculator (with working days)

Days, weeks, months and working days between two dates.

Gold price calculator UAE: making charges & VAT

Price of gold jewellery or bars from today’s rate, with making charges and VAT.

Zakat calculator: how much zakat do I owe on money and gold?

Zakat on cash, gold, silver and savings, with gold or silver nisab.