Calculator

Profit Margin Calculator

Compute gross margin %, markup %, net profit, or required price for a target margin.

Profit Margin Calculator
Gross Margin
40.00%
Markup %
66.67%
Gross Profit
$40.00
Selling Price
$100.00
</> Embed this Profit Margin Calculator free on your website Zero-ad iframe

Copy and paste this lightweight snippet into WordPress, Webflow, Notion embeds, or custom HTML:

Use our free profit margin & markup calculator to find exact gross margin percentage, markup percentage, net dollar profit, and target selling price instantly inside your browser. Toggle seamlessly between Cost & Revenue → Margin (evaluating existing pricing) and Cost & Target Margin % → Price (setting retail prices without accidentally underpricing).

Why Gross Margin and Markup Are NOT the Same Thing

Confusing gross margin with markup is one of the costliest pricing errors in retail, ecommerce, and SaaS freelancing. Both metrics measure the exact same gross profit dollars, yet divide them by different denominators:

  • Gross Profit Margin (%) measures profit as a share of the final selling price (revenue). Because profit is part of revenue, gross margin can never reach or exceed 100% (unless cost is zero).
  • Markup (%) measures profit as a share of the unit cost (COGS). Markup can easily exceed 100%, 200%, or 500%.
Gross Margin % = (Selling Price - CostSelling Price) × 100
Markup % = (Selling Price - CostCost) × 100

Costly Mistake Example ($100 Cost Product)

Suppose a product costs $100.00 wholesale and your store requires a 25% gross margin:

  • Wrong Method (Adding 25% Markup): Pricing at $100 × 1.25 = $125.00 gives $25 profit on $125 revenue, which is only a 20.0% gross margin—costing you 5 points on every sale!
  • Correct Pricing Formula: Divide cost by 1 − Target Margin:
Required Selling Price = Cost1 - (Target Margin \%100) = 1001 - 0.25 = 1000.75 = $133.33

At $133.33, profit is $33.33, gross margin is 25.00%, and markup is 33.33%. Use the Cost & Target Margin % → Price tab above to compute optimal pricing automatically.

Margin vs. Markup Conversion Cheat Sheet

Keep this quick conversion table handy when reviewing supplier quotes and Shopify pricing:

Gross Profit Margin (%) Equivalent Markup (%) Cost Multiplier Gross Profit on $100 Revenue
15.0% 17.65% Cost × 1.1765 $15.00
20.0% 25.00% Cost × 1.2500 $20.00
25.0% 33.33% Cost × 1.3333 $25.00
30.0% 42.86% Cost × 1.4286 $30.00
40.0% 66.67% Cost × 1.6667 $40.00
50.0% 100.00% Cost × 2.0000 (Keystone) $50.00
60.0% 150.00% Cost × 2.5000 $60.00
75.0% 300.00% Cost × 4.0000 $75.00

How Discounts Erode Gross Profit Margin

Never offer site-wide promotional codes without verifying remaining margin first. On a product carrying a 30% gross margin, offering a 20% discount removes two-thirds of your profit margin! Use our discount calculator alongside percentage increase calculator, sales tax calculator, and percentage calculator before launching seasonal promotions.

Profit Margin Calculator Frequently Asked Questions

Frequently asked technical and operational questions.

What is the difference between gross margin and markup?

Gross margin divides profit by selling price, whereas markup divides profit by cost. A $33.33 profit on a $100 cost product equals 33.33% markup and 25% gross margin.

How do I price a product for a target 30% gross margin?

Divide unit cost by (1 - 0.30). For a $70 cost item, required selling price is $70 / 0.70 = $100.00.

Can markup exceed 100%?

Yes. Doubling your cost price creates a 100% markup (50% gross margin), while gross margin can never exceed 100%.

Percentage and Margin Calculators | Online Tools

Explore related calculators and math utilities for your next task.

Last reviewed: Reviewed by: ZixTool Editorial Team