Free financial calculatorsEstimates only • Not financial advice
Financial calculator

Profit Margin Calculator

Calculate profit and profit margin from revenue and cost.

How to calculate profit margin: profit = revenue − cost, and margin (%) = profit ÷ revenue × 100.

Example: $60,000 revenue and $51,000 of costs give $9,000 profit, a 15% margin. Measured against cost instead, the same $9,000 is a 17.6% markup.

See markup vs margin, gross vs net margin, or the gross, operating and net margin calculator.

Build your scenario

Use your actual figures where available. The output is an educational estimate based on the assumptions below.

Sales/revenue
Cost of goods/services

Results update as you type. Select Calculate to move to your result.

Amounts show a $ symbol for readability. Enter figures in your own currency.

FINANCIAL ESTIMATE
—
Profit—
Revenue—
Cost—

Displayed amounts are rounded to two decimal places. Keep the same currency and time period across related inputs.

Results are estimates for education. Actual terms, rates, taxes, fees, compounding, and lender or investment conditions can change the outcome.

US$9 Excel / Google Sheets template

Want this as a reusable spreadsheet?

The Product Pricing & Margin Planner puts markup, margin, discounts, commission and break-even in one workbook you can save and reuse.

See the template

Embed this calculator

Add this lightweight calculator to your site. The embed has no analytics or consent popup. A small “Powered by Talreon” link points back to the full page.

Suggested height: 520px. Adjust width and height to fit your layout. The embed page is noindex and excluded from the sitemap.

Pricing & Margin Planner (Excel), US$9. A ready-made workbook to go with this calculator.

Buy the planner See the template

How this profit margin calculator works

Profit is revenue minus the cost you enter. Margin is that profit divided by revenue, not by cost. Operating expenses, tax and depreciation are included only if you put them in the cost field.

Important: Review the assumptions shown under each input. Changing one assumption can materially change the result.

When to use this calculator

  • Turn a revenue and cost pair into a profit and a margin percentage.
  • See how a higher cost shrinks margin on the same revenue.
  • Compare with the markup calculator, which prices from cost rather than from revenue.

How to use this calculator

  1. Enter revenue for a period, net of returns and discounts.
  2. Enter total cost for the same period. Enter only the cost of goods sold for a gross margin, or every cost, including overheads, interest and tax, for a net margin.
  3. Read the margin percentage and the dollars profit.

Profit margin formula

Profit = revenue − cost
Margin (%) = profit ÷ revenue × 100

Margin is measured against revenue. The same profit measured against cost is markup, which is always a larger percentage.

Worked example: 15% profit margin

A printing shop with $60,000 of quarterly revenue and $51,000 of total costs makes $9,000 profit, a 15.00% margin. A different business with $120,000 revenue and $72,000 cost of goods sold has a 40.00% gross margin; after $38,000 of overheads, interest and tax (total cost $110,000), its net margin is 8.33%.

Reading margins well

  • Compare like with like: gross with gross, net with net, same period length.
  • Watch the trend over several periods rather than one figure.
  • Industries differ widely, so compare with similar businesses.
  • A profitable margin does not guarantee enough cash; payment timing matters too.
  • Use revenue after returns and discounts, otherwise the margin looks better than it is.

Reading the results

The headline is the margin: profit as a percentage of revenue. Profit is revenue minus cost in dollars, and Revenue and Cost repeat your inputs. Whether the result is a gross or net margin depends entirely on which costs you entered, so label your notes accordingly. If costs exceed revenue, profit and margin are negative. Track the dollars profit alongside the percentage, because a higher margin on fewer sales can still leave less money to pay overheads.

Worked example: margin for an online seller after platform fees

Illustrative figures: an item sells for $40. Product cost is $16, shipping $6 and marketplace and payment fees $5.20. Profit is $40 − $27.20 = $12.80, a 32% margin. Leave out the fees and the margin looks like 45%, which overstates profit.

Worked example: margin on net-of-tax sales (UK, Canada, Australia)

A UK shop takes £120 including 20% VAT, so net revenue is £100. If costs are £70, the margin is 30%, not (120 − 70) ÷ 120 = 41.7%. Use the same net-of-tax approach with GST in Canada and Australia.

Related calculators

Related education

Browse all financial guides →

Frequently asked questions

Is this gross margin or net margin?

It is whatever you put in the cost box. The tool does not add overhead, tax or interest on its own.

How is this different from markup?

Margin is profit divided by revenue. Markup is profit divided by cost. A 50% markup is not a 50% margin.

Are sales taxes deducted?

Not automatically. Include tax in cost only if you want it in this estimate.

What is the profit margin formula?

Profit margin (%) = (revenue − cost) ÷ revenue × 100. $9,000 profit on $60,000 revenue is a 15% margin.

Is profit margin the same as markup?

No. Margin divides profit by revenue; markup divides it by cost. $9,000 profit on $51,000 cost is a 17.6% markup but a 15% margin.

Do platform fees count in profit margin?

Yes. Marketplace, payment and shipping costs reduce profit, so include them in costs for a realistic margin.

Is profit margin calculated before or after VAT or GST?

After removing it. Use revenue excluding VAT or GST, because that tax is not your income.

WhatsApp us