Profit Margin Calculator

Enter your revenue and cost to instantly see gross margin, net margin, markup %, and more. Works for any product, service, or business size.

Enter Your Numbers

Total money received from sales
Direct cost to make or buy the product
Rent, salaries, utilities, marketing — not included in COGS
Corporate or income tax rate
Try an example

Your Margin Breakdown

Fill in your revenue and cost on the left and click Calculate to see your profit margin breakdown.

Gross Profit Margin
0.00%
Gross Profit: —
CostProfit
Full Breakdown
Revenue
Cost of Goods Sold
Gross Profit
Gross Margin %
Markup %
Break-Even Revenue

Revenue Breakdown

Margin vs Industry Average

What Is Profit Margin?

Profit margin tells you what portion of each sale you actually keep as profit. It is expressed as a percentage of revenue. A 50% gross margin means for every $100 in sales, $50 goes to covering your costs and $50 is left over before other expenses. To calculate this quickly for any product, use our gross profit calculator.

There are three main types: gross margin (revenue minus direct production costs), operating margin (also subtracts operating expenses like rent and salaries), and net margin (what is left after everything — including taxes). For a full bottom-line picture, our net profit calculator walks you through every deduction from revenue to final take-home profit. For businesses with variable costs, the contribution margin calculator shows how much each unit sold actually contributes toward covering your fixed costs.

Understanding your margin helps you price products correctly, compare performance across periods, and know if your business model is actually sustainable. If you invest on margin through a brokerage, the margin interest calculator helps you see how much borrowing costs are eating into your returns.

Profit Margin Formulas

The key formulas you need:

  • Gross Profit = Revenue − COGS
  • Gross Margin % = Gross Profit ÷ Revenue × 100
  • Markup % = Gross Profit ÷ COGS × 100
  • Operating Margin % = (Gross Profit − Opex) ÷ Revenue × 100
  • Net Margin % = Net Profit ÷ Revenue × 100

Example: Revenue = $10,000. COGS = $6,000. Gross Profit = $4,000. Gross Margin = 40%. Markup = 66.7%.

Margin vs Markup — What's the Difference?

Many business owners confuse margin and markup. They look similar but are calculated differently and can lead to big pricing mistakes if mixed up.

Item Costs Selling Price Gross Margin % Markup %
$50$10050.0%100.0%
$60$10040.0%66.7%
$75$10025.0%33.3%
$80$10020.0%25.0%
$90$10010.0%11.1%

Margin is always lower than markup for the same product. Margin uses selling price as the base; markup uses cost as the base.

Typical Margins by Industry

Margin expectations vary a lot depending on the business type. Compare your numbers to these common ranges:

Industry Typical Gross Margin Typical Net Margin
Software / SaaS65–80%15–30%
Consulting / Services55–70%15–25%
Finance / Insurance70–85%18–28%
Healthcare40–60%8–15%
E-commerce35–50%3–8%
Retail25–45%2–5%
Restaurant / Food60–70%3–9%
Manufacturing20–35%5–12%
Construction15–25%2–6%
Wholesale15–25%1–4%
Calculator Settings
Auto Calculate Instant results as you type
Example Buttons Quick-fill presets above inputs
Advanced Options Show opex, interest & tax by default
More Options Depreciation, returns & shipping
Reverse Price Mode Find selling price from cost & margin
Per Unit Mode Calculate from unit price & quantity

Gross Profit at Different Revenue & Margin Levels

Shows gross profit in $ for combinations of revenue and margin percentage.

Revenue $ 10% Margin 20% Margin 30% Margin 40% Margin common target 50% Margin 60% Margin
Gross profit = Revenue × Margin %. These figures exclude operating expenses and taxes.

What Selling Price Do You Need?

Given your cost and a target gross margin, shows the required selling price. Formula: Price = Cost ÷ (1 − Margin).

Cost $ 20% Margin 30% Margin 40% Margin popular target 50% Margin 60% Margin 70% Margin
Highlighted column (40%) is a common gross margin goal for product-based businesses.

Markup % → Gross Margin % Conversion

Many retailers set prices using markup. This table shows the equivalent gross margin for each markup percentage.

Markup % Gross Margin % Cost $100 → Selling Price Profit on $100 Cost
Markup % is always higher than the equivalent margin %. They are NOT interchangeable.

Break-Even Revenue by Fixed Costs & Gross Margin

Break-Even Revenue = Fixed Costs ÷ Gross Margin %. Shows how much revenue you need to cover fixed costs.

Fixed Costs $ 20% Margin 30% Margin 40% Margin 50% Margin 60% Margin best case
Higher gross margins mean you need less revenue to break even on your fixed costs.

Global Industry Gross & Net Margin Benchmarks

Average profit margins vary widely by sector. Use these figures to see where your business stands.

Industry Avg Gross Margin Avg Net Margin Key Driver
Software / SaaS72%25%Low COGS, recurring revenue
Finance & Insurance80%22%Interest income, fees
Consulting / Services60%20%Low material cost
Healthcare48%10%High labor, regulation
E-commerce42%5%Shipping, returns
Restaurant / Food65%6%High labor & overhead
Retail — General35%3.5%High volume, competition
Manufacturing28%8%Raw materials, labor
Construction20%5%Materials, subcontractors
Wholesale / Distribution22%2.5%Thin spreads, volume
Automotive Dealers15%2%High cost inventory
Grocery / Supermarket25%1.5%Extreme competition
These are global averages from publicly reported data. Individual businesses vary significantly based on scale, location, and strategy.