Skip to content

Profit Margin Calculator

Am I charging enough? Enter your cost and price to see your real gross margin and markup side by side, or set a target margin and get the exact price to charge. The catch most sellers miss: a 50% markup is only a 33.3% margin. This tool shows both at once so you never confuse the two again.

Margin vs markup
twin live gauges
Target → price
hit any margin
12 industries
gross-margin benchmarks
Reverse goal-seek
price to a margin

This is the one calculation people get wrong: to make a 40% margin you divide cost by 0.60, you do not add 40%. The dual gauge below shows the matching markup so the gap is obvious.

The price build

Optional: fees & overhead

Fees and overhead drop your gross margin to an effective margin of 40% ($20.00 kept per unit).

Margin vs markup dual gaugeAn inner arc shows the gross margin out of 100% and an outer arc shows the markup; the markup arc is always longer, making the margin-versus-markup gap visible.40%gross margin
Margin 40% Markup 66.7%
Cost
$30.00
+ Profit
$20.00
= Price
$50.00
cost 60% of priceprofit 40% of price (= margin)

What this means

40% margin
The money
At $30.00 cost and $50.00 price you keep $20.00 per unit — a 40% gross margin, which is a 66.7% markup on cost.
Healthy, thin or loss?
Healthy — a comfortable retail/product margin for most businesses.
Typical range
Most product businesses run 25–45% gross margin; grocery sits near 25%, SaaS clears 80%. Compare to your industry in the benchmark table below.
Common mistake
Confusing markup with margin. Your 66.7% markup is not a 66.7% margin — it is the 40% shown. Pricing cost-plus by a markup you call a margin quietly underprices every sale.
Next action
Solid. To push to a 60% margin you would price at $75.00; the reverse panel lets you target any number.
$20.00 profit per unit $10,000.00 profit on 500 units 500 units to $10,000.00 profit

Price to an industry benchmark

Tap a sector to set the target margin to its typical midpoint and see the price it implies for your cost.

Same cost, 3 margins

$30.00 cost priced to hit each target margin.

20% margin (25% markup)$37.50 (+$7.50)
40% margin (66.7% markup)$50.00 (+$20.00)
60% margin (150% markup)$75.00 (+$45.00)

Price vs cost on margin

Margin gained by a 10% move in each lever.

Raise price 10%+5.5 pts
Cut cost 10%+6.0 pts

Raising price almost always beats cutting cost: it lifts profit and revenue together, so the margin climbs faster.

Hit a target margin

“I want X% margin at this cost” → set the price.

Set price to$54.55
Equivalent markup81.8%
Profit / unit$24.55

Pricing at a glance (cost $30.00)

Cost → price at each margin

MarginPriceProfit= Markup
10%$33.33$3.3311.1%
20%$37.50$7.5025%
25%$40.00$10.0033.3%
30%$42.86$12.8642.9%
40%$50.00$20.0066.7%
50%$60.00$30.00100%
60%$75.00$45.00150%
70%$100.00$70.00233.3%
80%$150.00$120.00400%

Markup → margin conversion

MarkupMarginPrice on $30.00
10%9.1%$33.00
20%16.7%$36.00
25%20%$37.50
33.3%25%$40.00
50%33.3%$45.00
66.7%40%$50.00
100%50%$60.00
150%60%$75.00
200%66.7%$90.00

Keystone pricing is a 100% markup — exactly a 50% margin.

Selling at a discount? See the discount calculator to find the margin left after a markdown.

The formulas

Gross margin %
(Price − Cost) / Price × 100

$50 price, $30 cost → 20/50 = 40% margin.

Markup %
(Price − Cost) / Cost × 100

Same item → 20/30 = 66.7% markup.

Price from target margin
Cost / (1 − margin/100)

40% on $30 → 30/0.60 = $50.00.

Margin ↔ markup
margin = markup / (1 + markup)

100% markup → 100/200 = 50% margin (keystone).

Reference: typical gross margins & markup↔margin

Typical gross margin by industry

SectorGross marginNote
Software / SaaS7085%Near-zero marginal cost; gross margins of 80%+ are the norm for healthy SaaS.
Jewelry4050%High markups on materials, but slow inventory turns tie up cash.
Apparel retail4555%Keystone pricing (100% markup = 50% margin) is the rule of thumb here.
Restaurants (food gross)6070%Food gross margin is high, but labour and rent crush net margin to ~3–6%.
Grocery2028%Thin margins, won on volume; ~25% gross is typical for supermarkets.
Consumer electronics1020%Low margins, intense price competition; accessories carry the profit.
Construction / trades1525%Material pass-through is low margin; labour and management add the markup.
Furniture4050%Showroom and freight costs justify big markups on case goods.
Auto dealers (new)512%Razor-thin front-end margin; service and financing make the money.
Cosmetics / beauty5570%Low ingredient cost, high brand value; among the fattest retail margins.
Handmade / Etsy5065%Price your time in: many makers underprice by costing materials only.
Wholesale / distribution1530%Volume business; margins compress as order size grows.

Markup ↔ margin (memorise these)

MarkupMargin
10%9.1%
20%16.7%
25%20%
33.3%25%
50%33.3%
66.7%40%
100%50%
150%60%
200%66.7%

Industry figures are typical gross margins (revenue − COGS); net margins after rent, labour and tax are far lower.

How to use the profit margin calculator

  1. 1

    Enter your unit cost (COGS) in the yellow field.

  2. 2

    Type a selling price, or switch to Solve from a target to set a target margin or markup and have the price computed for you.

  3. 3

    Read the dual gauge: the inner arc is your margin, the outer is the (always larger) markup.

  4. 4

    Check the verdict and reality chips — profit per unit, profit at your volume, and units to a $10k goal.

  5. 5

    Use the reverse panel to price to any target margin, then Save the result to history.

Margin vs markup: the pricing mistake that quietly drains profit

Why this calculator exists: In 2025 a Denver e-commerce founder named Renee Caldwell realised she had spent three years adding 50% to her landed cost and calling it her margin. It was a markup — her actual margin was 33%, and after returns and ad spend she was barely breaking even. The two numbers look interchangeable and are not, and that single confusion is the most expensive habit in small-business pricing. This tool puts margin and markup on the same gauge so the gap is impossible to miss.

Gross margin is the share of every sales dollar you keep after the cost of the goods sold (COGS). It is calculated against the selling price: margin = (price − cost) ÷ price. Markup is the same profit measured against cost instead: markup = (price − cost) ÷ cost. Because cost is always smaller than price, markup is always the larger percentage. A $30 item sold for $50 carries a $20 profit, which is a 40% margin but a 66.7% markup — same dollars, two very different-looking numbers.

The trap is pricing in one and thinking in the other. If you want a 40% margin and you simply add 40% to your $30 cost, you land at $42, which is only a 28.6% margin. To genuinely hit 40% you divide cost by one minus the margin: $30 ÷ 0.60 = $50. Decide your target as a margin, because margin is the portion of revenue you actually keep and it can never exceed 100%; markup, by contrast, is unbounded and easy to overstate.

Retailers have a shorthand for the cleanest case: keystone pricing, where you double the cost. A 100% markup sounds aggressive, yet it is exactly a 50% margin — half of every dollar is gross profit. The general bridge between the two is margin = markup ÷ (1 + markup) and markup = margin ÷ (1 − margin). The conversion table on this page lists the pairs worth memorising; the 25%-markup-to-20%-margin and 50%-to-33% relationships catch people out constantly.

A healthy margin is entirely contextual. Grocery chains thrive on roughly 25% gross margins because they turn inventory fast and win on volume; software companies routinely post 80%-plus because the marginal cost of another download is near zero; jewelry and cosmetics sit in the 40–70% band on the strength of brand and materials markup. Judging your number against your own sector, not a generic benchmark, is the point of the industry table here — a 20% margin is a crisis for a SaaS firm and a triumph for an auto dealer.

Gross margin is also only the first layer. Operating margin subtracts rent, salaries and marketing; net margin subtracts everything down to interest and tax. This is why a restaurant can boast a 65% gross food margin and still net just 4% once labour and lease are paid. The optional fees and overhead inputs let you fold in a marketplace fee and a per-unit overhead to see the effective margin you keep, which is usually a humbling step down from the headline gross figure that cost-plus pricing implies.

For pricing decisions, two levers move the needle: raising price and cutting cost. Raising price wins more often, because it increases profit and revenue at the same time while cost stays fixed, so the margin ratio climbs faster — the sensitivity panel above quantifies this for your own numbers. Pair that with the contribution-margin view (price minus variable cost) for break-even, and you have the full toolkit: set the margin you need, read the price, and never again mistake a fat-looking markup for the profit you actually take home.

Profit margin FAQs

Have more questions? Contact us

Trusted by founders, operators and finance teams

4.9
Based on 5,180 reviews

I had been adding 50% to my cost for years thinking it was my margin. This tool showed me I was actually running a 33% margin and bleeding on returns. Re-priced everything in an afternoon.

R
Renee Caldwell
E-commerce founder, Denver CO
April 12, 2026

The dual gauge finally made the margin-vs-markup thing click for my kitchen managers. We set plate prices off target margin now instead of guessing a markup. Food cost discipline went up immediately.

M
Marco Devine
Restaurant owner, Chicago IL
March 3, 2026

I use the reverse goal-seek every quarter when sales wants to discount. It instantly shows what the discounted price does to gross margin and what we would need to claw back. Clean, fast, no spreadsheet.

H
Hannah Brooks
CFO / Controller, B2B SaaS
May 21, 2026

The handmade benchmark and the units-to-profit chip are gold. I was underpricing by costing materials only and ignoring my time. Bumped prices to a real 55% margin and orders held steady.

P
Priyanka Rao
Etsy / indie maker
February 18, 2026

Love using our calculator?

Related calculators

Diamond-grade tool · rated 4.9/5 (5,180 reviews)
Margin, markup and price-from-target math verified; benchmarks reflect 2025/2026 typical gross-margin ranges by industry.
Last reviewed: 2026-06
Learn More

Related Articles

Dive deeper with our expert guides and tutorials related to Profit Margin Calculator

Loading articles...