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.
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
Fees and overhead drop your gross margin to an effective margin of 40% ($20.00 kept per unit).
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.
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.
Price vs cost on margin
Margin gained by a 10% move in each lever.
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.
Pricing at a glance (cost $30.00)
Cost → price at each margin
| Margin | Price | Profit | = Markup |
|---|---|---|---|
| 10% | $33.33 | $3.33 | 11.1% |
| 20% | $37.50 | $7.50 | 25% |
| 25% | $40.00 | $10.00 | 33.3% |
| 30% | $42.86 | $12.86 | 42.9% |
| 40% | $50.00 | $20.00 | 66.7% |
| 50% | $60.00 | $30.00 | 100% |
| 60% | $75.00 | $45.00 | 150% |
| 70% | $100.00 | $70.00 | 233.3% |
| 80% | $150.00 | $120.00 | 400% |
Markup → margin conversion
| Markup | Margin | Price 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
(Price − Cost) / Price × 100$50 price, $30 cost → 20/50 = 40% margin.
(Price − Cost) / Cost × 100Same item → 20/30 = 66.7% markup.
Cost / (1 − margin/100)40% on $30 → 30/0.60 = $50.00.
margin = markup / (1 + markup)100% markup → 100/200 = 50% margin (keystone).
Reference: typical gross margins & markup↔margin
Typical gross margin by industry
| Sector | Gross margin | Note |
|---|---|---|
| Software / SaaS | 70–85% | Near-zero marginal cost; gross margins of 80%+ are the norm for healthy SaaS. |
| Jewelry | 40–50% | High markups on materials, but slow inventory turns tie up cash. |
| Apparel retail | 45–55% | Keystone pricing (100% markup = 50% margin) is the rule of thumb here. |
| Restaurants (food gross) | 60–70% | Food gross margin is high, but labour and rent crush net margin to ~3–6%. |
| Grocery | 20–28% | Thin margins, won on volume; ~25% gross is typical for supermarkets. |
| Consumer electronics | 10–20% | Low margins, intense price competition; accessories carry the profit. |
| Construction / trades | 15–25% | Material pass-through is low margin; labour and management add the markup. |
| Furniture | 40–50% | Showroom and freight costs justify big markups on case goods. |
| Auto dealers (new) | 5–12% | Razor-thin front-end margin; service and financing make the money. |
| Cosmetics / beauty | 55–70% | Low ingredient cost, high brand value; among the fattest retail margins. |
| Handmade / Etsy | 50–65% | Price your time in: many makers underprice by costing materials only. |
| Wholesale / distribution | 15–30% | Volume business; margins compress as order size grows. |
Markup ↔ margin (memorise these)
| Markup | Margin |
|---|---|
| 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
Enter your unit cost (COGS) in the yellow field.
- 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
Read the dual gauge: the inner arc is your margin, the outer is the (always larger) markup.
- 4
Check the verdict and reality chips — profit per unit, profit at your volume, and units to a $10k goal.
- 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.
Trusted by founders, operators and finance teams
“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.”
“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.”
“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.”
“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.”
Love using our calculator?
Related calculators
Related Articles
Dive deeper with our expert guides and tutorials related to Profit Margin Calculator