Utilitory / Money / Margin & Markup Calculator
Money · Tool #017

Margin & Markup Calculator

Calculate gross profit, margin and markup from cost and selling price.

Reserved ad space · responsive display

Currency changes symbols and formatting only — no exchange-rate conversion.

Cost and selling price

Profitability

Gross margin
—
Profit as a percentage of the selling price.
Gross profit—
Markup—
Cost as % of selling price—

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.

Reserved ad space · after calculator

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.