BusCalcTools

Profit Margin Calculator — Instant, Free Results

Last reviewed:

Calculate gross, operating, and net profit margin from your revenue and cost figures. Switches automatically between USA, UK, and South Africa tax rates.

Profit margin equals profit divided by revenue. Gross margin uses cost of goods sold; net margin subtracts all costs and tax. A healthy small-business net margin is ten percent.

How it works

Enter your total revenue and your cost of goods sold (COGS) — the direct costs to produce or buy what you sell. Gross profit is what remains. Add your operating expenses (rent, salaries, marketing) to see operating margin. Add your tax rate to see true net profit margin after tax. Results update on every keystroke; there is no submit button.

Tax rates pre-fill from your selected region: 21% for the USA (federal corporate), 25% for the UK (corporation tax, 19% small profits rate applies under £50,000), and 27% for South Africa (standard corporate). Override the rate if your business has a different effective rate.

Common mistakes

  • Confusing margin with markup — margin is profit as a percentage of selling price; markup is profit as a percentage of cost. A 50% markup on a $40 cost gives a $60 selling price, but that is only a 33.3% margin. Owners who treat the two as interchangeable typically over-discount and under-earn.
  • Using gross margin for owner-draw decisions — gross margin only deducts COGS, so it looks healthy even when rent, payroll, and software are eating the rest. For "how much can I take out of the business?" the right number is net margin, after operating expenses and tax. A 45% gross margin can quietly hide a 4% net margin.
  • Forgetting payroll taxes and contractor fees — operating expenses must include employer-side payroll taxes (roughly 7.65% in the US, 15.05% employer NI in the UK), workers' comp, and any contractor or platform fees. Leaving them out can overstate operating margin by 3–5 percentage points.

When to use this calculator

Use this calculator when you already have a selling price (or actual revenue) and want to check whether existing margins are healthy or have eroded. It is the right tool for diagnosing why monthly profit is lower than expected and for comparing margins across products in your line-up.

If you are setting a brand-new price from cost, the Pricing Calculator is more direct. If you want to walk every line of the income statement from revenue down to net profit, use the Net Profit Calculator instead.

See the formula
Gross Profit Margin (%) = ((Revenue − COGS) / Revenue) × 100

Net Profit Margin (%) = ((Revenue − COGS − Operating Expenses − Tax) / Revenue) × 100

Example: Revenue = $50,000 | COGS = $30,000
  Gross Profit = $20,000
  Gross Profit Margin = (20,000 / 50,000) × 100 = 40%

Worked example

A specialty coffee roaster trading in the UK closes the year with £420,000 of revenue. Cost of goods sold — green beans, packaging, freight, and the wages directly tied to roasting — comes to £210,000. Operating expenses — café rent, two baristas, accounting software, insurance, marketing — total £140,000. Corporation tax is the small profits rate of 19% (taxable profit sits below £50,000).

The waterfall runs as follows: gross profit is £420,000 − £210,000 = £210,000, which divided by revenue gives a 50% gross margin — healthy for specialty coffee, where 45–55% is typical. Operating profit is £210,000 − £140,000 = £70,000, a 16.7% operating margin. Corporation tax at 19% on £70,000 is £13,300, leaving £56,700 of net profit and a 13.5% net margin.

A 13.5% net margin is comfortably above the 10% small-business floor and signals the business is funding owner draws, future stock buys, and a small reserve from the same year's trading. If gross margin had instead dropped to 40% — perhaps because a coffee-bean supplier raised prices and the roaster absorbed the cost — gross profit would have fallen to £168,000, operating profit to £28,000, and net margin to roughly 5.4%. That single supplier decision is the difference between a healthy and a marginal year, and it is the kind of erosion this calculator surfaces in seconds.

Frequently Asked Questions

What is a good profit margin for a small business?
A gross profit margin above 40% is considered strong for most product businesses. Service businesses typically see higher margins (50–70%). Net profit margins of 10–20% are healthy for most small businesses. Use this calculator to benchmark your margin against these targets.
What is the difference between profit margin and markup?
Profit margin is calculated as a percentage of your selling price. Markup is calculated as a percentage of your cost. A 50% markup on a $10 cost gives a $15 selling price — but the margin on that sale is only 33%. They are different numbers for the same transaction.
How do I calculate gross profit margin?
Gross profit margin = ((Revenue − Cost of Goods Sold) / Revenue) × 100. For example, if you earn $100,000 in revenue and your COGS is $60,000, your gross profit is $40,000 and your gross margin is 40%.
What is net profit margin?
Net profit margin is your profit as a percentage of revenue after ALL costs — including COGS, operating expenses, interest, and taxes. It is the true bottom-line profitability measure. A 10% net margin means you keep $10 for every $100 of revenue earned.
How is profit margin different in the UK vs USA?
The calculation method is identical, but tax rates differ. In the UK, corporation tax is 25% (19% for profits under £50,000). In the USA, federal corporate tax is 21%, with additional state-level taxes. This calculator automatically adjusts for your selected region.
What is the difference between gross, operating, and net margin?
Gross margin deducts only the direct cost of producing what you sell. Operating margin also deducts rent, salaries, marketing, and other running costs — it shows how efficient the business is before financing and tax. Net margin deducts interest and tax too. The three numbers should always step down: gross > operating > net.
What does it mean if my net profit margin is negative?
A negative net margin means your total costs (COGS, operating expenses, interest, and tax) exceed your revenue — you are running at a loss for that period. Short-term losses are normal during early growth or seasonal dips, but a consistently negative margin signals either underpricing, bloated overheads, or weak demand. Diagnose by checking which line in the waterfall flips the result negative.
What is the most common profit margin mistake?
Confusing markup with margin is the most expensive error in small business. A shop owner applying "50% markup" thinking it equals a 50% margin actually earns only 33.3%. On annual revenue of $500,000 that gap is roughly $80,000 of profit gone missing. Always calculate the margin separately rather than assuming the markup percentage is what you keep.
My revenue is zero — why does the margin show an error?
Profit margin divides profit by revenue. When revenue is zero the calculation is mathematically undefined (division by zero), so the calculator shows a dash or error rather than a misleading 0% or 100%. Enter a non-zero revenue figure to see results. If you genuinely had no sales in the period, margin is not a meaningful metric — track cash burn instead.
I have my margin number — what should I do with it?
Compare it to your industry benchmark (10–20% net is healthy for most small businesses) and to your own prior periods. If margin is falling, the cause is usually either rising COGS (renegotiate suppliers), rising overhead (audit fixed costs), or undisciplined discounting (test smaller promotions). If margin is healthy but profit is small, the lever is volume — focus on driving more revenue at the same margin.

Glossary

COGS (Cost of Goods Sold)
The direct cost of producing or buying the goods you sold during a period — raw materials, manufacturing labour, freight in.
Operating Expenses (OpEx)
Ongoing costs to run the business that are not tied to a specific unit sold — rent, salaries, software, marketing.
Net Profit
The bottom-line profit after all costs and taxes have been subtracted from revenue.

Related calculators

Read the comparison

Embed this calculator on your site (free)

Copy and paste the snippet below into any HTML page. The calculator loads in an auto-resizing iframe with no setup required. A small Powered by BusCalcTools credit appears below the calculator — please leave it in place.

<div id="bct-embed-profit-margin-calculator"></div>
<script async src="https://buscalctools.com/embed/profit-margin-calculator.js"></script>

Methodology & sources

Rates last verified: May 2026

Read the full methodology →

Tax rate defaults reflect each region's headline corporate tax rate. Override the rate if your effective rate differs (e.g. UK small profits rate, US state tax additions).

Rates are reviewed annually or when a region changes its headline rate. If you spot one that's out of date, email [email protected].

For information only. This calculator does not constitute financial, accounting, or tax advice. Consult a qualified professional before making business decisions.

Try these scenarios

Pre-filled examples — click any chip to load the inputs and result.

How to calculate profit margin

  1. Pick your regionToggle USA, UK, or South Africa to load the right currency symbol and pre-fill the corporate tax rate.
  2. Enter total revenueType your sales or revenue for the period in the Revenue field.
  3. Enter cost of goods sold (COGS)Add the direct costs to produce or buy what you sold.
  4. Add operating expenses (optional)Add rent, salaries, marketing, and overhead to unlock the operating margin result.
  5. Read your margin tierGross, operating, and net margin display with color-coded interpretation — green is healthy, amber is caution, red needs action.

Found this calculator useful?

Save it to a Pinterest board for later, or share with your team.

Save to Pinterest
JB

Written by

James Blanckenberg

Founder, BusCalcTools

Founder of BusCalcTools and FinnCalc. Builds practical financial calculators for small business owners and freelancers across the US, UK, and South Africa.

Editorial review by: James Blanckenberg, Founder & Editor

More about James →

One short email a month

New calculators, pricing tactics, and small-business numbers worth knowing. No spam, unsubscribe in one click.