💰 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
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
-
1Enter Your RevenueEnter the total sales revenue for the period you want to analyse.
-
2Enter Cost of Goods SoldEnter the direct costs of producing your goods or services (materials, labour, etc.).
-
3Enter Operating ExpensesOptionally add rent, salaries, marketing, and other overheads to see net margin.
-
4Read Your ResultsThe 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.
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
- Enter the business quantities, prices, costs, or rates.
- Separate fixed values from variable values where the formula requires it.
- Calculate the metric using standard business arithmetic.
- 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
Profit Margin Mistakes to Avoid
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
- Damodaran, A. Margins by Sector (US). NYU Stern School of Business, pages.stern.nyu.edu, 2024.
- Brealey, R.A., Myers, S.C., and Allen, F. Principles of Corporate Finance. McGraw-Hill, 2019.
- Warren, C.S. et al. Financial and Managerial Accounting. Cengage, 2021.
- Palepu, K.G. et al. Business Analysis and Valuation. Cengage, 2020.
- CFA Institute. CFA Program Curriculum — Financial Statement Analysis. CFA Institute, 2024.
Related Calculators
Browse all Business calculators →Markup Calculator
Calculate selling price, markup percentage, or cost price for any product.
Break-even Calculator
Calculate break-even point in units and revenue for any product or business.
Margin Calculator
Calculate margin required, leverage, and margin level for trading positions.