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

Verify against your own books — full formula shown.

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.Shipping, payment fees, ads, and returns usually separate gross from net margin.Platform commissions and fulfilment fees compress seller margins.High-volume, thin-net-margin model; rent and staff dominate below the gross line.Food cost is usually 28–38% of menu price; labour and rent take most of the rest.Thin per-unit margins offset by volume; logistics costs matter.Materials, direct labour, and machine overhead drive the gross line.Bid-to-bid variance is large; change orders and rework decide the net line.Margins depend on utilisation and whether owner time is costed.Scope creep and unbilled revisions are the classic margin leaks.High margin on paper — but only if your own time is priced in.High gross margins; net depends on acquisition spend and growth stage.Near-zero marginal cost; platform fees and ad spend decide the net.Travel time, callbacks, and seasonality affect realised margins.Churn and acquisition cost decide whether gross margin survives to net.

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

Planning estimate only — not accounting, tax, or valuation advice.

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.

At a glance

Formula shown
Margin % = Profit ÷ Revenue × 100 — markup divides the same profit by cost.
Scenario support
Six modes with target price, discount, break-even, sensitivity, and SKU comparison.
Workbook export
17-sheet Excel (XLSX) export
Educational estimate
Planning support from the values you enter — not professional advice.

How to read your result

The result panel walks revenue down a waterfall: gross margin after direct costs, contribution margin after the fees and shipping that scale with each sale, operating margin after overhead, and net margin after interest and estimated tax. Reading all four together — not just the gross line — is what shows where the money actually goes. The diagnosis cards underneath point at pricing power, cost pressure, fee leakage, refund risk, and break-even safety, and the markup figure sits next to margin so the two are never confused. Switch modes for per-order ecommerce economics, service-quote hourly profit, or SaaS unit economics, then use the target price, discount, break-even, scenario, and sensitivity tools to stress-test the number before you download the workbook.

Profit margin formulas

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.

Worked example

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). Product-cost-only, the sale looks like a 55% margin (2,000 − 900 = 1,100). But net order revenue after the return allowance is ₹1,900; direct costs are 1,070; fees and ads add 40 + 200 + 250 = 490 — leaving a contribution profit of ₹340 per order, an 17.9% contribution margin. Fees, ads, shipping, and returns consumed the difference between the product-cost view and the real number. This is why the calculator separates gross margin (direct cost only) from contribution margin (every cost that scales with the sale) instead of reporting one blended figure.

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 used inside the tool 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.

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 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.

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 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.

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 nine modes — markup, target margin, reverse cost ceilings, and ecommerce landed cost after fees.
  • Break-Even CalculatorFind units and revenue break-even, contribution margin, target profit, and margin of safety, with sensitivity tables and a chart.
  • Ecommerce Profit CalculatorSee net profit per order after product costs, fees, shipping, ads, and returns, with break-even price and ROAS.
  • Break-Even ROAS CalculatorWork out break-even and target ROAS from your real margins, plus max CAC, break-even MER, and ad budgets.
  • VAT/GST CalculatorAdd or remove VAT, GST, or HST from a price, solve tax-inclusive and tax-exclusive values, and build mixed-rate invoices.

Read the guides

For worked examples and the full walkthrough of margin, markup, and break-even, see Profit Margin vs Markup vs Break-Even: The Difference Explained.

Selling online? See how fees, shipping, and ad spend eat into that margin in Ecommerce Profit: Fees, Shipping, Ads, Returns, and Real Margin.

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.

How we calculate · Found an error? email us

Learn more

How to Calculate Profit Margin, Markup, and Break-Even Correctly

Margin, markup, and break-even are not the same thing — worked examples show why a 40% markup is only a 28.6% margin, not 40%.

Read the guide

Authorship & verification

Written and maintained by

  • Formula and examples verified on 14 June 2026
  • Educational estimate only

Add this calculator to your site

Responsive embed — and private: nothing your visitors type leaves their browser.