Currency changes symbols and formatting only — no exchange-rate conversion.
Cost and selling price
Profitability
Margin vs markup
Margin measures profit against the selling price, while markup measures profit against cost. They describe the same transaction from different bases, so the percentages are not interchangeable.
More useful tools
General information only. Results are estimates and may vary by convention, provider, location or implementation.
More information
How to use it
Enter the cost of a product and its selling price, or the values supported by the calculator. The results help you understand how much of the sale is gross profit and how pricing relates to your costs.
Two different percentages
Gross margin = (selling price − cost) ÷ selling price × 100. Markup = (selling price − cost) ÷ cost × 100. They use different denominators, so the same transaction produces different percentages.
Worked example
An item costing $60 and selling for $100 has $40 gross profit. Margin is $40 ÷ $100 = 40%, while markup is $40 ÷ $60 ≈ 66.67%. A 40% markup on a $60 cost instead produces a selling price of $84.
Pricing from a target margin
If you want a 30% gross margin, selling price = cost ÷ (1 − 0.30). For a $70 cost, the target price is $100. This is not the same as adding 30% to the cost, which gives $91.
Business limitations
Gross profit excludes many operating expenses, including rent, wages, marketing, payment fees and taxes. A positive gross margin does not guarantee net profitability. Be consistent about whether input prices include or exclude sales tax.