Free tool · no sign-up
Margin calculator
Enter any two of cost, revenue, profit or margin. The other two are solved instantly — along with the equivalent markup and a live split of where your revenue goes.
Enter any two values
The other two are calculated
Margin
—
Markup
—
Profit
—
Revenue
—
Fill in any two fields above — for example a cost and a target margin — to see the full breakdown.
What is a profit margin?
Margin is the share of revenue you keep as profit once the cost of the goods is paid. Because it is a percentage rather than an amount, it tells you how efficient a sale was — not just how big it was.
- Cost
- What the goods cost you — the cost of goods sold.
- Revenue
- What the customer pays you. Your selling price.
- Profit
- Revenue minus cost. What is actually left over.
A worked example
You buy something for ₹30 and sell it for ₹50. Here is the whole calculation, line by line.
The formulas
Two relationships drive everything. Rearranged, they solve for whichever value you are missing — which is exactly what the calculator does.
- margin=100 × profit ÷ revenue
- profit=revenue − cost
- revenue=100 × profit ÷ margin
- revenue=cost ÷ (1 − margin ÷ 100)
- cost=revenue − (margin × revenue ÷ 100)
Pricing shortcut
To hit a target margin, divide your cost by 1 − margin. These are the numbers you will reach for most often.
| Target margin | Divide cost by | Example |
|---|---|---|
| 10% | 0.90 | ₹100 → ₹111.11 |
| 20% | 0.80 | ₹100 → ₹125.00 |
| 30% | 0.70 | ₹100 → ₹142.86 |
| 40% | 0.60 | ₹100 → ₹166.67 |
| 50% | 0.50 | ₹100 → ₹200.00 |
Margin vs. markup
The two are constantly mixed up, and confusing them means mispricing. Both describe the same profit against a different base.
| Margin | Markup | |
|---|---|---|
| Measured against | The selling price (revenue) | The cost you paid |
| Formula | 100 × profit ÷ revenue | 100 × profit ÷ cost |
| Upper limit | Can never exceed 100% | No upper limit |
| ₹30 cost, ₹50 price | 40% | 66.67% |
| Used for | Judging profitability | Setting prices from cost |
What counts as a good margin?
It varies enormously by industry, so treat this as orientation rather than a target — and compare against the norm for your own sector.
5%
Thin
A small cost rise wipes it out.
10%
Average
A workable baseline for most businesses.
20%
Healthy
Room to reinvest and absorb shocks.
Frequently asked questions
What's the difference between gross and net profit margin?
How do I calculate a 20% profit margin?
What is a good margin?
Can a profit margin be too high?
Are margin and profit the same thing?
What is margin in sales?
Margins are easier to defend when you can see every deal.
SalesLyt keeps your pipeline, quotations and invoices in one place, so the numbers you report are the numbers your team actually sold.
- Contact Management
- Sales Pipeline
- Quotations & Invoices
- AI Performance Scoring
- Geo Tagging
- Custom Dashboards
