How to Calculate Percentages in Excel

To calculate a percentage in Excel, divide the part by the whole, then format the result as a percentage. For example, type =B2/C2 in an empty cell, press Enter, and then select Home > Percent Style (%) or press Ctrl+Shift+%. Excel turns a result such as 0.86 into 86%. You don’t multiply by 100 yourself, because the Percentage format does that for you when it displays the number.

That one pattern covers the most common question, but “calculate a percentage” can mean several different things: what share of a total something is, how much a number went up or down, what 15% of a price is, or what a price becomes after a discount. Each one uses a slightly different formula. This guide gives you each formula with a worked example, shows how to copy it down a column without breaking it, and explains the mistakes that produce results like 8600% or #DIV/0!.

Before you start: versions and the one idea that makes percentages easy

These steps work in Excel for Microsoft 365 (the current subscription version) on Windows and Mac, Excel 2024, Excel 2021, Excel 2019, Excel 2016 and Excel for the web. The formulas are identical in every version. Only a few buttons and shortcuts differ, and those differences are called out where they matter. One newer function, PERCENTOF, is only in Excel for Microsoft 365, and that section says so. The instructions were checked against Microsoft’s support documentation in October 2026.

The idea that makes everything else easier: in Excel, a percentage is just a decimal number wearing a costume. 25% is stored as 0.25, 100% is stored as 1, and 150% is stored as 1.5. The Percentage format only changes how the value looks. That has three practical consequences:

  • Your formulas should return a decimal (part divided by whole), and the format turns it into a percent. If you also multiply by 100, you get a number 100 times too big.
  • When you type 15% into a cell or a formula, Excel stores 0.15, so =A2*15% and =A2*0.15 give the same answer.
  • When you need to “add” a percentage to a number, you multiply by 1 plus the percentage, because 1 represents 100%.

Calculate a basic percentage (part of a whole)

The basic percentage formula in Excel is =part/whole. Use it whenever you want to know “what percent of X is Y?” In this example, a small theater wants to know what percentage of its seats sold for each show.

A B C D
1 Show Tickets sold Seats % sold
2 Friday 215 250 86%
3 Saturday 247 250 99%
4 Sunday matinee 138 250 55%

Step 1: Enter the part and the whole in separate columns

Put the “part” (tickets sold) in one column and the “whole” (seats available) in another, with one row per item. Keeping the numbers in cells rather than typing them into the formula means the percentage updates automatically if a number changes.

Step 2: Type the division formula in the first result cell

Click cell D2, type =B2/C2 and press Enter. The forward slash is Excel’s division sign. You’ll see a decimal, 0.86, because the cell is still using the General format. That is the correct answer; it just isn’t displayed as a percent yet.

Step 3: Apply the Percentage format

Select D2 and, on the Home tab, in the Number group, select Percent Style (the button with the % symbol). You can also press Ctrl+Shift+% on Windows or Control+Shift+% on a Mac. The cell now shows 86%.

Excel worksheet with the formula =B2/C2 in cell D2 outlined with callout 1 and the Percent Style button in the Number group of the Home tab outlined with callout 2
Enter the division formula (1), then select Percent Style in the Number group on the Home tab (2) to show the decimal as a percentage. (Illustration)

Step 4: Copy the formula down the column

Select D2 again, then double-click the small square at its bottom-right corner (the fill handle) or drag it down to D4. Excel copies the formula and adjusts it for each row, so D3 becomes =B3/C3 and D4 becomes =B4/C4. The Percentage format is copied with it. If you haven’t used the fill handle before, see how to click and drag the fill handle in Excel.

Percent Style shows no decimal places by default, so 0.8648 would display as 86%. To see 86.48%, select the cells and click Increase Decimal twice, also in the Number group. More on this in the formatting section.

For a quick one-off answer you don’t need cells at all: type =215/250 into any empty cell, press Enter, and apply Percent Style.

Calculate each item’s percentage of a total

A very common task is working out what share of a total each row represents, such as each region’s share of company sales. The formula is the same part-divided-by-whole idea, but the whole is a single total cell, and that changes how you write the formula.

A B C
1 Region Sales % of total
2 North $18,400 32.86%
3 South $12,750 22.77%
4 East $9,600 17.14%
5 West $15,250 27.23%
6 Total $56,000 100.00%

Step 1: Add a total

In B6, type =SUM(B2:B5) and press Enter. This adds the four regions to get $56,000. (Our guide on how to sum a column in Excel covers AutoSum and other ways to get the total.)

Step 2: Divide the first value by the total, and lock the total

In C2, type =B2/$B$6 and press Enter. The dollar signs make $B$6 an absolute reference, which means it stays pointed at B6 when you copy the formula. B2 has no dollar signs, so it is a relative reference that moves down one row each time you copy.

The quickest way to add the dollar signs: while you are typing the formula, click in or just after B6 and press F4 on Windows. On a Mac, press Command+T or F4. Each press cycles through $B$6, B$6, $B6 and back to B6; stop at $B$6.

Step 3: Copy the formula down and format it

Double-click the fill handle on C2 to copy the formula to C5 (and C6, if you want the total row to show 100%). Then select the results and apply Percent Style. Click Increase Decimal twice to show two decimal places, so the shares add up visibly to 100%.

Excel worksheet with region sales in column B, a total in B6 and percentages of total in column C, with the formula bar showing =B2/$B$6 and the $B$6 part outlined with callout 1, and the result column outlined with callout 2
The dollar signs in $B$6 keep the formula pointed at the total (1) when you copy it down the column (2). (Illustration)

What goes wrong without the dollar signs: if you type =B2/B6 and copy it down, row 3 becomes =B3/B7, row 4 becomes =B4/B8, and so on. B7 and B8 are empty, so you get #DIV/0! errors. Whenever every row should divide by the same cell, lock that cell. Microsoft explains the different reference types on its page about switching between relative, absolute and mixed references.

Tip for Microsoft 365 and Excel 2021 or later: these versions support dynamic arrays, so you can calculate every share in one step. Type =B2:B5/SUM(B2:B5) in C2 and press Enter. The results “spill” into C2:C5 automatically. You only edit the formula in C2, and the other cells must be empty or you’ll see a #SPILL! error.

Calculate percentage change (increase or decrease)

Percentage change tells you how much a value grew or shrank compared with where it started. The formula is:

=(new value - old value) / old value

The old value (the starting point) always goes in the denominator. A positive result is an increase, and a negative result is a decrease. The parentheses matter: without them, Excel divides before it subtracts and gives the wrong answer.

Change between two columns

Here, a shop compares last year’s and this year’s sales for each product.

A B C D
1 Product Last year This year Change
2 Notebooks 1,200 1,380 15.0%
3 Pens 3,500 3,150 -10.0%
4 Backpacks 420 546 30.0%
  1. Click D2 and type =(C2-B2)/B2, then press Enter. Excel shows 0.15.
  2. Apply Percent Style. The cell shows 15%, meaning notebook sales rose 15%.
  3. Double-click the fill handle to copy the formula down. Pens show -10%, a 10% drop.

You’ll also see this written as =C2/B2-1. It gives exactly the same result (1.15 minus 1 is 0.15), so use whichever you find easier to read.

Change from one row to the next

When your data runs down a single column, such as monthly sales, compare each row with the row above it.

A B C
1 Month Sales Change from previous month
2 January 4,800 (blank)
3 February 5,280 10.00%
4 March 5,016 -5.00%
5 April 5,600 11.64%

Start in C3, not C2, because January has no earlier month to compare with. Type =(B3-B2)/B2, press Enter, format as a percentage and copy it down to C5.

Change compared with a fixed starting point

To compare every month with January rather than with the previous month, lock the starting cell: =(B3-$B$2)/$B$2. Copied down, April’s result is 16.67%, its growth since January.

Percent vs. percentage points: if a conversion rate goes from 40% to 50%, it rose by 10 percentage points, but by 25% in relative terms (=(50%-40%)/40%). When you compare two percentages, decide which one your reader needs. Subtracting the cells (=C2-B2) gives the percentage-point difference.

Find a percentage of a number

To find a percentage of an amount, such as a tip, a sales tax or a commission, multiply the amount by the percentage: =amount*percent.

  • A 7.25% sales tax on a $340 purchase: =340*7.25% returns 24.65.
  • With the price in A2 and the rate in B2 (formatted as a percentage, showing 7.25%): =A2*B2.
  • An 18% tip on an $86.40 bill: =86.40*18% returns 15.552, which you’d display as $15.55.

Typing the % sign inside the formula is fine; Excel reads 7.25% as 0.0725. If you type the rate into a cell, either type 7.25% with the sign or type 0.0725. Typing plain 7.25 into an unformatted cell makes Excel treat it as 7.25 (that is, 725%), and your result would be 100 times too big.

Format the result as Currency or Number, not as a percentage, because it is an amount of money, not a rate.

Increase or decrease a number by a percentage

To add or remove a percentage in one step, multiply by 1 plus or minus the percentage:

  • Increase: =amount*(1+percent). A $48 price raised by 12%: =48*(1+12%) returns 53.76.
  • Decrease: =amount*(1-percent). A $120 jacket at 30% off: =120*(1-30%) returns 84.

With the amount in A2 and the percentage in B2, the formulas are =A2*(1+B2) and =A2*(1-B2). The 1 stands for 100% of the original, so 1+12% is 112% of the price.

Watch out: increasing and then decreasing by the same percentage doesn’t get you back to where you started. $100 raised 10% is $110, and $110 cut by 10% is $99. Each percentage applies to a different starting number.

Change a whole column by a percentage without a formula column

If you want to raise a list of prices by 5% in place, Paste Special can multiply every cell at once. This overwrites the original numbers, so make a copy of the sheet first or be ready to press Ctrl+Z to undo.

  1. In an empty cell, type =1+5% and press Enter (use =1-5% to reduce by 5%). The cell shows 1.05.
  2. Select that cell and press Ctrl+C to copy it.
  3. Select the prices you want to change, right-click the selection and choose Paste Special.
  4. Under Paste, choose Values. Under Operation, choose Multiply. Select OK.
  5. Every selected price is now 5% higher. Delete the helper cell.

Choosing Values keeps the prices’ existing number format instead of copying the helper cell’s format. Microsoft describes the Add, Subtract, Multiply and Divide operations on its Excel paste options page.

Find the original number from a percentage

Sometimes you know the result and the percentage, and you need the starting number. For example, you paid $54 for a sweater that was 25% off. What was the full price?

Paying 25% less means you paid 75% of the original. Divide what you paid by that percentage: =54/75% (or =54/(1-25%)) returns 72. The full price was $72.

The same logic removes a tax that’s already included. If a $107.25 total includes 7.25% sales tax, the pre-tax price is =107.25/(1+7.25%), which is 100.

A common mistake is to subtract or add the percentage instead: 25% of $54 is $13.50, and $54 plus $13.50 is $67.50, which is wrong because the 25% discount was taken from the original price, not from $54.

More percentage formulas: conditions, completion and PERCENTOF

Percentage of a total that meets a condition

If a product appears in many rows and you want its share of the total, add up just its rows with SUMIF, then divide by the grand total. With product names in A2:A50, amounts in B2:B50 and the total in B51:

=SUMIF(A2:A50,"Notebooks",B2:B50)/$B$51

To avoid typing the product name, put it in a cell such as E1 and use =SUMIF(A2:A50,E1,B2:B50)/$B$51. Change E1 and the percentage updates.

Percentage of tasks completed

For a task list where column C says “Done” for finished items, divide the number of finished tasks by the number of tasks:

=COUNTIF(C2:C21,"Done")/COUNTA(A2:A21)

COUNTIF counts the cells that say Done, and COUNTA counts every non-empty task name. If 14 of 20 tasks are done, the result is 70% once formatted. Counting the task-name column (A) rather than the status column means rows with a blank status still count as unfinished.

The PERCENTOF function (Excel for Microsoft 365)

Excel for Microsoft 365 has a function made for share-of-total calculations. Its syntax is =PERCENTOF(data_subset, data_all). It adds up the subset, adds up the whole set and divides one by the other, which Microsoft describes as logically the same as =SUM(data_subset)/SUM(data_all).

Using the region table above, =PERCENTOF(B2,B2:B5) returns North’s share (32.86% once formatted), and =PERCENTOF(B2:B3,B2:B5) returns North and South combined (about 55.6%). You don’t need a separate total cell. PERCENTOF is mainly designed to work inside the GROUPBY and PIVOTBY functions. Microsoft documents it for Excel for Microsoft 365 only. Excel 2024, 2021 and earlier don’t recognize it, and a formula Excel doesn’t recognize typically shows a #NAME? error, so stick with =B2/SUM($B$2:$B$5) if you share files with people on older Excel. See Microsoft’s PERCENTOF function page for details.

Percentage difference between two values (no before and after)

Percentage change needs a clear starting point. If you’re comparing two values that are equals, such as the prices of the same item at two stores, some fields use the “percentage difference,” which divides by the average of the two values: =ABS(A2-B2)/AVERAGE(A2,B2). For $40 and $50 that gives 22.22%. Use this only when you specifically need a symmetrical comparison; for growth, use percentage change.

Format percentages and change decimal places

Excel has three ways to apply the Percentage format. They all change how a number is displayed, not the value stored in the cell.

  • Percent Style button: Home tab, Number group, % button. Shows the number with no decimal places.
  • Keyboard shortcut: Ctrl+Shift+% on Windows, Control+Shift+% on Mac, and Ctrl+Shift+5 (the same keys) in Excel for the web.
  • Format Cells: for full control over decimal places, described below.

Set an exact number of decimal places

  1. Select the cells with your percentages.
  2. Open Format Cells. On Windows, press Ctrl+1 or select the small arrow (the dialog box launcher) at the bottom-right corner of the Number group on the Home tab. On a Mac, press Command+1, or open the Number Format list on the Home tab and choose More Number Formats. Our guide to the Format Cells dialog box launcher shows where it is.
  3. On the Number tab, select Percentage in the Category list.
  4. Enter the number of places in the Decimal places box. For example, 1 shows 32.9%, and 2 shows 32.86%. The Sample area previews the result.
  5. Select OK.
Excel Format Cells dialog box on the Number tab with Percentage selected in the Category list, outlined with callout 1, and the Decimal places box set to 2, outlined with callout 2, with the sample showing 32.86%
In Format Cells, choose Percentage (1), then set the number of decimal places (2). (Illustration)

The Increase Decimal and Decrease Decimal buttons next to Percent Style do the same thing one place at a time.

Show negative percentages in red

To make decreases stand out, use a custom number format. In Format Cells, choose Custom and type 0.00%;[Red]-0.00% in the Type box. Positive values keep the normal text color, and negative values turn red. The part after the semicolon is the format for negative numbers. You can also use Conditional Formatting on the Home tab to color cells less than 0. For more number-format codes, see how to format cells in Excel.

Formatting cells before you type

Excel treats existing numbers and newly typed numbers differently, which explains many surprises:

  • If a cell already contains 10 and you apply the Percentage format, it shows 1000%, because 10 really is 1,000%.
  • If you format empty cells as Percentage first and then type 10, Excel shows 10% (it stores 0.1). Typing 0.1 into that cell also shows 10%.

So if you have a column of whole numbers like 15, 20 and 35 that are meant to be percentages, divide them by 100 first (or use Paste Special with Divide, as in the method above) and then apply the format.

Displayed value vs. stored value

Formatting rounds what you see, not what Excel uses. A cell showing 33% may hold 0.333333, and calculations use the full value. That’s why a column of rounded percentages can appear to add up to 99% or 101%. If you need the stored value itself to be rounded, wrap the formula in ROUND. Because percentages are decimals, two decimal places in percent means four decimal places in the formula: =ROUND(B2/C2,4) stores 0.3333, displayed as 33.33%. See Microsoft’s ROUND function page for more options.

Percentage formula cheat sheet

What you want Formula pattern Example Result
What percent X is of Y =part/whole =215/250 86%
Share of a total (copied down) =B2/$B$6 =18400/56000 32.86%
Percentage change =(new-old)/old =(1380-1200)/1200 15%
Percentage of a number =amount*percent =340*7.25% 24.65
Increase by a percentage =amount*(1+percent) =48*(1+12%) 53.76
Decrease by a percentage =amount*(1-percent) =120*(1-30%) 84
Original before a discount =paid/(1-discount) =54/(1-25%) 72
Price before tax =total/(1+tax) =107.25/(1+7.25%) 100
Share meeting a condition =SUMIF(range,criteria,sum_range)/total =SUMIF(A2:A50,"Pens",B2:B50)/$B$51 varies
Percent completed =COUNTIF(range,"Done")/COUNTA(range) =14/20 70%

Rows with a percent result need the Percentage format; rows with an amount result should use Number or Currency.

Common mistakes and how to fix them

The result shows 8600% instead of 86%

You multiplied by 100 and also applied the Percentage format, so the value was multiplied twice. Remove the *100 from the formula and keep the format. If you prefer to show a plain number like 86 without a % sign, keep the *100 but set the cell to the General or Number format instead.

The result shows 0.86 instead of 86%

The math is right; the cell just isn’t formatted. Select it and apply Percent Style or press Ctrl+Shift+%.

The result shows 0% or 1%

Percent Style shows no decimals, so small values like 0.004 round to 0% on screen. Add decimal places with Increase Decimal. If every result is exactly 0% or 100%, check that your cells contain numbers, not text (see below).

#DIV/0! error

Excel can’t divide by zero or by an empty cell. Usually the denominator cell is blank, or you forgot the dollar signs and the copied formula is pointing at empty cells below your total. Check the formula in a cell that shows the error by clicking it and reading the formula bar. If some rows genuinely have a zero starting value, hide the error with IF: =IF(B2=0,"",(C2-B2)/B2) leaves the cell blank instead. =IFERROR((C2-B2)/B2,"") also works, but it hides every kind of error, including typos, so use it with care. Microsoft’s IFERROR function page explains how it works.

#VALUE! error, or the formula ignores some numbers

One of the cells contains text that looks like a number, such as a value pasted from a website or typed with an apostrophe in front. Text values often sit at the left edge of the cell and may show a small green triangle. Select the cell, click the warning icon and choose Convert to Number, or retype the value.

The formula itself appears in the cell

If you see =B2/C2 as text instead of a result, the cell was formatted as Text before you typed the formula, or the formula doesn’t start with an equals sign. Change the format to General and re-enter the formula. Our guide on why Excel shows formulas instead of results covers the other causes.

Percentage change looks backwards

Check which value is in the denominator. It must be the old (starting) value. =(C2-B2)/C2 divides by the new value and gives a different, incorrect answer for growth.

Percentage change with negative starting values

The standard formula gives misleading signs when the old value is negative, such as a loss turning into a smaller loss. Some analysts divide by the absolute value instead, =(C2-B2)/ABS(B2), so an improvement always shows as positive. Even so, percentage changes across zero are hard to interpret, and it’s often clearer to report the difference in dollars.

The total row doesn’t add up to exactly 100%

This is display rounding. Each percentage is rounded on screen, but Excel adds the full values. Show more decimal places to confirm the total is 100%, or round each value with ROUND if the displayed figures must add up exactly.

Frequently Asked Questions

What is the formula for percentage in Excel?

The basic formula is =part/whole, for example =B2/C2, formatted as a percentage with Home > Percent Style or Ctrl+Shift+%. There is no single built-in “percentage” function in most versions, because different questions need different formulas: percentage change is =(new-old)/old, and a percentage of a number is =amount*percent.

Do I need to multiply by 100 in Excel?

No. If you apply the Percentage format, Excel displays the decimal multiplied by 100 with a % sign. Multiplying by 100 as well makes the result 100 times too big. Only multiply by 100 if you want a plain number without the % sign.

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

Divide each value by the total cell, locked with dollar signs, for example =B2/$B$6, then copy the formula down and apply the Percentage format. In Excel for Microsoft 365 you can also use =PERCENTOF(B2,B2:B5), which doesn’t need a separate total cell.

How do I calculate percentage increase in Excel?

Subtract the old value from the new one and divide by the old value: =(C2-B2)/B2. Format it as a percentage. A positive result is an increase and a negative result is a decrease.

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

Multiply the number by 1 plus 10%: =A2*(1+10%) or =A2*1.1. To subtract 10%, use =A2*(1-10%). Adding =A2+10% only adds 0.1, which is not what you want.

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

Divide the first number by the second. To find what percent 30 is of 120, type =30/120 and format it as a percentage. The answer is 25%.

Why does my percentage show as a decimal?

The cell is in the General or Number format. Percentages are stored as decimals, so 0.25 is the correct value for 25%. Apply the Percentage format to display it as 25%.

Is there a percentage formula in Excel for Mac?

Yes, the formulas are identical on Mac and Windows. The Percent Style button is in the same place on the Home tab. The keyboard shortcut is Control+Shift+%, and you can lock a cell reference with Command+T while editing a formula.

Can I calculate percentages in Excel for the web?

Yes. All the formulas in this guide work in Excel for the web, and the Percent Style button is on the Home tab. The keyboard shortcut for the Percentage format is Ctrl+Shift+5. Microsoft lists PERCENTOF only for Excel for Microsoft 365, so if Excel for the web doesn’t recognize it, use the division formula instead.

Next step

Start with the formula that matches your question: =part/whole for a share, =(new-old)/old for change, and =amount*(1+percent) to add a percentage. Lock any total with dollar signs before you copy a formula down, and let the Percentage format do the multiplying by 100. For Microsoft’s own examples, see its Calculate percentages and Format numbers as percentages pages.