Business calculator

Profit Margin Calculator

Calculate gross margin, contribution margin, operating margin, net margin, markup, target selling price, break-even units, discount impact, and SKU-level profitability — then download the whole analysis as a formula-backed XLSX workbook. Built for product sellers, ecommerce and marketplace brands, freelancers, agencies, SaaS founders, and SMEs.

Transparent assumptions Transparent formulas Product, service, ecommerce, SaaS & SME friendly 12 currencies + custom, incl. ₹ lakh/crore format 17-sheet XLSX export Practical interpretation

Educational estimate only — not accounting, tax, or financial advice. Verify against your own books.

Profit margin is profit divided by revenue; markup is the same profit divided by cost — and they are never the same number. Gross margin uses direct costs only, contribution margin adds variable fees, operating margin adds overhead, and net margin includes interest and estimated tax. To price for a target margin, divide cost by one minus the margin: a 60 cost at a 40% target needs 60 ÷ 0.60 = 100, not 60 × 1.40 = 84.

Calculator

Advanced Profit

Revenue· $105,000.00
$
$
$
$

Needed for fixed per-sale fees and per-unit economics.

Net revenue = gross − discounts − refunds − chargebacks = $100,000.00

Direct costs / COGS· $55,000.00
$
$
$
$
$
$

Use the direct cost tied to each sale — not overhead like rent or admin salaries.

Variable fees (payment, marketplace)· $6,000.00
% of net rev
$
%
$
$
Operating expenses (overhead)· $20,000.00
$
$
$
$
$
$
$
$
$

Overhead that is not tied to one sale: rent, admin salaries, software, insurance, utilities.

Finance, tax & GST/VAT· 25% est. tax
$
%

A planning input, not a tax filing calculation.

Business type & number format· General small business

Margins vary widely by business model, pricing power, location, volume, and cost structure — the bands shown are general planning ranges, not standards.

Results · monthly

Moderate margin

Net profit

$13,500.00

After every selected cost.

Net margin

13.5%

Net profit ÷ net revenue.

Gross profit

$45,000.00

Net revenue − direct costs.

Gross margin

45%

After direct cost / COGS only.

Contribution profit

$39,000.00

After variable fees too.

Contribution margin

39%

What each sale contributes to fixed costs.

Operating profit

$19,000.00

After operating expenses.

Operating margin

19%

Operating profit ÷ net revenue.

Markup

81.8%

Profit ÷ cost — not the same as margin.

Cost-to-revenue

55%

Direct costs as a share of net revenue.

Net profit per order

$13.50

Across 1,000 orders.

Break-even orders

538.5

Overhead + interest ÷ contribution per unit.

General small business: your net margin of 13.5% sits in the strong band — for this business type.

General planning ranges only — margins vary widely by business model, pricing power, location, volume, and cost structure. A broad default band — pick a closer business type for a more useful comparison.

The 17-sheet workbook is generated from your current inputs and includes live formulas, scenarios, sensitivity, SKU comparison, and assumptions.

What your margin is telling you

Practical reading of the current numbers — planning signals, not verdicts.

Pricing power

Gross margin is 45%. There is room to operate, but fees and overhead will decide how much survives to net profit.

Cost pressure

Direct cost consumes 55% of net revenue. Supplier cost, materials, direct labour, or landed cost is the first line to review.

Overhead pressure

Operating expenses reduce the margin by 26.0 percentage points. Net margin may improve more from overhead control than from small price changes.

Fee leakage

Payment, platform, marketplace, and ad fees consume 6% of net revenue. These scale with every sale, so they cap margin even at higher volume.

Discount & refund leakage

Discounts, refunds, and chargebacks remove 4.8% of gross revenue before any cost is paid. High return rates make a healthy gross margin look weak at the net level.

Break-even safety

Current volume is 1.9× break-even — a reasonable buffer before the model turns loss-making.

Tax & interest drag

Interest (1% of revenue) and estimated tax (4.5%) separate operating profit from net profit. Check both against actual accounting records.

Cash-flow caution

Profit margin does not equal cash in hand. Inventory timing, receivables, loan principal payments, tax timing, and working capital can make cash flow look very different from margin.

Profit breakdown chart

How revenue falls to net profit, step by step. Zero-value steps are hidden.

Revenue falls from $105,000.00 to $13,500.00 net profit. The largest leak is direct costs / cogs at $55,000.00.

Show waterfall as a table
Profit waterfall table
StepAmount% of gross% of net
Gross revenue$105,000.00100%105%
Less: Discounts−$3,000.002.9%3%
Less: Refunds / returns−$2,000.001.9%2%
Net revenue$100,000.0095.2%100%
Less: Direct costs / COGS−$55,000.0052.4%55%
Gross profit$45,000.0042.9%45%
Less: Variable fees (payment, platform, ads)−$6,000.005.7%6%
Contribution profit$39,000.0037.1%39%
Less: Operating expenses−$20,000.0019%20%
Operating profit$19,000.0018.1%19%
Less: Interest expense−$1,000.001%1%
Pre-tax profit$18,000.0017.1%18%
Less: Estimated tax−$4,500.004.3%4.5%
Net profit$13,500.0012.9%13.5%

Target price and target margin

The selling price a target margin requires — Price = Cost ÷ (1 − margin).

%
$

Required selling price

$91.67

On a direct cost per unit of $55.00.

Profit at that price

$36.67

Confirms the 40% target margin.

Gap vs current price

−$8.33

8.3% decrease needed.

Max cost at current price

$60.00

The most a unit can cost and still hit the margin.

Discount impact

A discount cuts margin faster than price — this shows the extra volume needed to keep the same total profit.

$
$
%
$

New price

$90.00

Was $100.00.

New profit per order

$30.00

Was $40.00.

New margin

33.3%

Was 40%.

Profit lost at same volume

$1,000.00

$10.00 per order × 100.

Orders needed for same profit

133.3

Extra 33.3 orders (+33.3%).

Revenue required at new price

$12,000.00

Required units × discounted price.

Break-even units and revenue

The volume where contribution profit exactly covers fixed costs.

$
$
$
$

Break-even orders

250

Contribution $40.00 per order (40%).

Break-even revenue

$25,000.00

Fixed costs ÷ contribution margin.

Scenario analysis

Base, conservative, optimistic, and single-pressure cases — plus a custom scenario you control.

Custom scenario inputs· set your own % changes
%
%
%
%
%
%
Scenario analysis table
ScenarioNet revenueGross profitContributionOperating profitNet profitGross MNet MStatus
Base case$100,000.00$45,000.00$39,000.00$19,000.00$13,500.0045%13.5%OK
Conservative$89,500.00$29,000.00$22,700.00$1,700.00$525.0032.4%0.6%Below threshold
Optimistic$110,500.00$58,250.00$52,550.00$32,550.00$23,662.5052.7%21.4%OK
Discount 10%$89,500.00$34,500.00$28,500.00$8,500.00$5,625.0038.5%6.3%Below threshold
Cost +15%$100,000.00$36,750.00$30,750.00$10,750.00$7,312.5036.8%7.3%Below threshold
Fees +15%$100,000.00$45,000.00$38,100.00$18,100.00$12,825.0045%12.8%OK
Refunds +10%$99,500.00$44,500.00$38,500.00$18,500.00$13,125.0044.7%13.2%OK
Custom$100,000.00$45,000.00$39,000.00$19,000.00$13,500.0045%13.5%OK

Conservative: revenue −10%, cost +10%, fees +5%, opex +5%. Optimistic: revenue +10%, cost −5%, fees −5%. Single-pressure cases isolate one risk each. Scenarios are simplified percentage shifts, not forecasts.

Price & cost sensitivity

Contribution margin (and profit per order) as selling price and variable cost move ±20%. The centre cell is your current position. This grid isolates price vs variable cost — overhead, interest, and tax are not in it.

Sensitivity of margin to price and cost changes
Price ↓ / Cost →-20%-10%0%+10%+20%
-20%39%
$31.20
31.4%
$25.10
23.8%
$19.00
16.1%
$12.90
8.5%
$6.80
-10%45.8%
$41.20
39%
$35.10
32.2%
$29.00
25.4%
$22.90
18.7%
$16.80
0%51.2%
$51.20
45.1%
$45.10
39%
$39.00
32.9%
$32.90
26.8%
$26.80
+10%55.6%
$61.20
50.1%
$55.10
44.5%
$49.00
39%
$42.90
33.5%
$36.80
+20%59.3%
$71.20
54.3%
$65.10
49.2%
$59.00
44.1%
$52.90
39%
$46.80

Base: price $100.00, variable cost $61.00 per order. Red = loss-making · amber = contribution margin under 10% · green = above 20%.

SKU and product margin comparison

Compare up to 20 products side by side — find the loss-makers and the stars. Per-unit contribution view; fixed overhead is not allocated per SKU.

SKU comparison table
SKUPrice ($)Cost ($)ShippingFeesAdsOtherUnitsRevenueProfit/unitTotal profitMarginStatusActions
$15,680.00$17.00$5,440.0034.7%Healthy
$12,460.00$38.00$5,320.0042.7%Strong
$7,650.00$4.30$2,193.0028.7%Healthy
$2,090.00−$1.80−$171.00-8.2%Loss-making

Total profit (all SKUs)

$12,782.00

Revenue $37,880.00 · weighted margin 33.7%.

Highest total profit

Core product

Highest revenue: Core product.

Highest margin

Premium bundle

Lowest margin: Clearance line.

Loss-making SKUs

1

Selling these harder makes things worse — re-price or re-cost first.

Monthly, quarterly and annual planning

The current result scaled across periods — margins stay constant; the money columns scale.

Planning table by period
PeriodNet revenueDirect costsGross profitContributionOperating profitEst. taxNet profitNet margin
Current month$100,000.00$55,000.00$45,000.00$39,000.00$19,000.00$4,500.00$13,500.0013.5%
Quarterly equivalent$300,000.00$165,000.00$135,000.00$117,000.00$57,000.00$13,500.00$40,500.0013.5%
Annual equivalent$1,200,000.00$660,000.00$540,000.00$468,000.00$228,000.00$54,000.00$162,000.0013.5%

Annualised numbers assume the current period repeats. Real results vary with seasonality, refunds, tax timing, inventory timing, and price or cost changes.

Quick answers

Which margin should I read for my situation?

Pick the line that includes the costs you care about. Gross margin uses direct costs, contribution margin adds variable fees, operating margin adds operating expenses, and net margin includes everything — fees, interest, and estimated taxes.

Margin or markup — which is which?

Profit margin is profit divided by revenue. Markup is the same profit divided by cost. They are not the same: a 50% markup produces a 33.3% margin, and a 100% markup produces a 50% margin.

Why is my net margin so much lower than my gross margin?

Everything below the gross line: payment and marketplace fees, shipping, ads, refunds, overhead, interest, and tax. The waterfall in this calculator shows exactly which step takes the biggest bite.

Is GST/VAT part of my profit?

Usually not. GST/VAT/sales tax collected from customers is typically a pass-through liability you owe the tax authority. This calculator can carve it out of revenue (gross ÷ (1 + rate)) so it never inflates your margin.

How to use this profit margin calculator

  1. Pick a mode. Simple for a quick margin check, Advanced for a full revenue-to-net-profit waterfall, Ecommerce for per-order marketplace economics, Service/Project for quotes and hourly profit, SaaS for recurring revenue, or Solve For to work backwards from any known pair.
  2. Set currency and business type. Choose from 12 currencies (including ₹ with Indian lakh/crore formatting) or set a custom symbol, and select your business type for soft benchmark context.
  3. Enter your numbers. Revenue and direct costs at minimum; optionally discounts, refunds, payment and marketplace fees, operating expenses, interest, and an estimated tax rate. Collapsible groups keep the advanced inputs out of the way until you need them.
  4. Read the result cards and diagnosis. Net profit, all four margin levels, markup, and a status chip — then the “What your margin is telling you” cards point at pricing power, cost pressure, fee leakage, refund risk, and break-even safety.
  5. Stress-test it. Use the target price, discount impact, and break-even modules, the scenario table, the ±20% price/cost sensitivity grid, and the SKU comparison to find loss-makers.
  6. Download the workbook. Export a 17-sheet XLSX generated from your exact inputs — live formulas you can keep editing in Excel, Google Sheets, or Numbers.

Profit margin formulas

Profit

Profit = Revenue − Cost

The starting point for both margin and markup.

Margin

Margin % = Profit ÷ Revenue × 100

Denominator is REVENUE.

Markup

Markup % = Profit ÷ Cost × 100

Denominator is COST — always larger than margin.

Target price from margin

Price = Cost ÷ (1 − Margin)

Division, not multiplication. 100% margin is impossible.

Price from markup

Price = Cost × (1 + Markup)

Multiplication works for MARKUP only.

Maximum cost

Max Cost = Price × (1 − Margin)

The most a unit can cost at a fixed price.

Markup ↔ margin

Markup = M ÷ (1 − M) · Margin = K ÷ (1 + K)

50% markup = 33.3% margin; 50% margin = 100% markup.

Net revenue

Net Rev = Gross − Discounts − Refunds − Chargebacks

Margins divide by NET revenue. When the price includes GST/VAT, the pass-through tax is carved out too.

Contribution profit

Contribution = Net Rev − Direct Costs − Variable Fees

What each sale gives towards fixed costs.

Break-even units

BE Units = Fixed Costs ÷ Contribution per Unit

Not calculable when contribution ≤ 0.

Break-even revenue

BE Revenue = Fixed Costs ÷ Contribution Margin

Same floor, in money terms.

Units after a discount

Units = Original Total Profit ÷ New Profit per Unit

The volume that keeps total profit flat.

Margin vs markup, gross vs net — the full guide

What profit margin actually measures

Profit margin answers one question: of every unit of revenue, how much survives as profit? The answer depends entirely on which costs you subtract first — which is why one business has four honest margins, not one. Gross margin subtracts only direct costs (COGS). Contribution margin also subtracts the variable fees that scale with every sale — payment processing, marketplace commission, shipping, ad cost per order. Operating margin then subtracts overhead. Net margin subtracts everything, including interest and an estimated tax.

Each level answers a different business question. Gross margin tests pricing against product cost. Contribution margin tells you whether selling one more unit helps or hurts. Operating margin tests whether the whole operation earns its keep. Net margin is what is actually left for you.

Margin vs markup — the most expensive confusion in pricing

Margin divides profit by the selling price; markup divides the identical profit by the cost. Selling at 100 with a 60 cost gives a 40 profit — a 40% margin but a 66.7% markup. The two numbers describe the same sale from opposite ends, and they are never equal (except at zero).

The damage happens when a business wants a 50% margin, multiplies cost by 1.5, and silently prices for a 33.3% margin instead. The correct move for a target margin is division: Price = Cost ÷ (1 − margin). The Solve For mode converts both directions — markup from margin is m ÷ (1 − m), margin from markup is k ÷ (1 + k).

What belongs in COGS vs operating expenses

COGS (direct costs) are costs tied to the specific things you sold: product or material cost, direct labour, packaging, inbound freight, landed cost. Operating expenses are the costs of existing as a business regardless of any single sale: rent, admin salaries, software, utilities, insurance, accounting. The IRS Schedule C structure follows the same split — gross profit is receipts minus COGS, and operating expenses come off afterwards.

The practical test: if you sold one more unit, would this cost grow? If yes, it is direct or variable; if no, it is overhead. Misfiling overhead into COGS understates gross margin and hides pricing problems; misfiling direct costs into overhead flatters gross margin and hides product problems.

Contribution margin — the number volume decisions need

Contribution profit per unit is the selling price minus every cost that scales with that unit — product, shipping, packaging, payment fees, platform commission, ad cost per order, and a realistic returns allowance. It is what each sale actually contributes towards covering fixed costs and then becoming profit.

This is the number that decides break-even, discount maths, and "should I push volume?" If contribution per unit is negative, more volume digs the hole faster — no fixed-cost discipline can fix it. Ecommerce sellers especially need the contribution view, because gateway, marketplace, shipping, ad, and return costs routinely consume 30–50% of an order between the gross and contribution lines.

GST, VAT, and sales tax are usually not your revenue

Tax collected from customers is typically a pass-through liability — you hold it briefly, then remit it to the tax authority. If you measure margin on tax-inclusive revenue, every margin looks better than it is. When your selling price includes GST/VAT, this calculator carves the tax out first: net-of-tax revenue = gross price ÷ (1 + rate). An 18%-inclusive ₹118,000 of sales is really ₹100,000 of revenue plus ₹18,000 you owe the government.

Whether your books record revenue inclusive or exclusive of tax depends on jurisdiction and accounting treatment — the calculator makes the assumption explicit instead of guessing, and the workbook documents it on the Assumptions sheet.

Why discounts hurt more than they look

A discount comes entirely out of profit, because cost per unit does not move. Cutting a 100-price, 60-cost product by 10% cuts the price by 10 but the profit by 25% (40 → 30). To keep the same total profit you need original profit ÷ new unit profit in volume — here 33% more units, sold and fulfilled at full variable cost.

If the discounted profit per unit reaches zero or below, no volume recovers it — each extra sale loses money. The discount module flags this case explicitly, and adding your ad cost per order shows how paid acquisition narrows the discount headroom further.

Break-even: the floor under every plan

Break-even units = fixed costs ÷ contribution per unit; break-even revenue = fixed costs ÷ contribution margin. Below that volume the model loses money, above it each unit's contribution becomes profit. The safety-margin figure — how far current volume sits above break-even — is one of the most honest one-number health checks a small business has.

Break-even assumes the structure holds: constant price, constant variable cost, fixed costs that are actually fixed. Step costs (a new hire, a bigger warehouse, a second machine) move the break-even point — recompute when the structure changes.

Profit is not cash

A solid margin can coexist with an empty bank account. Inventory purchases consume cash before sales happen; customers pay late while suppliers want money now; loan principal repayments and GST/VAT remittances never appear in a profit calculation; tax is paid in lumps. Margin tells you whether the model earns money; cash flow tells you whether you survive long enough to collect it. Use both.

What this calculator does not do

It does not replace bookkeeping or produce filing-ready tax numbers. It does not model depreciation, amortisation, inventory valuation methods, accrual timing, working capital, or jurisdiction-specific tax rules. The SaaS LTV and CAC-payback figures use a steady-state churn shortcut, not cohort analysis. Everything runs in your browser — no amounts you type are sent to any server, and the Excel export is generated locally on your device.

Soft margin benchmarks by business type

General planning ranges only — not official statistics, standards, or guarantees. Margins vary widely by business model, pricing power, location, volume, scale, and accounting treatment. The calculator uses these bands for the soft benchmark line under your results.

Business typeTypical gross marginNet margin bands (weak → premium)Notes
General small business3060%0% / 5% / 10% / 20%A broad default band — pick a closer business type for a more useful comparison.
Ecommerce / D2C4070%0% / 5% / 10% / 20%Shipping, payment fees, ads, and returns usually separate gross from net margin.
Marketplace seller2550%0% / 4% / 8% / 15%Platform commissions and fulfilment fees compress seller margins.
Retail store2550%0% / 2% / 5% / 10%High-volume, thin-net-margin model; rent and staff dominate below the gross line.
Restaurant / food5570%0% / 3% / 6% / 12%Food cost is usually 28–38% of menu price; labour and rent take most of the rest.
Wholesale / distribution1530%0% / 2% / 5% / 10%Thin per-unit margins offset by volume; logistics costs matter.
Manufacturing2545%0% / 4% / 8% / 15%Materials, direct labour, and machine overhead drive the gross line.
Construction / trades1535%0% / 3% / 7% / 15%Bid-to-bid variance is large; change orders and rework decide the net line.
Consulting5080%5% / 10% / 20% / 40%Margins depend on utilisation and whether owner time is costed.
Agency4060%0% / 5% / 12% / 25%Scope creep and unbilled revisions are the classic margin leaks.
Freelancer6090%5% / 15% / 30% / 60%High margin on paper — but only if your own time is priced in.
SaaS / software6585%-10% / 0% / 10% / 30%High gross margins; net depends on acquisition spend and growth stage.
Digital products8095%10% / 25% / 40% / 70%Near-zero marginal cost; platform fees and ad spend decide the net.
Local service4070%0% / 5% / 10% / 20%Travel time, callbacks, and seasonality affect realised margins.
Subscription business5080%-5% / 0% / 10% / 25%Churn and acquisition cost decide whether gross margin survives to net.

Worked examples

1. Simple product margin

Selling price 100, direct cost 60. Gross profit = 40; gross margin = 40 ÷ 100 = 40%; markup = 40 ÷ 60 = 66.7%. Same sale, two denominators — 40% of revenue remains after direct cost, but markup is higher because it divides by the smaller cost figure.

2. Full waterfall to net margin

Revenue 10,000, COGS 6,000, operating expenses 2,000, interest 200, estimated tax 20% of pre-tax profit. Gross profit 4,000 (40%); operating profit 2,000 (20%); pre-tax 1,800; tax 360; net profit 1,440; net margin 14.4%. Note the tax applies to the 1,800 pre-tax profit, never to the 10,000 revenue.

3. Ecommerce order (₹)

Selling price ₹2,000, product cost ₹900, packaging ₹50, shipping ₹120, payment fee 2%, marketplace fee 10%, ad cost ₹250, return allowance 5% (full loss). Net order revenue = 2,000 − 100 returns allowance = ₹1,900; direct costs 1,070; fees and ads 40 + 200 + 250 = 490; contribution profit = ₹340 per order — a 17.9% contribution margin, even though the product-cost-only view (2,000 − 900 = 1,100) looked like a 55% margin. Fees, ads, shipping, and returns consumed the difference.

4. Service project quote

Quote 50,000, 40 labour hours at an internal cost of 500/hour (20,000), contractor 8,000, tools 2,000, overhead allocation 5,000. Total cost 35,000; net profit 15,000; net margin 30%; effective hourly profit 15,000 ÷ 40 = 375/hour. Minimum quote for a 40% margin: 35,000 ÷ 0.60 = 58,333.

5. Discount impact

Price 100, cost 60, margin 40%. A 10% discount makes the price 90, profit 30, margin 33.3%. Keeping the original 4,000 total profit (at 100 units) needs 4,000 ÷ 30 ≈ 133 units — 33% more volume — each sold and fulfilled at full cost.

6. Break-even

Fixed monthly costs 100,000, price per order 1,000, variable cost 600. Contribution = 400 per order; break-even = 100,000 ÷ 400 = 250 orders (250,000 revenue). At 400 current orders the safety margin is 150 orders — volume can fall 37.5% before the model loses money.

All examples are educational illustrations. Your costs, fees, taxes, and volumes will differ.

Common profit margin mistakes

1. Confusing margin and markup

A 50% markup is a 33.3% margin. Price with Cost ÷ (1 − margin), not Cost × (1 + margin).

2. Treating GST/VAT/sales tax as profit

Tax collected from customers is usually owed to the tax authority. Measure margin on tax-exclusive revenue.

3. Ignoring payment gateway fees

2.9% + 30¢ sounds small and quietly removes 3–5% of revenue on low-priced orders.

4. Ignoring marketplace commission

8–20% platform fees are often a business's single largest cost after the product itself.

5. Ignoring shipping and packaging

Outbound shipping you pay, boxes, filler, labels — all per-order variable costs that belong in contribution margin.

6. Ignoring refunds and returns

A 10% return rate with full refund loss removes 10% of revenue after you already paid to acquire and ship the order.

7. Ignoring ad cost per order

If you pay to acquire orders, CAC is a variable cost. A "profitable" product at 40% contribution can be loss-making after a 30%-of-price CAC.

8. Not costing owner time in service work

A 5,000 project that takes you 60 unpaid hours is not 5,000 of profit — it is a wage you have not paid yourself.

9. Looking only at gross margin

A 70% gross margin with heavy overhead and ad spend can be a 2% net margin. Walk the full waterfall.

10. Using monthly profit as cash flow

Inventory timing, receivables, loan principal, and tax remittances make cash differ from profit — sometimes drastically.

11. Forgetting inventory timing

Cash spent on stock this month becomes COGS only when it sells. Profit can look fine while cash drains into the warehouse.

12. Using one benchmark for every industry

A 5% net margin is normal for a supermarket and alarming for a software product. Compare against your own model and history first.

13. Discounting without doing the volume maths

Compute the extra units a discount requires before launching it — the answer is usually larger than intuition suggests.

14. Pricing without fixed costs in view

Healthy unit economics still lose money below break-even volume. Check the safety margin, not just the per-unit profit.

15. Not re-checking margin after supplier changes

A 10% supplier increase on a 60%-cost product takes 6 points off gross margin. Re-run the numbers at every cost change.

Limitations and assumptions

Assumptions

  • Gross margin uses direct costs/COGS; contribution margin adds variable fees; operating margin adds operating expenses; net margin adds interest and estimated tax — all divided by net revenue.
  • Estimated tax = max(0, pre-tax profit) × your rate, or a custom amount — a planning simplification, not a jurisdiction-specific computation.
  • When "GST/VAT included in price" is selected, the tax portion (gross − gross ÷ (1 + rate)) is carved out of revenue as a pass-through, so collected tax never inflates margin.
  • Break-even assumes constant price, variable cost, and genuinely fixed costs; scenarios apply simple percentage shifts; annualised rows assume the period repeats.
  • SaaS LTV and CAC payback use a steady-state churn shortcut (new customers ≈ customers × churn), not cohort analysis.

Limitations

  • Not accounting software: no depreciation, amortisation, inventory valuation, accrual timing, working capital, or loan principal modelling.
  • No jurisdiction-specific tax compliance — income tax, GST/VAT filing, and sales-tax nexus rules are out of scope.
  • Benchmark bands are soft planning ranges, not statistics or guarantees.
  • Profit margin does not equal cash flow — inventory, receivables, tax timing, and debt payments move cash independently of margin.

This is a planning estimate, not a filed computation. For VAT/GST price arithmetic see the VAT/GST calculator; for income-side taxes see the income tax calculator; for ad-spend break-even see the break-even ROAS calculator.

Frequently asked questions

What is a profit margin calculator?

A tool that estimates how much of your revenue remains as profit after selected costs, expressed as a percentage. This one calculates gross, contribution, operating, and net margin, plus markup, target price, discount impact, break-even, scenarios, SKU comparison, and a downloadable XLSX workbook.

How do I calculate profit margin?

Subtract costs from revenue to get profit, then divide profit by revenue and multiply by 100. With 10,000 revenue and 6,000 cost: profit 4,000, margin 4,000 ÷ 10,000 = 40%.

What is the difference between gross margin and net margin?

Gross margin subtracts only direct costs (COGS). Net margin subtracts everything — direct costs, variable fees, operating expenses, interest, and estimated tax. The gap between them shows how much the cost of running the business consumes.

What is contribution margin?

Profit after every cost that scales with a sale — direct costs plus variable fees like payment processing, marketplace commission, shipping, and ad cost per order — divided by revenue. It is the margin that volume decisions, discounts, and break-even calculations depend on.

What is operating margin?

Profit after direct costs, variable fees, and operating expenses (rent, salaries, software, insurance), divided by revenue — but before interest and tax. It measures how efficiently the whole operation converts revenue into profit.

What is the difference between margin and markup?

Margin divides profit by the selling price; markup divides the same profit by the cost. A 40 profit on a 100 sale with 60 cost is a 40% margin but a 66.7% markup. They are never the same number except at zero.

How do I calculate selling price from a target margin?

Price = Cost ÷ (1 − target margin as a decimal). For a 40% margin on a 60 cost: 60 ÷ 0.60 = 100. The calculator also applies optional price rounding (.99, nearest 5 or 10) and shows the margin after rounding.

How do I calculate markup from margin?

Markup = Margin ÷ (1 − Margin). A 33.3% margin equals a 50% markup; a 50% margin equals a 100% markup. The reverse is Margin = Markup ÷ (1 + Markup).

Why is my gross margin high but my net margin low?

Costs below the gross line are absorbing it: payment and platform fees, shipping, ad spend, refunds, overhead, interest, and tax. The profit waterfall and the diagnosis cards identify which step takes the most.

Should GST/VAT/sales tax be included in revenue?

Generally no — tax collected from customers is a pass-through liability owed to the tax authority, not income. If your selling price includes GST/VAT, use the "tax included" option and the calculator carves it out: net revenue = gross ÷ (1 + rate).

What costs should I include in COGS?

Costs tied directly to what you sold: product or material cost, direct labour, packaging, inbound freight, landed cost. The test: would this cost grow if you sold one more unit?

What costs should I include in operating expenses?

Overhead that exists regardless of any single sale: rent, admin salaries, software subscriptions, utilities, marketing overhead, accounting, legal, and insurance.

How does a discount affect margin?

The full discount comes out of profit because cost does not move. A 10% discount on a 100-price, 60-cost product cuts the price to 90 but the profit from 40 to 30 — margin falls from 40% to 33.3%.

How many more units do I need to sell after a discount?

Required units = original total profit ÷ discounted profit per unit. In the example above, keeping 4,000 of profit needs 4,000 ÷ 30 ≈ 133 units instead of 100 — one-third more volume. If the discounted profit is zero or negative, no volume recovers it.

How do I calculate break-even units?

Break-even units = fixed costs ÷ contribution profit per unit. With 100,000 fixed costs, a 1,000 price and 600 variable cost (400 contribution), break-even is 250 units — 250,000 of revenue.

What is a good profit margin?

It depends on the business model. As soft planning bands: under 5% net is very thin, 5–10% thin, 10–20% moderate, 20–35% healthy, above 35% high. But a 4% net margin can be normal for retail and weak for consulting — use the business-type selector for context, and treat all bands as orientation, not verdicts.

Why does a good margin vary by industry?

Cost structure and volume differ. High-volume businesses (retail, wholesale) survive on thin margins; project and software businesses need wide margins to cover unbilled time and acquisition costs. Location, pricing power, and accounting treatment shift the bands further.

Can profit margin be negative?

Yes — whenever costs exceed revenue at the level being measured. A negative contribution margin is the most serious case: every additional sale increases the loss.

Is this calculator suitable for ecommerce?

Yes — the Ecommerce mode is built for Shopify, Amazon, Etsy, and D2C sellers: discounts, coupons, gateway and marketplace fees, platform and app allocations, ad cost per order, return rate with refund-loss share, RTO cost, monthly fixed costs, break-even orders, and fee/return diagnostics.

Is this calculator suitable for services and freelancers?

Yes — the Service/Project mode prices quotes from labour hours, contractor and tool costs, revenue-based fees, and overhead allocation, computes effective hourly profit, and warns when "profit" depends on unpaid owner time. It also solves the minimum quote for a target margin, correctly handling fees that scale with the quote.

Is this calculator suitable for SaaS?

Yes — the SaaS mode covers MRR, churn, hosting/support costs, payment fees, CAC, gross/contribution/net margin, profit per customer, a simple LTV estimate, CAC payback months, and the MRR needed for a target profit. LTV and payback use a steady-state churn shortcut, not a cohort model.

Can I export the result to XLSX?

Yes — the workbook has 17 sheets generated from your current inputs: README, Summary, Inputs, Profit Breakdown, Margin Formulas, Target Price, Discount Impact, Break-Even, Scenario Analysis, Sensitivity Table, SKU Comparison, Ecommerce/Service/SaaS sheets, Monthly-Annual Plan, Charts Data, and Assumptions. Input cells are editable and the formulas recalculate in Excel, Google Sheets, or Numbers. No sign-in, no macros.

Is this calculator accounting or tax advice?

No. It is an educational planning tool. Estimated tax is a simplified input, not a filing calculation, and the results are not a substitute for bookkeeping or professional advice. Verify decisions against your actual books with a qualified professional.

Why can profit differ from cash flow?

Profit recognises revenue and costs when they are earned or incurred; cash moves when money actually changes hands. Inventory purchases, receivables, loan principal payments, GST/VAT remittances, and tax instalments all move cash without appearing in margin.

How often should a business review margins?

At minimum monthly, and immediately after any supplier price change, platform fee change, shipping rate change, or new discount policy. Margins drift quietly — the businesses that catch it early re-price or re-cost before the damage compounds.

Related calculators

This page includes mini discount and break-even modules because they directly affect margin — for deeper, dedicated analysis use:

  • Markup CalculatorPrice from cost across 9 modes — markup, target margin, price analysis, profit target, reverse cost ceilings, ecommerce landed cost after fees, discount impact, quantity profit, and batch comparison, with a 10-sheet Excel pricing workbook.
  • Break-Even CalculatorA full break-even planner — units and revenue break-even, contribution margin, target profit, margin of safety, and a viability verdict across simple, detailed, service, ecommerce, multi-product, and solve-for modes, with scenarios, sensitivity tables, a break-even chart, and a 12-sheet Excel workbook.
  • Ecommerce Profit CalculatorAn ecommerce operator’s profitability dashboard — net profit per order after product costs, platform and payment fees, shipping, ads, and returns, with break-even price and ROAS, max affordable CAC, fixed-cost break-even, channel and SKU comparison, a scenario planner, and a 12-sheet Excel workbook.
  • Break-Even ROAS CalculatorA CFO-grade ad-profitability tool — marginal and business-level break-even ROAS, target ROAS for a desired net margin, max CAC and LTV-adjusted CAC, break-even MER, max ad budgets, SKU/channel comparison, scenarios, sensitivity heatmaps, and a 10-sheet Excel workbook.
  • VAT/GST CalculatorAdd or remove VAT, GST, HST, or consumption tax from a price, solve tax-inclusive and tax-exclusive values, calculate mixed-rate invoices, and export a formula-backed XLSX workbook.
  • ROI CalculatorReturn on investment five ways — simple ROI, date-based ROI, net ROI after fees/taxes/income, a reverse target solver, and a two-investment comparison — with gain/loss, annualised ROI (CAGR), and a multi-sheet Excel report.

Sources & methodology

The calculator follows the standard income-statement structure (net revenue − COGS = gross profit; onward to operating and net profit) as reflected in IRS Schedule C and Publication 334, applies the textbook margin/markup identities (Margin = Profit ÷ Revenue, Markup = Profit ÷ Cost, Price = Cost ÷ (1 − Margin)), and the standard contribution-margin break-even model (BE units = fixed costs ÷ contribution per unit) described in SBA small-business guidance. Margin↔markup conversions were cross-checked against the Shopify and Omni calculators listed below. The exported workbook reproduces the same formulas as live, editable Excel formulas, validated cell-by-cell against this page's engine. Calculator Matters is an independent project, not affiliated with any source listed. Links open in a new tab.

Business planning disclaimer

This profit margin calculator and its XLSX workbook are for education and planning only. They are not financial, accounting, tax, legal, investment, lending, or business advice, and they are not accounting software. Estimated tax is a simplified planning input, not a filing calculation; GST/VAT treatment depends on jurisdiction and accounting method. Actual profit and cash flow can differ because of inventory timing, refunds, chargebacks, payment delays, working capital, loan payments, depreciation, and accounting method. Verify results with your actual books and a qualified professional before making financial decisions.

Built and maintained by Calculator Matters, an independent calculator project. Formulas reviewed against the published sources above · Last reviewed 14 June 2026 · How we calculate · Found an error? [email protected]

Last reviewed: 14 June 2026. Formula and assumptions reviewed for accuracy. First published 11 June 2026.

Add this calculator to your site

Free, responsive embed — and private: nothing your visitors type leaves their browser.