Percentage Formula in Excel: How to Calculate Percentages

Learn the percentage formula in Excel for calculating percentage of total, percentage change, increase, decrease, and more. Step-by-step examples included.

Percentage Formula in Excel: How to Calculate Percentages

Percentage Formula in Excel

You'd think something as straightforward as a percentage calculation would be impossible to get wrong in a spreadsheet. But percentage formulas in Excel trip people up constantly — not because the maths is hard, but because Excel's percentage formatting works differently than most people expect.

Type 25 into a cell, format it as Percentage, and you get 2500% instead of 25%. Multiply a price by what you thought was a 20% discount rate and the result is 20 times the price instead of 80% of it. These aren't rare edge cases. They're the most common Excel percentage mistakes, and they happen because the relationship between the number Excel stores and the number it displays is frequently misunderstood.

Percentages come up in almost every spreadsheet scenario — calculating what portion of a budget was spent, finding the percentage increase between two months, determining what discount to apply to a price, or figuring out what percentage of students passed an exam. Excel handles all of these calculations, but there's no single PERCENTAGE function — instead, you use basic arithmetic operators and formatting to build percentage formulas that fit your specific situation.

The fundamental percentage formula is Part/Total. If you sold 45 items out of 200 total, the percentage is =45/200, which gives 0.225. Format that cell as Percentage and it displays as 22.5%. That's the core concept behind every percentage calculation in Excel: divide the part by the whole, and format the result as a percentage. Everything else — percentage change, percentage increase, percentage of total across a column — builds on this single idea.

Once you understand that every percentage is just a division problem (what's the ratio of this piece to the whole?), the formula for any percentage scenario becomes obvious. The specifics change — the part and total are different in each case — but the structure is always the same division operation followed by percentage formatting.

Where most people run into trouble isn't the formula itself — it's the formatting. Excel stores percentages internally as decimals (0.225, not 22.5), so a cell showing 22.5% actually contains 0.225. This matters when you use percentage values in further calculations. If you type 22.5 into a cell and then multiply another value by it, you get a result that's 22.5 times larger, not 22.5% of it. But if the cell is formatted as Percentage and contains 0.225, multiplying by it gives the correct 22.5% result. Understanding this decimal-vs-display distinction prevents the most common percentage errors in Excel.

This guide covers every common percentage calculation: basic percentage, percentage of total, percentage change, percentage increase and decrease, adding and subtracting percentages, weighted percentages, and handling percentage formatting. Each section includes the formula, a worked example, and the formatting step to display the result correctly.

  • Basic percentage: =Part/Total — format result as Percentage (e.g. =45/200 = 22.5%)
  • Percentage of total (column): =A2/$A$10 — lock the total cell with $ signs when copying down
  • Percentage change: =(New-Old)/Old — positive result = increase, negative = decrease
  • Percentage increase: =Old*(1+Percentage) — multiply original by (1 + percentage as decimal)
  • Percentage decrease (discount): =Old*(1-Percentage) — multiply original by (1 - percentage as decimal)
  • Add a percentage: =Value+Value*Percentage or =Value*(1+Percentage)
  • Important: Format percentage cells as Percentage (Ctrl+Shift+%) or the display will show decimals instead of percentages

Step-by-Step: Basic Percentage Calculation

book

Step 1: Identify the Part and the Total

Every percentage calculation has two components: the part (the smaller number you're measuring) and the total (the whole it's part of). For example, if 30 students out of 120 passed an exam, the part is 30 and the total is 120. If you spent $450 out of a $2,000 budget, the part is 450 and the total is 2000. Identify which cell contains the part and which contains the total.
rows

Step 2: Enter the Formula =Part/Total

Click an empty cell where you want the percentage result. Type = to start the formula, click the cell containing the part (or type its address), type / (the division operator), and click the cell containing the total. Press Enter. For example, =B2/C2 divides B2 by C2. The result appears as a decimal — 0.25 if 30 is divided by 120, for instance.
star

Step 3: Format the Result as Percentage

Select the cell with your result. Either press Ctrl+Shift+% (the percentage format shortcut) or go to Home → Number group → click the % button. The decimal 0.25 now displays as 25%. You can adjust decimal places by clicking the Increase Decimal or Decrease Decimal buttons next to the % button. Formatting as percentage multiplies the displayed value by 100 — but the underlying cell value remains a decimal.
check

Step 4: Copy the Formula Down

If you have multiple rows of data and want the percentage for each row, copy the formula down using the fill handle (double-click the small square in the bottom-right corner of the cell). Make sure the total cell reference uses absolute references ($C$10 instead of C10) if all rows share the same total — otherwise the total reference shifts with each row and produces incorrect results.
Microsoft Excel - Microsoft Excel certification study resource

Percentage of Total: How to Calculate Each Row's Share

One of the most common percentage tasks is calculating what percentage each individual value contributes to a column total. If you have a list of sales figures by product and want to know what percentage of total sales each product represents, this is the formula pattern to use.

The formula is =A2/$A$10, where A2 is the individual product's sales and $A$10 is the cell containing the total (with absolute references so it doesn't shift when you copy the formula down). If product A sold $15,000 and the total is $100,000, the formula returns 0.15, which displays as 15% when formatted as Percentage.

If your data is arranged differently — with categories in rows and totals in a specific column rather than at the bottom of the same column — the same logic applies but the cell references change accordingly. The formula structure remains Part/Total with the total locked using absolute references.

The dollar signs in $A$10 are essential. Without them, copying the formula from row 2 to row 3 would shift the total reference from A10 to A11, which either contains different data or is empty — producing a wrong answer or a division error. Press F4 after clicking the total cell to add the dollar signs automatically.

If you don't have a total cell yet, you can embed the SUM in the formula: =A2/SUM($A$2:$A$9). This calculates the total dynamically, so you don't need a separate SUM row. The trade-off is readability — the formula is longer and harder to audit. For most spreadsheets, having an explicit total row and referencing it is cleaner.

When working with Tables (Ctrl+T formatted data), percentage-of-total calculations become even cleaner because structured references adjust automatically as you add or remove rows. Instead of =A2/$A$10, a Table formula might read =[@Sales]/SUM([Sales]), where [@Sales] is the current row's sales value and SUM([Sales]) totals the entire column dynamically. This eliminates the need for a separate total row and the risk of misplacing absolute references — the formula self-adjusts as the table grows.

A useful check: if your percentage column is correct, all the individual percentages should add up to 100% (or very close to it, allowing for rounding). If they sum to something far from 100%, you've likely got an incorrect total reference in one or more rows — check whether the absolute reference is applied consistently.

Common Percentage Calculations

Percentage Change Between Two Values

The formula for percentage change is =(New-Old)/Old. If last month's sales were $80,000 and this month's are $92,000, the percentage change is =(92000-80000)/80000 = 0.15, or 15%. A positive result means increase; negative means decrease. This formula works for any two comparable values — revenue growth, price changes, population change, score improvement. Format the result as Percentage. If the old value is zero, the formula produces a #DIV/0! error — there's no meaningful percentage change from zero.

Add a Percentage to a Value (Markup)

To increase a value by a percentage — for example, adding a 20% markup to a cost — use =A1*(1+B1), where A1 is the original value and B1 is the percentage (formatted as Percentage, so 20% is stored as 0.20). This multiplies the original by 1.20, giving the marked-up price. Alternatively, =A1+A1*B1 does the same thing less compactly. If the percentage is a fixed number rather than a cell reference, use =A1*1.2 directly.

Subtract a Percentage (Discount)

To decrease a value by a percentage — applying a 15% discount to a price — use =A1*(1-B1), where B1 contains 15% (stored as 0.15). This multiplies by 0.85, giving the discounted price. To find the discount amount itself (not the discounted price), use =A1*B1. To reverse-engineer a pre-discount price from a discounted price, divide: =DiscountedPrice/(1-DiscountRate). This is commonly needed when a sale price includes an unknown discount and you need the original.

Weighted Percentage (Weighted Average)

When different items contribute different weights to an overall percentage — for example, exams worth 40% and homework worth 60% of a final grade — use SUMPRODUCT: =SUMPRODUCT(Scores,Weights). If exam score is 85 and homework score is 92, with weights 0.40 and 0.60: =85*0.40+92*0.60 = 89.2. SUMPRODUCT handles this cleanly for any number of items: =SUMPRODUCT(A2:A5,B2:B5) multiplies each score by its weight and sums the results.

Common Percentage Errors and How to Fix Them

The most common percentage mistake in Excel is a formatting issue, not a formula issue.

  • Result shows 0.25 instead of 25%: The cell isn't formatted as Percentage. Select the cell and press Ctrl+Shift+% or click the % button in the Home tab
  • Result shows 2500% instead of 25%: You entered 25 in a percentage-formatted cell. Excel interprets 25 in a percentage cell as 2500% (25.00 × 100). Enter 0.25 instead, or enter 25 in an unformatted cell and then format it as Percentage
  • Multiplying by a percentage gives wrong result: Check whether the percentage cell contains 0.25 or 25. If it's 25 (not formatted as Percentage), dividing by 100 first fixes the formula: =A1*B1/100
  • Prevention: Format cells as Percentage BEFORE entering data, and always enter percentage values as decimals (0.25 for 25%)
Excel Spreadsheet - Microsoft Excel certification study resource

Percentage Formatting in Excel: What You Need to Know

Percentage formatting in Excel does one specific thing: it multiplies the cell's value by 100 and appends a % sign. A cell containing 0.25 displays as 25%. A cell containing 25 displays as 2500%. This is the single most important thing to understand about percentages in Excel, because it determines whether you enter values as decimals or whole numbers — and getting this wrong produces results that are off by a factor of 100.

The safest workflow is to format your percentage cells as Percentage before entering data. When you type 25 into a cell that's already formatted as Percentage, Excel stores it as 0.25 and displays it as 25%. When you type 25 into an unformatted cell and then format it as Percentage afterward, Excel keeps the stored value of 25 and displays 2500% — which is almost certainly not what you wanted.

To format cells as Percentage, select the cells and either press Ctrl+Shift+% (keyboard shortcut), click the % button in the Home tab's Number group, or right-click → Format Cells → Number tab → Percentage. You can adjust the number of decimal places in the Format Cells dialog — displaying 25.00% vs 25.0% vs 25% depending on the precision you need.

A related formatting nuance: if you need to switch a cell's format between Percentage and Number (or General), the underlying value doesn't change — only the display does. A cell storing 0.25 shows 25% as Percentage and 0.25 as Number. If you change it from Number to Percentage, it goes from 0.25 to 25%. But a cell storing 25 would show 2500% as Percentage and 25 as Number. Knowing this helps you diagnose formatting issues quickly: change the cell to General format temporarily to see what's actually stored.

When building formulas that reference percentage cells, the stored decimal value is what the formula uses — not the displayed percentage. =A1*B1 where B1 shows 25% actually computes A1*0.25, which is correct. This is why it's critical that percentage cells are genuinely formatted as Percentage (storing 0.25) rather than containing the number 25 with manual % text appended. The former works correctly in formulas; the latter breaks every calculation that references the cell.

Percentage Formula Best Practices

  • Format cells as Percentage BEFORE entering data — this ensures Excel stores the value correctly as a decimal (0.25 for 25%) rather than a whole number
  • Use absolute references ($) when referencing a total cell in percentage-of-total formulas — prevents the reference from shifting when you copy the formula
  • Add IFERROR to division formulas if your total cell could ever be zero — =IFERROR(A2/B2,0) prevents #DIV/0! errors
  • Verify that percentage columns sum to approximately 100% as a sanity check — significant deviation usually indicates a reference error
  • Use =(New-Old)/Old for percentage change, not =(Old-New)/Old — the first gives positive for increase and negative for decrease, which is the standard convention
  • When multiplying a value by a percentage, confirm the percentage cell contains a decimal (0.25) not a whole number (25) — the wrong format produces results off by a factor of 100
  • For weighted averages, use SUMPRODUCT(Values,Weights) rather than manual multiplication — it handles any number of items cleanly and is easier to maintain

Percentage Formatting: Decimal Entry vs Whole Number Entry

Pros
  • +Entering percentages as decimals (0.25) is the most reliable approach — it works correctly regardless of whether the cell is formatted as Percentage, Number, or General
  • +Pre-formatting cells as Percentage before entry lets you type whole numbers (25) and have them stored correctly as decimals — the most user-friendly option for data entry
  • +Formulas referencing properly formatted percentage cells work correctly without any adjustment — =A1*B1 computes the right result when B1 is formatted as Percentage
  • +Consistent formatting across the workbook prevents the '25 vs 0.25' confusion that causes the most common percentage calculation errors
Cons
  • Entering 25 into an already formatted Percentage cell and entering 25 into an unformatted cell then formatting it produce different results — a confusing inconsistency
  • Copy-pasting data from external sources into percentage-formatted cells can produce unexpected values if the source data uses whole numbers rather than decimals
  • Text-formatted cells containing '25%' are text strings, not numbers — formulas can't compute with them. Use VALUE() and division by 100 to convert: =VALUE(LEFT(A1,LEN(A1)-1))/100
  • Percentage formatting can mask extreme values — a cell showing 10000% looks dramatic but is actually just 100 stored as a decimal, which might be a data entry error worth investigating
Excellence Playa Mujeres - Microsoft Excel certification study resource

Advanced Percentage Formulas

Beyond basic percentage calculations, Excel supports several more complex percentage operations that come up frequently in business, academic, and analytical contexts.

Cumulative percentage (running total as percentage) shows what portion of the total has been accumulated through each row. This is common in Pareto analysis, where you rank items by value and calculate the cumulative percentage to identify the '80/20' cut-off. The formula is =SUM($B$2:B2)/SUM($B$2:$B$100), where the first SUM range expands as you copy down (growing running total) and the second SUM range stays fixed (constant grand total). Format as Percentage to see the cumulative share build from 0% to 100%.

Year-over-year percentage change compares the same period across different years. If Q1 revenue was $500,000 last year and $575,000 this year, the YoY change is =(575000-500000)/500000 = 15%. When building a table with multiple periods, the formula references the same column from the previous year's row. This is one of the most common financial reporting calculations and drives trend analysis in revenue, cost, and performance dashboards.

When building a multi-period comparison table, it helps to place the percentage change formula in a separate column labelled '% Change YoY' so readers can see both the absolute values and the relative change side by side. Conditional formatting on the percentage change column (green for positive, red for negative) makes trends immediately visible without requiring the reader to interpret the numbers.

Compound percentage growth calculates the result of applying a percentage increase repeatedly. If you invest $10,000 at 7% annual return for 5 years, the result is =10000*(1+0.07)^5 = $14,025.52. The ^5 operator raises the growth factor to the power of the number of periods. This formula underpins financial projections, population growth models, and any scenario where a percentage is applied cumulatively over time rather than as a one-time calculation.

Percentage rank — showing where a value falls relative to a dataset — can be computed with =PERCENTRANK(Range,Value). A result of 0.75 means the value is at the 75th percentile. Excel also offers PERCENTRANK.INC and PERCENTRANK.EXC for inclusive and exclusive percentile calculations. This is useful for benchmarking individual performance against a group — how does this month's sales figure compare to all months in the dataset.

Another advanced technique is calculating the contribution margin percentage for product profitability analysis. The formula =(Revenue-Variable_Costs)/Revenue gives the contribution margin as a decimal, which when formatted as Percentage shows what portion of each revenue dollar is available to cover fixed costs and profit. Applied across a product line in a spreadsheet, this quickly identifies which products are most and least profitable on a percentage basis, independent of their absolute revenue — a $50 product with a 60% margin contributes more per dollar than a $200 product with a 15% margin.

Percentage Formulas: Quick Reference

Part/TotalThe fundamental percentage formula in Excel — divide the part by the total, then format as Percentage. This is the building block for every other percentage calculation
Ctrl+Shift+%Keyboard shortcut to format selected cells as Percentage in Excel — also available via the % button in the Home tab Number group
(New-Old)/OldPercentage change formula — returns the proportional difference between two values. Positive = increase, negative = decrease. Format result as Percentage
×100What Percentage formatting does internally — it multiplies the stored value by 100 for display. A cell storing 0.25 shows 25%. A cell storing 25 shows 2500%
SUMPRODUCTThe function for weighted percentage calculations — =SUMPRODUCT(Values,Weights) multiplies each value by its weight and sums the results for weighted averages
IFERRORWrapper function to prevent #DIV/0! errors in percentage formulas — =IFERROR(A2/B2,0) returns 0 when the divisor is zero instead of displaying an error

Using Percentages in Charts and Dashboards

When displaying percentages in Excel charts, the formatting choices you make determine whether the chart communicates clearly or confuses readers. Pie charts are the natural format for percentage-of-total data — they show how a whole divides into parts. But pie charts become unreadable with more than 6–7 slices, so for datasets with many categories, a horizontal bar chart with percentage labels is often clearer. Stacked bar charts work well for showing how percentage composition changes over time (for example, market share by quarter).

To add percentage data labels to a chart, click the chart, click the + icon (Chart Elements), check Data Labels, and format them to show percentage values. If your chart data is in raw numbers rather than percentages, you can calculate percentages in the chart itself by switching the axis to percentage display — right-click the axis, Format Axis, and adjust the number format. Or create a helper column with the percentage formula and chart that column instead.

The helper column approach is generally cleaner because it gives you full control over the calculation and makes the chart's data source explicit — useful when someone else needs to understand or modify the chart later. It also means the percentages are visible in the worksheet alongside the chart, which is helpful for documentation, review, and ongoing auditing purposes in the future.

For dashboards, conditional formatting with percentage data creates visual indicators without building separate charts. A colour scale applied to a percentage column turns the cells into a heat map — green for higher percentages, red for lower. Icon sets can add arrows or traffic lights based on percentage thresholds. These in-cell visualisations work well alongside traditional charts and take up no additional space on the dashboard.

When building charts from percentage data, pay attention to the axis scale. A percentage axis should typically start at 0% to avoid exaggerating visual differences between values. A chart showing 48%, 51%, and 53% with an axis starting at 45% makes those differences look enormous, while the same data plotted from 0% to 100% shows them as nearly identical. Choose the axis range that honestly represents the magnitude of the differences in your data. For trend analysis where small percentage changes matter, a truncated axis is acceptable — but label it clearly so readers don't misinterpret the scale.

Percentage Formulas With IF and Conditional Logic

Combining percentage calculations with IF statements lets you apply different percentage rates based on conditions — a common requirement in commission structures, tax brackets, tiered pricing, and performance bonuses.

For a simple commission structure that pays 5% on sales up to $10,000 and 8% on sales above $10,000: =IF(A2<=10000,A2*0.05,A2*0.08). For a tiered structure where the first $10,000 earns 5% and anything above earns 8%: =IF(A2<=10000,A2*0.05,10000*0.05+(A2-10000)*0.08). The second formula is more accurate for blended-rate scenarios because it applies each rate only to the portion of the value that falls in that tier.

For graduated tax brackets, nested IF statements handle multiple tiers: =IF(A2<=9875,A2*0.10,IF(A2<=40125,9875*0.10+(A2-9875)*0.12,...)). This gets complex quickly with many brackets. For cleaner implementation, put the bracket thresholds and rates in a separate table and use VLOOKUP or XLOOKUP to retrieve the applicable rate — this is easier to maintain and audit than deeply nested IF formulas.

Another practical use of conditional percentage logic: progress tracking. If you're monitoring a project's completion percentage and want to flag items that are behind schedule, =IF(B2

For data validation scenarios, you can use percentage thresholds to accept or reject user input. A formula like =AND(A1>=0,A1<=1) in a custom data validation rule ensures that entries in a percentage column fall between 0% and 100% (0 and 1 as stored decimals). This prevents data entry errors where someone types 150% for a completion percentage or a negative number for a proportion that should never be negative. Adding a clear input message ('Enter a value between 0% and 100%') reduces confusion for anyone filling in the spreadsheet.

Percentage Formula in Excel Questions and Answers

About the Author

James R. HargroveJD, LLM

Attorney & Bar Exam Preparation Specialist

Yale Law School

James R. Hargrove is a practicing attorney and legal educator with a Juris Doctor from Yale Law School and an LLM in Constitutional Law. With over a decade of experience coaching bar exam candidates across multiple jurisdictions, he specializes in MBE strategy, state-specific essay preparation, and multistate performance test techniques.