How to Add Markup in Excel Formulas

Formulas & functions · Updated November 26, 2026

Adding markup in Excel means increasing a base cost by a percentage to arrive at a selling price. The core formula is =cost*(1+markup%) or =cost+cost*markup%. For example, if an item costs $50 and you want a 25% markup, the formula =50*(1+25%) returns $62.50. This guide covers simple markup, multiple items, and how to handle markup as a decimal or percentage cell.

What You’ll Need

  • Excel 2016 or later (steps work in Excel for Microsoft 365, Excel 2021, Excel 2019, and Excel for the web; Mac differences noted).
  • A worksheet with cost values and, optionally, a markup percentage cell.
  • Basic familiarity with entering formulas and using cell references.

Step-by-Step

  1. Set up your data. Put your cost amounts in a column, say A2:A10. In a separate cell (e.g., B1), enter the markup percentage as a decimal (e.g., 0.25 for 25%) or as a percentage (25%). If you enter 25%, Excel stores it as 0.25 internally.
  2. Write the basic markup formula. In cell B2, enter =A2*(1+$B$1). This multiplies the cost by 1 plus the markup. If B1 contains 0.25, the formula gives cost * 1.25. Press Enter.
  3. Copy the formula down. Select B2, double-click the fill handle (the small square at the bottom-right corner of the cell) to fill the formula down to B10, or drag the handle down. The $B$1 absolute reference keeps the markup cell fixed.
  4. Alternative: add the markup amount separately. If you want to show the markup amount and the final price, use two columns. In C2, enter =A2*$B$1 to get the markup dollars. In D2, enter =A2+C2 to get the selling price. This is clearer for reporting.
  5. Use a percentage cell with formatting. If you prefer to see 25% in the cell, enter 25% in B1 and format it as Percentage (Home > Number > Percent Style). The formula still works because Excel treats the percentage as 0.25.
  6. Calculate markup from selling price (margin vs markup). If you know the selling price and cost and want the markup percentage, use =(selling_price-cost)/cost. For example, with cost in A2 and selling price in B2, in C2 enter =(B2-A2)/A2 and format as Percentage.
  7. Handle multiple markup rates. If different items have different markups, put the markup percentage in a column (e.g., B2:B10) and use =A2*(1+B2) in C2. Copy down. No absolute reference needed because each row references its own markup.
  8. For a whole column of costs with a constant markup, use a dynamic array (Excel 365). In B2, enter =A2:A10*(1+$B$1) and press Enter. Excel spills results into B2:B10 automatically. This works in Excel for Microsoft 365 and Excel 2021.

Common Mistakes

  • Using the wrong base for markup vs margin. Markup is based on cost; margin is based on selling price. If you use =cost/(1-markup%) when you meant markup, you’ll get a different result. For a 25% markup on $50, the correct selling price is $62.50, not $66.67 (which would be a 25% margin).
  • Forgetting absolute references. If you write =A2*(1+B1) and copy down, B1 becomes B2, B3, etc., causing errors. Use $B$1 to lock the markup cell.
  • Entering markup as a whole number. Typing 25 in a cell and using it in the formula gives 25 times the cost, not 25%. Always enter 25% or 0.25.
  • Not formatting the result as currency. The result may show as a decimal. Select the result cells and apply Currency or Accounting format (Home > Number > Accounting Number Format).
  • Using the wrong operator. =A2*1+B1 is not the same as =A2*(1+B1). The former multiplies A2 by 1 and then adds B1, which is incorrect.

Tips

  • Use a named range for the markup cell to make formulas readable. Select B1, type MarkupRate in the Name Box (left of the formula bar), then use =A2*(1+MarkupRate).
  • To round the selling price to two decimals, wrap the formula: =ROUND(A2*(1+$B$1),2).
  • If you need to change markup frequently, keep it in a single cell and update it once; all formulas update.
  • For a quick markup without a cell, type the percentage directly in the formula: =A2*(1+25%).
  • On Mac, the fill handle works the same; keyboard shortcut for copying down is Control+D (Windows) or Command+D (Mac) after selecting the range.

Troubleshooting

  • Formula returns #VALUE! This usually means a cell contains text. Check that cost cells are numbers, not text. Select the cells, look for a green triangle warning, and convert text to numbers.
  • Result shows 0.00 or a small decimal. You may have entered markup as 25 instead of 0.25. Check the markup cell and format it as Percentage if needed.
  • Copying formula gives wrong values. Verify absolute references. Press F2 on the formula to see the cell references; if B1 is not $B$1, edit it.
  • Excel for the web doesn’t spill. Dynamic arrays work in Excel for the web, but if you don’t see the spilled results, press Ctrl+Shift+Enter (or Cmd+Shift+Enter on Mac) to create an array formula in older versions.
  • Results are not updating when you change the markup cell. Check that calculation is set to Automatic (Formulas > Calculation Options > Automatic).

Frequently Asked Questions

Q: What is the difference between markup and margin?
Markup is the percentage added to cost to get selling price. Margin is the percentage of selling price that is profit. For a 25% markup on $50 cost, selling price is $62.50 and margin is $12.50/$62.50 = 20%.

Q: How do I add a fixed dollar markup instead of a percentage?
Simply add the dollar amount to the cost: =A2+5 adds $5. Or if the markup amount is in cell B1, use =A2+$B$1.

Q: Can I use a markup formula for multiple products with different costs and same markup?
Yes. Put costs in column A, markup in B1, and in B2 enter =A2*(1+$B$1) then copy down.

Q: How do I calculate the original cost if I know the selling price and markup?
Divide the selling price by (1 + markup). For example, if selling price is $62.50 and markup is 25%, cost = =62.5/(1+0.25) which gives $50.

Q: Does the formula work in Google Sheets?
Yes, the same formulas work in Google Sheets. The absolute reference syntax is identical. Menu paths differ slightly, but the formula logic is the same.

Q: Why does my percentage cell show 0.25 instead of 25%?
You likely entered 0.25 and formatted as General. Select the cell, go to Home > Number > Percent Style, or press Ctrl+Shift+% (Windows) / Cmd+Shift+% (Mac).

Related

Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.

More in Formulas & functions

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.