Personal Finance & BusinessVerified Mathematical Model

Profit Margin & Markup Calculator

Calculate gross profit, profit margin percentage, and markup from cost and selling price, or price products for a target margin.

Initializing calculation engine...
Educational Guide & Formulation

How to Calculate Profit Margin & Markup Calculator

Profit margin and markup are two essential financial ratios used by businesses, retailers, and entrepreneurs to price products and analyze profitability. While both express profit as a percentage, they use different denominators: margin uses selling price, whereas markup uses cost.

Governing Mathematical Equation

Margin = (Profit / Price) × 100 | Markup = (Profit / Cost) × 100
VariableNameDescriptionUnit Example
CCost of Goods Sold (COGS)The wholesale, procurement, or raw materials cost required to produce or stock the item.$60.00
RRevenue / Selling PriceThe final price paid by the customer before applicable sales taxes.$100.00
PGross ProfitThe nominal dollar gain per unit sold (Revenue minus Cost).$40.00

Step-by-Step Worked Example

A boutique retailer buys an artisanal lamp for $60 and sells it for $100.

Cost (C)
$60.00
Selling Price (R)
$100.00
1Calculate gross profit: $100 - $60 = $40
2Calculate margin: ($40 / $100) × 100 = 40.00%
3Calculate markup: ($40 / $60) × 100 = 66.67%
Final Result: The lamp achieves a 40% profit margin and a 66.67% markup on cost.

Assumptions & Practical Limitations

  • Gross margin does not account for indirect fixed overhead like rent, software, payroll, or administrative expenses.
  • Assumes 100% collection of invoice revenue with zero merchant chargeback or return deductions.
  • Margin can never exceed 100% (unless selling price is infinitely greater than cost), whereas markup can exceed 100%, 500%, or more.

Frequently Asked Questions

Because cost is smaller than selling price in any profitable sale, dividing profit by the smaller number (cost) will always produce a higher percentage than dividing profit by the larger number (selling price).

Related Calculators