Advertisement

💰 Profit Margin Calculator

Calculate gross margin, net margin, and markup from revenue, COGS, and operating expenses. Business profitability ratios for pricing, reporting, and lender covenants.

Gross and Net Margin for Products and Services

BrainyCalculators editorial insight — unique to this tool

Gross margin = (revenue − COGS) / revenue — a D2C brand selling a ₹999 shirt with ₹400 manufacturing cost earns 59.9% gross margin before ads and shipping. Net margin subtracts all operating expenses; Indian MSMEs filing GST returns often track gross margin per SKU while net margin appears on the P&L. Margin is not markup: 50% margin equals 100% markup on cost.

When to use this calculator

Use to price products, evaluate SKU profitability, or compare against industry benchmarks. For trading account collateral, use Margin (finance/trading).

Reference Value Context
SaaS gross margin 70–85% Industry benchmark
Grocery retail net 1–3% Thin margin sector
50% margin 100% markup Common confusion
D2C apparel gross 50–60% Before marketing

Not what you need? For forex leverage and margin calls, use Margin. For break-even volume, use Break-even.

Not looking for trading leverage margin?

This page calculates gross margin, net margin, and markup for business products and services. For forex, CFD, and brokerage collateral requirements, use our Trading Margin Calculator →

Profit Margin as a Business Performance Ratio

Profit margin measures how many cents of each sales dollar remain after costs — gross margin (after COGS), operating margin (after overhead), and net margin (after interest and tax). A 35% gross margin on $100,000 revenue leaves $35,000 before rent, payroll, and tax.

Use this page for income statement analysis, pricing decisions, investor decks, and covenant compliance. Markup is expressed on cost; margin is expressed on revenue — a 40% margin equals a 66.7% markup.

Trading margin is brokerage collateral for leveraged forex or CFD positions — a completely different concept. For required margin, leverage, and liquidation price on trades, use the Trading Margin Calculator.

Profit Margin Formulas

Gross Profit = Revenue − COGS
Gross Margin = (Gross Profit ÷ Revenue) × 100
Net Profit = Gross Profit − Operating Expenses
Net Margin = (Net Profit ÷ Revenue) × 100
Markup = (Gross Profit ÷ COGS) × 100

Margin is expressed as a percentage of revenue, while markup is expressed as a percentage of cost. A 40% margin equals a 66.7% markup.

How to Calculate Profit Margin

  1. 1
    Enter Your Revenue
    Enter the total sales revenue for the period you want to analyse.
  2. 2
    Enter Cost of Goods Sold
    Enter the direct costs of producing your goods or services (materials, labour, etc.).
  3. 3
    Enter Operating Expenses
    Optionally add rent, salaries, marketing, and other overheads to see net margin.
  4. 4
    Read Your Results
    The calculator instantly shows gross profit, gross margin, net profit, net margin, and markup.

Real-World Example

A retailer has $50,000 in revenue and $30,000 in cost of goods sold.

Gross Profit = $50,000 − $30,000 = $20,000
Gross Margin = ($20,000 ÷ $50,000) × 100 = 40%
Markup = ($20,000 ÷ $30,000) × 100 = 66.7%

How the Profit Margin Calculator Works

Formula, assumptions, and calculation steps for this business tool.

Formula Used

Profit Margin = (Revenue - Cost) / Revenue * 100

Methodology

Business calculators combine revenue, cost, margin, productivity, or pricing inputs into operating metrics that can be compared across scenarios.

Calculation Steps

  1. Enter the business quantities, prices, costs, or rates.
  2. Separate fixed values from variable values where the formula requires it.
  3. Calculate the metric using standard business arithmetic.
  4. Return the headline result with supporting totals or percentages.

Assumptions and Limits

  • Inputs should represent the same period or business unit.
  • One-time and recurring costs should not be mixed unless the calculator explicitly supports them.
  • Results are planning estimates and may differ from accounting statements.

Frequently Asked Questions

Many software businesses target 65–80% gross margin because hosting and support are the main COGS. Compare against peers, not against supermarket net margins near 2%.

Markup is profit divided by cost; margin is profit divided by revenue. A £10 cost sold for £15 is 50% markup but only 33.3% gross margin.

Include freight and fulfilment when they are direct costs of delivering the product. Misclassifying them as operating expense inflates gross margin artificially.

Yes. Startups may run negative net margin while scaling. The metric still matters for runway planning and for showing whether unit economics trend toward breakeven.

Real-World Applications

🏷️
SKU Pricing Reviews
Rank products by gross margin to decide which items deserve shelf space and promotional spend.
📊
Investor Reporting
Show operating margin expansion quarter over quarter to demonstrate leverage as revenue scales.
🏭
Supplier Negotiations
Model how a 3-point COGS reduction flows through to gross and net margin at current volume.
🛒
Retail Benchmarking
Compare your net margin to sector medians instead of applying a universal “20% is good” rule.
💳
Loan Covenant Tracking
Monitor operating margin against lender floors before covenant breach triggers refinancing pressure.
🚀
Unit Economics Checks
Validate that contribution margin on a subscription covers expected CAC payback periods.

Profit Margin Mistakes to Avoid

1
Setting prices with markup tables labeled as margin
A “40% margin” pricing sheet that actually applies 40% markup on cost yields only 28.6% true margin — a silent profitability leak.
2
Comparing gross margin to a competitor’s net margin
Public filings label each margin type explicitly. Mixing layers makes efficient operators look worse than they are.
3
Excluding discounts from revenue
Margin must use net revenue after returns and rebates. Using list price inflates both revenue and apparent margin.
4
Treating one-off gains as sustainable margin
Asset sales and tax credits belong in adjusted analyses, not in baseline operating margin targets.
5
Opening trading leverage math on this page
Broker collateral and pip exposure are unrelated to COGS. Use Trading Margin for position sizing.

Gross Margin vs Net Margin Benchmarks by Sector

Sector Typical Gross Margin Typical Net Margin
Software / SaaS 65–80% 15–30%
Pharmaceuticals 60–75% 15–25%
Professional Services 40–60% 10–20%
Retail (ecommerce) 30–50% 3–8%
Food & Beverage Manufacturing 25–40% 5–10%
Supermarkets / Grocery Retail 20–30% 1–3%

References

  1. Damodaran, A. Margins by Sector (US). NYU Stern School of Business, pages.stern.nyu.edu, 2024.
  2. Brealey, R.A., Myers, S.C., and Allen, F. Principles of Corporate Finance. McGraw-Hill, 2019.
  3. Warren, C.S. et al. Financial and Managerial Accounting. Cengage, 2021.
  4. Palepu, K.G. et al. Business Analysis and Valuation. Cengage, 2020.
  5. CFA Institute. CFA Program Curriculum — Financial Statement Analysis. CFA Institute, 2024.