In Excel: calculate markup as =(SellingPrice-Cost)/Cost and format the result as Percentage; a 100% markup means the selling price is double the cost, not that profit equals selling price.
On this page7
Put cost in one column and selling price in another.
Use =(SellingPrice-Cost)/Cost for markup.
Format the formula cell as Percentage.
Use margin instead only when the denominator should be selling price.
What this does
Markup measures profit relative to cost. It is different from margin, which measures profit relative to selling price. That distinction is why a 100% markup can look like an error: if an item costs $50 and sells for $100, profit is $50, markup is 100%, and margin is 50%. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. Treat “excel formula markup 100 percent error” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected formula shows up while it is still harmless. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That turns a calculation you can defend to a CFO or an auditor into a method you can reuse, explain, and defend when the workbook leaves your screen.
A worked example
Cost is in A2 and selling price is in B2. With A2 = 50 and B2 = 100, =(B2-A2)/A2 returns 1.00, which displays as 100% when formatted as Percentage. The margin formula =(B2-A2)/B2 returns 0.50, or 50%. Both are correct; they answer different questions. Markup is a pricing metric. Getting the denominator wrong can make a product look more or less profitable than it really is. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.
In Google Sheets
Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. For “excel formula markup 100 percent error”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.
Common mistakes
- Using selling price as the denominator and calling the result markup.
- Thinking 100% markup is impossible; it simply means price is twice cost.
- Forgetting to format 1.00 as 100%.
- Mixing products with zero or blank cost, which causes divide-by-zero errors.
Frequently asked questions
What is the Excel formula for markup?
Use =(SellingPrice-Cost)/Cost, then format the result as Percentage.
Why does markup show 100%?
Because profit equals cost. A $50 cost sold for $100 has $50 profit, which is 100% of cost.
What is the difference between markup and margin?
Markup divides profit by cost. Margin divides profit by selling price.
Other ways people ask this
This is also commonly searched as “how to calculate percent error in excel”, “percent error formula excel” and “how to find percent error in excel”. They describe the identical operation, so you are in the right place no matter how you phrased it.
Why do people search for this in so many different ways?
Because the same task has many names. “how to calculate percent error in excel”, “percent error formula excel”, “how to find percent error in excel” all point at the one operation explained on this page, which is why they all lead here.