Profit Margin Calculator
Calculate gross profit margin, net profit margin, operating margin, and markup percentage instantly. Supports simple (revenue vs cost) and detailed (COGS, OpEx, taxes) modes. Includes industry benchmarks, worked examples, and a margin vs markup guide.
Revenue & Cost
Gross Profit Margin
30%
Excellent ยท $3,000.00 profit
Net Margin
30%
Excellent
Markup
42.86%
on cost
Revenue Breakdown
How It's Calculated
Revenue: 10,000.00
Total Cost: 7,000.00
Gross Profit = Revenue โ Total Cost
= 10,000.00 โ 7,000.00 = 3,000.00
Gross Margin = (Gross Profit / Revenue) ร 100
= (3,000.00 / 10,000.00) ร 100 = 30%
Markup = (Gross Profit / Total Cost) ร 100
= (3,000.00 / 7,000.00) ร 100 = 42.86%What Is a Profit Margin Calculator?
A profit margin calculator converts your revenue and cost figures into the key financial ratios that tell you how efficiently your business generates profit. Instead of manually dividing numbers, you get instant results for gross margin, net margin, markup percentage, and break-even revenue โ the four metrics that investors, lenders, and business owners use to benchmark financial health.
Whether you're pricing a product, reviewing a quarterly income statement, or comparing your business against industry averages, this tool handles both simple mode (revenue vs total cost) and detailed mode (COGS โ gross profit โ operating profit โ net profit), giving you the complete picture in seconds.
How to Use This Calculator
Choose a mode
Use Simple mode if you just want a quick margin โ enter your total revenue and total cost. Switch to Detailed mode to build out a full income statement with COGS, operating expenses, other expenses, and taxes.
Enter your numbers
Type in your revenue (total sales) and relevant cost figures. All fields support any currency โ select yours from the dropdown. Negative profit is displayed clearly in red so loss-making scenarios are immediately obvious.
Review the results
The results panel shows your gross margin %, net margin %, markup %, and a colour-coded grade (Excellent / Good / Average / Low / Loss). A stacked bar chart visualises how each cost layer eats into your revenue.
Iterate & copy
Adjust any input number live โ all results recalculate instantly. Hit Copy Results to save the summary to your clipboard for use in spreadsheets, reports, or presentations.
Gross vs Operating vs Net Profit Margin
Gross Profit Margin
(Revenue โ COGS) / Revenue ร 100Measures how efficiently you produce or source your product. A high gross margin means you earn a lot on each sale before overhead. Software companies often report 70โ85%. Retailers 25โ50%. If gross margin is low, improving it means renegotiating supplier costs or raising prices.
Operating Profit Margin
Operating Profit / Revenue ร 100Gross profit minus all operating costs โ salaries, rent, marketing, R&D. This is the best measure of a company's core operational efficiency, unaffected by how it's financed or taxed. A falling operating margin over time signals rising overhead costs eating into your product profits.
Net Profit Margin
Net Profit / Revenue ร 100The bottom line โ what percentage of every dollar in sales you actually keep after every single expense including taxes and interest. This is the most commonly cited profitability metric. A positive net margin means your business is profitable; a negative one means you're funding growth (or losses) with external capital.
Profit Margin vs Markup โ What's the Difference?
These two terms are often confused, but they measure two different things. Margin is profit expressed as a proportion of the selling price (revenue). Markup is profit expressed as a proportion of the cost. Both use the same numerator (profit) but a different denominator.
| Metric | Formula | Example ($80 cost, $100 price) |
|---|---|---|
| Profit Margin | (Price โ Cost) / Price ร 100 | 20% |
| Markup | (Price โ Cost) / Cost ร 100 | 25% |
Confusing margin with markup in pricing decisions is a common and costly mistake. If you want a 20% margin, a 20% markup isn't enough โ you need a 25% markup to achieve a 20% margin. Use the Markup figure in the results panel when pricing from cost, and Gross Margin when communicating profitability to investors.
Conversion formula: ย Margin = Markup / (1 + Markup) ย |ย Markup = Margin / (1 โ Margin)
Worked Example
Imagine a small e-commerce business with the following annual figures:
| Line Item | Amount |
|---|---|
| Revenue | $120,000 |
| COGS (product cost) | $60,000 |
| Operating Expenses | $30,000 |
| Other Expenses | $5,000 |
| Taxes | $6,250 |
Gross Margin
50%
($120k โ $60k) / $120k
Operating Margin
25%
($60k โ $30k) / $120k
Net Margin
15.6%
$18.75k / $120k
Enter these numbers in Detailed mode above to verify the results instantly. Try adjusting the operating expenses to see how reducing overhead by just $5,000 would lift the net margin from 15.6% to 19.8%.
Profit Margin by Industry (2024โ2025 Benchmarks)
Profit margins vary enormously by industry. Use these benchmarks to understand how your business compares. The figures below are typical ranges โ outliers exist in every category.
| Industry | Gross Margin | Net Margin |
|---|---|---|
| Software / SaaS | 70โ85% | 15โ30% |
| E-commerce / Retail | 20โ50% | 2โ5% |
| Grocery / Supermarket | 25โ30% | 1โ3% |
| Restaurant | 60โ70% | 3โ9% |
| Manufacturing | 25โ40% | 5โ10% |
| Consulting / Services | 50โ70% | 10โ20% |
| Healthcare | 40โ60% | 3โ8% |
| Real Estate | 15โ25% | 10โ20% |
Sources: NYU Damodaran industry data, Statista sector reports. Ranges are approximate and vary by geography, company size, and business model.
Related Financial Calculators
Frequently Asked Questions
Related Tools
Percentage Calculator
Calculate percentage of a number, percentage change, what percent one number is of another, and percentage increase or decrease. Instant results with step-by-step formula explanations.
Discount Calculator
Calculate the final sale price, discount amount, and total savings from a percentage or fixed discount. Reverse-calculate the original price from a sale price. Instant results with a visual savings bar.
Loan Interest Calculator
Calculate monthly loan payments, total interest, and total repayment for amortized or simple interest loans. Includes a full amortization schedule, yearly balance chart, and principal vs interest breakdown.
Mortgage Calculator
Calculate your monthly mortgage payment including principal, interest, property tax, homeowners insurance, PMI, and HOA fees. View a full amortization schedule, balance chart, extra payment savings, term comparison, and total loan cost.