Margin Calculator

Calculate gross profit margin, markup percentage, unit cost, and selling price. Convert seamlessly between margin and markup with multi-mode commercial pricing.

Pricing Parameters

Live calculation
Calculation Mode
Quick Sample Presets
Gross Profit Margin
40.00%(66.67% Markup)
Unit Cost
$60.00

Wholesale COGS

Selling Price
$100.00

Retail Revenue

Gross Profit
$40.00

Net Gain / Unit

Markup %
66.67%

Cost Markup

Retail Price Revenue Composition

Wholesale Cost vs. Retained Gross Profit
$100.00Retail Price
Wholesale Unit Cost

$60.00

60% • COGS

Gross Profit Retained

$40.00

40% • Profit

The Mechanics of Profit Margin vs. Markup

Profit margin and markup are two mathematical perspectives on the exact same gross profit transaction. Profit margin measures profit relative to customer revenue (top-line sales), while markup measures profit relative to product acquisition cost (COGS).

1. Profit Margin & Markup Primary Equations
Gross Margin (%) =
Revenue - CostRevenue
× 100
|
Markup (%) =
Revenue - CostCost
× 100
2. Direct Interconversion Formulas
Markup =
Margin1 - Margin
|
Margin =
Markup1 + Markup
Step-by-Step Calculation Breakdown
Step 1: Calculate Net Gross Dollar Profit ($60.00 Cost, $100.00 Revenue)
• Gross Dollar Profit = Revenue - Cost = $100.00 - $60.00 = $40.00 Profit per unit
Step 2: Solve Gross Profit Margin Percentage
Gross Margin=
$40.00$100.00
× 100=40.00%
Step 3: Solve Markup Percentage over Wholesale Cost
Markup=
$40.00$60.00
× 100=66.67%

Margin vs. Markup Direct Conversion Matrix Table

Gross MarginRequired MarkupPricing MultiplierRetail Price ($100 Cost)Common Application
10.0%11.11%1.11×$111.11High-volume wholesale electronics & groceries.
20.0%25.00%1.25×$125.00General industrial supplies & construction hardware.
33.3%50.00%1.50×$150.00Standard automotive aftermarket & consumer goods.
50.0% (Keystone)100.00%2.00×$200.00Traditional apparel retail standard (2× wholesale).
66.7%200.00%3.00×$300.00Specialty restaurant food & beverage menus.
80.0%400.00%5.00×$500.00SaaS subscription platforms, luxury cosmetics, software.

Frequently Asked Questions

What is the mathematical difference between margin and markup?
Profit margin evaluates profit as a percentage of total selling revenue: Margin = Profit ÷ Revenue. Markup measures profit as a percentage over wholesale unit cost: Markup = Profit ÷ Cost. A product costing $60 sold for $100 has a 40% margin ($40 ÷ $100) and a 66.67% markup ($40 ÷ $60).
How do you mathematically convert between margin and markup?
To convert Margin to Markup: Markup = Margin ÷ (1 - Margin). To convert Markup to Margin: Margin = Markup ÷ (1 + Markup). For example, a 50% margin requires a 100% markup (0.50 ÷ 0.50 = 1.00).
What are typical gross profit margin benchmarks across industries?
Gross margins vary widely by industry sector: SaaS/Software (75%–85%), E-Commerce/Apparel (45%–60%), Full-Service Restaurants (60%–70% gross, 5%–10% net), Wholesale Distribution (15%–25%), Grocery Supermarkets (1%–3% net).
Why does pricing with markup sometimes cause unintended losses?
Applying a target margin percentage directly as a markup results in underpriced inventory. If your target margin is 40% on a $60 cost item, marking it up 40% produces a $84 price (yielding only a 28.6% margin). True 40% margin requires dividing by (1 - 0.40), producing a $100 price.

Related Tools