Margin vs. markup: the difference that changes your price
Compare margin and markup with a worked example, conversion formulas, and common pricing mistakes.
By Yoravex · Updated October 20, 2026 · Educational guide
One profit figure, two different percentages
Imagine buying a product for 60 and selling it for 100. Your gross profit is 40. Margin asks how much of the selling price is profit: 40 divided by 100, or 40%. Markup asks how much you added to cost: 40 divided by 60, or 66.67%. Both describe the same transaction. Neither calculation includes rent, salaries, payment fees, or other expenses unless you explicitly include them in cost.
Why confusing them reduces your margin
If you add a 40% markup to a cost of 60, the selling price is 84. Profit is 24, and margin is 24 divided by 84, or 28.57%. That is much lower than a 40% margin. To price for a target margin, divide cost by one minus the margin expressed as a decimal. For 40%, divide 60 by 0.60 to get 100.
Convert between the two
Using decimal values, margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin). A 50% markup is 0.50 ÷ 1.50 = 33.33% margin. A 50% margin requires 0.50 ÷ 0.50 = 100% markup. The conversion assumes positive costs and a selling price above zero.
Choose a cost definition before you compare
For a product, costs may include purchase price, inbound shipping, and preparation. For a service, you might include direct labor and job-specific materials. Decide what you count and use that definition consistently. Comparing margins calculated from different cost definitions can be misleading.
A practical pricing workflow
Start with the direct cost per sale. Use the selling price calculator to test a target gross margin. Then use break-even analysis to see whether the contribution from those sales can cover overhead. Finally, test the effect of discounts and payment fees. A good-looking gross margin alone does not prove the business is profitable.
See our editorial policy and calculation methods. Report a correction.