Margin and markup use the same profit figure but divide it by different amounts. Confusing them can leave a price below the target you had in mind. Start with one product, service, or project, then use a calculator to see how much remains after the costs you enter.
Enter a cost and a selling price for the same sale
- Gather the costs relevant to that item or service. For a product, these might include purchase or production costs. For a project, you might use the labor and materials attributable to that job.
- Enter those costs and the selling price into the calculator using one currency. Select Calculate to see profit per sale, margin, and markup together.
- Keep the scope consistent. A per-item cost cannot be compared directly with the selling price for a ten-item bundle. Allocate bundle costs or change both inputs to the bundle level.
Understand the two percentages
Consider an illustrative cost of 60 and a selling price of 100. Subtracting cost from price gives 40 profit per sale. Dividing 40 by the selling price of 100 gives a 40% margin. Dividing the same 40 by the cost of 60 gives a markup of about 66.67%.
- Margin describes profit as a share of revenue from the sale. Markup describes how much was added to cost.
- If you add a 40% markup to a cost of 60, the price becomes 84. That produces a margin of about 28.57%, which is lower than a 40% margin target.
- To find a price for a target margin, divide cost by one minus the target expressed as a decimal. For a 40% margin on a cost of 60, divide 60 by 0.60 to get 100.
Test a discount and a loss
- Keep cost at 60 and reduce selling price from 100 to 90. Profit falls from 40 to 30 and margin becomes 33.33%. The 10% price reduction removes 25% of the original profit per sale in this example.
- Enter a selling price of 50 with the same cost. The result is a loss of 10 and a margin of −20%. A negative result can be useful when checking clearance prices or project overruns.
- A zero cost produces a 100% margin, but markup has no defined value because it would divide by zero. The calculator labels that case rather than showing an infinite percentage.
Match the result to the costs you included
If you enter only direct product costs, the result is a gross margin estimate. It does not establish net profitability after rent, software, administration, and taxes. Add relevant expenses consistently when comparing scenarios and state what you included. There is no single margin percentage that is appropriate for every business.
- Use the subscription cost calculator to estimate recurring software expenses before deciding how to allocate them across projects.
- Shopify’s official profit margin tool is another way to check the distinction between margin and markup. Compare like-for-like inputs and check which extra costs each tool includes.
Sources and further reading
An existing tool and explanation of margin, markup, and the costs included in a calculation.
Shopify’s profit margin calculator