How to Calculate Gross Profit (GP)
Gross profit is the money your business keeps from a sale after subtracting the direct cost of the goods sold. It is the single most important number for understanding whether your products are actually profitable before overheads.
Gross Profit Margin (%) = (Revenue − Cost) ÷ Revenue × 100
Markup (%) = (Revenue − Cost) ÷ Cost × 100
Example: Sell for $100, cost $60
Gross Profit = $100 − $60 = $40
Margin = $40 ÷ $100 = 40%
Markup = $40 ÷ $60 = 66.7%
Markup vs Margin: The Difference That Costs Businesses Money
This is the single most common and expensive mistake in pricing. Markup and margin are not the same thing, even though they describe the same transaction.
Margin is your profit as a percentage of the selling price. Markup is your profit as a percentage of the cost. Because cost is always lower than selling price, the markup percentage is always higher than the margin percentage for the same sale.
Here is why it matters: if you want a 40% margin but accidentally apply a 40% markup to your cost, you will badly underprice your product. On a $60 item, a 40% markup gives an $84 price (only 28.6% real margin), while a true 40% margin requires a $100 price. That is $16 of lost profit on every single unit — which compounds enormously across thousands of sales.
Markup to Margin Conversion Table
| Markup % | Equivalent Margin % | On $100 Cost, Sell For |
|---|---|---|
| 10% | 9.1% | $110.00 |
| 20% | 16.7% | $120.00 |
| 25% | 20.0% | $125.00 |
| 30% | 23.1% | $130.00 |
| 40% | 28.6% | $140.00 |
| 50% | 33.3% | $150.00 |
| 75% | 42.9% | $175.00 |
| 100% | 50.0% | $200.00 |
| 150% | 60.0% | $250.00 |
| 200% | 66.7% | $300.00 |
| 300% | 75.0% | $400.00 |
Everything You Need to Know About Gross Profit
📊 Gross Profit vs Net Profit
Gross profit subtracts only the direct cost of goods sold. Net profit subtracts everything — rent, salaries, marketing, tax, interest. A business can have a healthy 50% gross margin but still lose money overall if operating expenses are too high. Gross profit measures product profitability; net profit measures whether the whole business works.
🎯 Pricing for a Target Margin
To hit a target margin, divide cost by (1 − margin) as a decimal. For a 40% margin on a $60 item: $60 ÷ 0.60 = $100. Never add the margin percentage directly to cost — that gives you a markup, not a margin, and underprices your product. Use the Cost & Margin mode above to do this automatically.
💷 What Is a Good Gross Margin?
It depends entirely on industry. Software runs 70-90%, restaurants 60-70%, general retail 20-50%, grocery just 5-15%. Compare yourself to your specific industry, not a universal number. A 25% margin is excellent for a grocer but alarming for a software company.
📈 Why Margin Beats Markup for Decisions
Margin is more useful for business decisions because it directly tells you what fraction of revenue you keep. If your margin is 30%, you know that $0.30 of every $1 in sales is gross profit available to cover overheads. Markup doesn't give you this immediately — it's a pricing tool, while margin is a profitability measure.
🛒 Retail & E-commerce Pricing
Online sellers must factor platform fees, payment processing (2-3%), shipping, and returns into true cost before calculating margin. A product showing 40% margin on paper may have a real margin closer to 25% after Amazon/Etsy/Shopify fees. Always calculate margin on fully-loaded cost, not just the wholesale price.
⚠️ The Discount Trap
Discounts destroy margin faster than most people realise. On a product with a 40% margin, a 20% discount cuts your gross profit in half — not by 20%. You'd need to sell twice the volume just to make the same total profit. Always calculate the margin impact before running a promotion.
Frequently Asked Questions
Related Financial Calculators
- Loan Repayment Calculator — calculate business loan payments
- Monthly Budget Planner — plan business or personal budgets
- Salary to Hourly Calculator — value your time per hour
- Savings Goal Calculator — plan business savings goals
- All Financial Calculators — browse the full tool suite