Finance

Margin Calculator

Enter Cost + one other value, then press Calculate. Lock any field to keep it fixed across calculations.

Costcalculated
$
What you pay for the item (COGS)
Revenue (Sale Price)calculated
$
What you sell the item for
Margincalculated
%
Gross profit as % of revenue
Profitcalculated
$
Revenue minus cost

Press Enter or click Calculate
Result
Revenue (Sale Price)
Cost (COGS)
Gross Profit
Margin %
Markup %
History (last 5)
CostRevenueMarginProfit
margin = (revenue − cost) ÷ revenue × 100
profit = revenue − cost
revenue = cost ÷ (1 − margin / 100)
markup = profit ÷ cost × 100

Margin is based on revenue. Markup is based on cost. A 40% margin ≠ 40% markup.