Profit Margin & Markup Calculator
Turn price and cost into gross profit, margin and markup in one step.
Updated November 2026. Calculations run locally in your browser — nothing is uploaded.
How it works
Margin and markup are easy to mix up. Margin measures profit against the selling price; markup measures it against cost. The same $48 profit is an 80% markup on $60 but only a 44% margin on a $108 price.
The formula
Example
Selling at $120 with a $72 cost leaves $48 profit: a 40% margin and a 66.7% markup.
FAQ
Which one should I use for pricing?
Use markup to set prices from cost, and margin to judge profitability. Retail and ecommerce usually quote margin; agencies often think in markup.
Is gross margin the same as net margin?
No. Gross margin only subtracts direct costs. Net margin also subtracts overhead, salaries, marketing and tax.