Quick answer: A margin calculator finds your profit margin and markup from an item's cost and selling price. Margin is profit divided by revenue. For example, a product costing $60 sold for $100 gives $40 profit, a 40% gross margin and a 66.7% markup on cost.
Finance πŸ‡ΊπŸ‡Έ USA πŸ‡¬πŸ‡§ UK Metric Imperial Live Results

Margin Calculator

Work out profit margin, markup, and total profit from cost, selling price, and quantity.

Calculate

Margin Calculator

Live 2026
United States view for margin calculator. Change any value to update the result and charts live.
$
Your cost per unit.
$
Price charged to the customer.
pcs
Units sold.
United Kingdom view for margin calculator. Change any value to update the result and charts live.
$
Your cost per unit.
$
Price charged to the customer.
pcs
Units sold.

Your Results

Ready
GROSS MARGIN
β€”
Enter your details above to calculate
Breakdown Chart
Distribution
Breakdown Table

Margin Calculator Guide 2026

Guide

⚠️ Disclaimer

Important

This tool provides estimates for informational purposes only. It is not a substitute for professional advice. Individual results vary based on your inputs and assumptions, so review important decisions with a qualified professional.

@
FreeUSUKCalculator.com freeusukcalculator.com
Margin Calculator β€” Results Report
Inputs Used
Key Result
Gross Margin
β€”
Full Breakdown
ItemValue
Charts
Breakdown Chart
Distribution
Current Result
β€”

Embed this Margin Calculator

Margin Calculator – Complete Guide

Guide

Profit margin is one of the most important metrics in business finance. Whether you run a small e-commerce store, a restaurant, a manufacturing company, or a SaaS platform, understanding your margins determines pricing strategy, viability, and growth potential. This complete guide covers gross margin, operating margin, net margin, the critical difference between markup and margin, industry benchmarks, and how taxes and VAT in the UK and US affect your reported profitability.

The Margin vs Markup Confusion

The single most common error in business finance is confusing margin and markup. They are calculated from the same numbers but produce very different percentages:

  • Gross Margin = (Revenue βˆ’ Cost of Goods Sold) Γ· Revenue Γ— 100
  • Markup = (Revenue βˆ’ Cost of Goods Sold) Γ· Cost of Goods Sold Γ— 100

Example: A product costs Β£40 to make and sells for Β£100.

  • Gross Margin = (Β£100 βˆ’ Β£40) Γ· Β£100 = 60%
  • Markup = (Β£100 βˆ’ Β£40) Γ· Β£40 = 150%

The margin (60%) and markup (150%) refer to the same transaction but look completely different. Confusing the two leads to serious pricing errors. If you want a 40% margin, you need a 66.7% markup (not a 40% markup, which gives only a 28.6% margin).

Converting Between Margin and Markup

These conversion formulas are essential for pricing:

  • Markup from Margin: Markup% = Margin% Γ· (100 βˆ’ Margin%) Γ— 100
  • Margin from Markup: Margin% = Markup% Γ· (100 + Markup%) Γ— 100
Target Margin Required Markup
20%25%
30%42.9%
40%66.7%
50%100%
60%150%

Types of Profit Margin

Gross Margin

Gross margin measures profitability before overhead costs (rent, salaries, marketing, utilities). It shows how much profit is generated from the direct cost of producing goods or services.

Gross Margin = (Revenue βˆ’ COGS) Γ· Revenue Γ— 100

Where COGS = Cost of Goods Sold (materials, direct labour, manufacturing costs).

Operating Margin

Operating margin (also called EBIT margin) subtracts operating expenses from gross profit:

Operating Margin = Operating Income Γ· Revenue Γ— 100

Operating income = Gross Profit βˆ’ Operating Expenses (SG&A, R&D, depreciation). This shows the profitability of the core business before interest and taxes.

Net Profit Margin

The "bottom line" β€” what remains after all expenses including interest and taxes:

Net Margin = Net Profit Γ· Revenue Γ— 100

Net profit = Revenue βˆ’ COGS βˆ’ Operating Expenses βˆ’ Interest βˆ’ Taxes.

Contribution Margin

Used in management accounting for product-level decisions:

Contribution Margin = (Revenue βˆ’ Variable Costs) Γ· Revenue Γ— 100

This shows how much each product contributes to covering fixed costs. Products with negative contribution margins should be discontinued; those with high contribution margins are priorities for growth.

Industry Profit Margin Benchmarks

Industry Gross Margin Net Margin
SaaS / Software70–80%10–25%
Retail (general)25–50%1–5%
Restaurants / Food Service60–70%3–9%
Manufacturing20–40%5–15%
Healthcare / Pharmaceuticals50–80%10–20%
Construction15–25%2–8%
Financial Services50–70%20–30%
Grocery / Supermarket20–30%1–3%

Note: Restaurants have high gross margins (food cost is typically only 28–35% of revenue) but very thin net margins due to high labour, rent, and utility costs.

Break-Even Analysis Using Margin

Once you know your contribution margin, you can calculate your break-even point:

Break-even Revenue = Fixed Costs Γ· Contribution Margin%

Example: A business has Β£30,000/month in fixed costs and a 40% contribution margin. Break-even = Β£30,000 Γ· 0.40 = Β£75,000/month in revenue. Below this level, the business makes a loss.

VAT and UK Business Rates Impact on Margins

UK businesses registered for VAT (required above the Β£90,000 threshold for 2024/25) charge 20% VAT on sales and reclaim VAT on purchases. VAT itself is technically neutral for VAT-registered businesses β€” but it affects cash flow and pricing perception. For businesses selling to consumers (who cannot reclaim VAT), a price including VAT is the competitive price, and margin must be calculated on the ex-VAT price.

UK business rates (a property tax on commercial premises) are a significant fixed cost for physical retailers. Business rates are calculated as: Rateable Value Γ— Uniform Business Rate (UBR, 51.2p for 2024/25 for properties with rateable value above Β£51,000). A shop with a Β£100,000 rateable value pays Β£51,200/year in business rates β€” directly reducing net margin.

US Federal Corporate Tax Effect on Net Margin

The US federal corporate income tax rate is 21% (post-Tax Cuts and Jobs Act 2017, applicable to C corporations). State corporate taxes add 0–12%, varying by state (Texas and Nevada: 0%; New Jersey: 11.5%). Combined, effective corporate tax rates of 25–30% are common. This directly reduces net margin β€” a company with 20% operating margin and 25% effective tax rate reports approximately 15% net margin.

Using Margin for Pricing Strategy

Knowing your target margin allows you to price products correctly:

Selling Price = Cost Γ· (1 βˆ’ Desired Margin)

Example: A product costs Β£60 to produce and you want a 40% gross margin. Selling price = Β£60 Γ· (1 βˆ’ 0.40) = Β£60 Γ· 0.60 = Β£100.

This formula is commonly used in retail, hospitality, and manufacturing. It is different from simply adding a markup (Β£60 Γ— 1.40 = Β£84, which gives only 28.6% margin, not 40%).

What is the difference between margin and markup?

Margin = profit Γ· selling price. Markup = profit Γ· cost price. They are calculated from the same numbers but give different percentages. A product that costs Β£40 and sells for Β£100 has a 60% gross margin but a 150% markup. Confusing the two is a common and costly pricing error.

How do I calculate gross margin?

Gross Margin = (Revenue βˆ’ Cost of Goods Sold) Γ· Revenue Γ— 100. For example, if you sell a product for Β£100 and it costs Β£35 to produce, gross margin = (Β£100 βˆ’ Β£35) Γ· Β£100 = 65%. This measures how much of each pound of revenue remains after covering direct production costs.

What is a good profit margin for a business?

It depends heavily on industry. SaaS companies typically have 70–80% gross margins. Restaurants have 60–70% gross margins but only 3–9% net margins due to high overheads. Retailers have gross margins of 25–50% and net margins of 1–5%. A "good" margin is one above the industry average for your sector.

How do I set a price to achieve a specific margin?

Use the formula: Selling Price = Cost Γ· (1 βˆ’ Desired Margin%). For a 40% margin on a Β£60 cost item: Β£60 Γ· 0.60 = Β£100 selling price. Note: adding 40% markup to Β£60 gives only Β£84 (which is 28.6% margin, not 40%) β€” this is the margin vs markup trap.

How does VAT affect profit margins in the UK?

For VAT-registered businesses, VAT is generally neutral because you collect it from customers and reclaim it on purchases. However, it affects your pricing β€” if your quoted price includes VAT, you only keep the ex-VAT portion. On a Β£120 (inc. VAT) sale at standard 20% rate, you keep Β£100 and remit Β£20 to HMRC. Margin must be calculated on the Β£100 ex-VAT revenue, not the Β£120 inclusive price.

What is operating margin?

Operating margin (EBIT margin) = Operating Income Γ· Revenue Γ— 100. It measures profitability after subtracting all operating expenses (including SG&A, R&D, and depreciation) from gross profit, but before interest and tax. It shows the efficiency of the core business operations, independent of capital structure or tax strategy.

What is contribution margin?

Contribution margin = (Revenue βˆ’ Variable Costs) Γ· Revenue Γ— 100. It shows how much each pound/dollar of revenue contributes to covering fixed costs and generating profit after variable costs are removed. Products with negative contribution margins lose money on every sale β€” a common signal that pricing or variable costs need adjustment.

How does the US 21% corporate tax rate affect net margins?

The federal corporate rate of 21% plus state taxes (averaging 5–7%) creates an effective combined rate of approximately 25–28% for most US corporations. A business with 20% operating margin and 26% effective tax rate reports a net margin of approximately 14.8% (20% Γ— (1 βˆ’ 0.26)). Higher net margins are retained for reinvestment or shareholder returns.