Margin & Markup Calculator
Gross, operating and net margin from revenue.
Enter your values
Enter the revenue in $.
Enter the cost of goods sold in $.
Enter the operating expenses in $.
Enter the tax rate in %.
Results update instantly as you type — no submit needed. Your values are remembered on this device, and the shareable link reopens the calculator with exactly these numbers.
- Gross profit
- $110000 (44%)
- Operating profit
- $50000 (20%)
- Net profit
- $39500 (15.8%)
- Cost ratio
- 80%
Quick answer
Gross margin is (revenue − COGS) ÷ revenue; net margin subtracts operating costs and tax as well.
Margin = profit ÷ revenue × 100
At a glance
| What it does | Gross, operating and net margin from revenue. |
|---|---|
| Category | Business |
| Inputs needed | Revenue, Cost of goods sold, Operating expenses, Tax rate |
| Main output | Gross profit |
| Formula | Margin = profit ÷ revenue × 100 |
| Cost | Free — no sign-up, no download |
How to use the Margin & Markup Calculator
- 1Enter total revenue for the period.
- 2Enter cost of goods sold and operating expenses.
- 3Add your tax rate for net margin.
Inputs explained
- Revenue($)
- Enter the revenue in $.
- Cost of goods sold($)
- Enter the cost of goods sold in $.
- Operating expenses($)
- Enter the operating expenses in $.
- Tax rate(%)
- Enter the tax rate in %.
Worked example
Using the values the calculator loads with:
Inputs
- Revenue250000 $
- Cost of goods sold140000 $
- Operating expenses60000 $
- Tax rate21 %
Results
- Gross profit$110000 (44%)
- Operating profit$50000 (20%)
- Net profit$39500 (15.8%)
- Cost ratio80%
Frequently asked questions
What is a healthy net margin?
It varies hugely: grocery retail runs 1–3%, services 10–20% and software often 20–40%.
Why track gross margin separately?
Gross margin shows whether the product itself is profitable, before overheads — it's the first number investors check.
What do I need to enter into the Margin & Markup Calculator?
Just 4 values: revenue, cost of goods sold, operating expenses, tax rate. Every field starts with a realistic example, so you can change one number at a time and watch the result update instantly.
How does the Margin & Markup Calculator work out the answer?
Gross margin is (revenue − COGS) ÷ revenue; net margin subtracts operating costs and tax as well. It applies the formula Margin = profit ÷ revenue × 100 and shows the working so you can check each step by hand.
Is the Margin & Markup Calculator free, and do I need an account?
It is completely free with no sign-up, no download and no usage limit. Everything is calculated in your browser, so the numbers you type never leave your device.
Results are estimates for general information. For medical, legal, structural or financial decisions, confirm with a qualified professional.