Margin Calculator — Gross Margin & Markup Converter | LazyTools

Free Finance Tool · Global · Margin · Markup Converter · 8 Currencies

Margin Calculator

Calculate gross margin %, markup and profit per unit. Margin-to-markup converter, target price solver and price sensitivity table. 8 currencies. Free.

Currency
💰 Calculate margin from price & cost
Selling price
Cost price
🔄 Convert between modes
Known markup % → find margin
Known margin % → find markup
🎯 Target margin
Target margin (%)
Gross margin40.00%$150 sell · $90 cost · $60 profit/unit
Profit per unit$60.00
Markup on cost66.67%
Markup → equivalent margin40.00%
Margin → equivalent markup66.67%
Price for target margin ({target}%)$180.00
Break-even price$90.00
Sell priceMargin%Markup%Profit/unit
🌍 8 currencies🔄 Margin↔Markup🎯 Target solver⚡ Instant

How to Use the Margin Calculator

Enter selling price and cost to calculate gross margin percentage, markup and profit per unit. Furthermore, the conversion fields instantly translate any markup to its equivalent margin and vice versa. Additionally, the target margin field solves for the exact price needed to achieve any desired margin.

  1. Enter selling price and costSelling price is what the customer pays. Furthermore, cost is the direct cost to produce or acquire the product. Additionally, the calculator immediately shows margin, markup and profit per unit.
  2. Use the markup-to-margin converterEnter any markup percentage to see the equivalent margin. Furthermore, markup and margin measure the same profit but from different bases. Additionally, a 66.67% markup equals 40% margin — a common source of pricing confusion.
  3. Use the margin-to-markup converterEnter any margin percentage to see the equivalent markup. Furthermore, Margin → Markup = Margin ÷ (1 − Margin). Additionally, this confirms the relationship for any target margin.
  4. Set target margin to find required pricePrice = Cost ÷ (1 − target margin%). Furthermore, this is the only correct pricing formula for a target margin. Additionally, adding margin% directly to cost gives markup not margin — a very costly mistake.
  5. Read the price sensitivity tableThe table shows margin and markup at prices from 90% to 200% of cost. Furthermore, the break-even price (0% margin) confirms the cost floor. Additionally, the current price is highlighted for easy reference.

Margin and Markup Formulas

Margin and markup are both measures of profit but use different denominators. Furthermore, confusing the two is one of the most common and costly pricing errors in business. Additionally, always confirm which formula is being used before setting prices.

Margin = (Price − Cost) ÷ Price × 100 [denominator = price] Markup = (Price − Cost) ÷ Cost × 100 [denominator = cost] Price for target margin: Price = Cost ÷ (1 − margin%) Markup → Margin: Margin = Markup ÷ (100 + Markup) × 100 Margin → Markup: Markup = Margin ÷ (100 − Margin) × 100
$90 cost, $150 price → Margin = 40%, Markup = 66.67%. Furthermore, to achieve 50% margin, price must be $90 ÷ 0.50 = $180 — not $135 (which is a 50% markup). Additionally, the $45 difference per unit compounds dramatically at scale.

Margin vs Markup Conversion Table

Margin%Equivalent markup%
10%11.11%
20%25.00%
25%33.33%
30%42.86%
33.33%50.00%
40%66.67%
50%100.00%
60%150.00%
Reference: Accounting Tools — gross margin definition | Investopedia — margin vs markup.

The Margin vs Markup Trap — Real World Impact

The margin-markup confusion costs businesses significant profit each year. Furthermore, a business targeting 40% margin but accidentally applying 40% markup only achieves a 28.6% margin. Additionally, on $1M of annual revenue this mistake reduces gross profit by $113,000 per year.

Retail and distribution businesses are particularly vulnerable. Furthermore, many POS and ERP systems allow configuration of either margin or markup as the pricing basis. Additionally, always verify which mode is active before applying percentage-based pricing rules to a large product catalogue.

Pricing Strategy and Target Margin

Value-based pricing sets price by perceived customer value, then works backward to assess margin. Furthermore, cost-plus pricing starts with cost and adds a fixed percentage — which should be based on target margin, not markup. Additionally, the target margin approach ensures every product contributes consistently to covering fixed overhead.

Gross Margin vs Net Margin

The margin this calculator shows is gross margin — the percentage of selling price remaining after direct costs. Furthermore, net margin deducts all overhead, interest and tax from revenue. Additionally, gross margin is the building block — a business must achieve sufficient gross margin to cover overhead and still generate net profit.

Margin in Different Industries

Average gross margin ranges from under 20% in commodity retail to over 80% in software. Furthermore, high-margin businesses typically have lower physical costs and higher brand or IP value. Additionally, businesses with gross margin below 30% operate with little room for overhead, making cost management critical.

Frequently Asked Questions

(Price − Cost) ÷ Price × 100. Furthermore, margin uses price as the base. Additionally, a 40% margin means 40 cents of every revenue dollar is profit before overhead.
Margin: profit ÷ price. Markup: profit ÷ cost. Furthermore, 40% margin = 66.67% markup on the same product. Additionally, confusing them causes systematic under-pricing.
Cost ÷ (1 − target%). Furthermore, for 50% margin on $90 cost: $90 ÷ 0.50 = $180. Additionally, never add margin% directly to cost — that gives markup.
Margin = Markup ÷ (100 + Markup) × 100. Furthermore, 66.67% markup = 40% margin. Additionally, use the converter to check any markup/margin pair.
Markup = Margin ÷ (100 − Margin) × 100. Furthermore, 40% margin = 66.67% markup. Additionally, always verify which mode your pricing system is using.
The cost price — 0% margin. Furthermore, any price above cost generates positive margin. Additionally, break-even price does not cover fixed overhead.
Software 65–85%, retail 20–35%, manufacturing 20–40%. Furthermore, depends heavily on industry. Additionally, compare against sector peers for meaningful context.
Gross margin is after COGS only. Net margin is after all costs. Furthermore, a business needs high enough gross margin to cover overhead and still profit. Additionally, subtract overhead% from gross margin to estimate net margin.

Related Finance Tools

Markup Calculator

Calculate markup percentage from cost and price. Furthermore, markup uses cost as the base instead of price.

Markdown Calculator

Price reduction percentage from original price. Additionally, markdown is the opposite direction of markup.

Sales Margin Calculator

Per-unit margin with volume scaling. Furthermore, multiply margin per unit by volume for total gross profit.

Gross Margin Calculator

Gross margin from total revenue and COGS. Additionally, aggregate margin across all products.

Margin After Discount

Margin remaining after a discount is applied. Furthermore, discounts reduce margin faster than many expect.

Break-Even Calculator

Units needed to cover fixed costs at your margin. Additionally, margin is the key input to break-even analysis.

Rate this tool

4.2
out of 5
426 ratings
5 ★
63%
4 ★
17%
3 ★
6%
2 ★
2%
1 ★
12%
How useful was this tool?