Profit Margin Calculator

Free No sign-up

Calculate gross profit margin or find the exact selling price for any target margin.

Enter your numbers

$
$

Enter your numbers
to see results

What is profit margin?

Profit margin is the percentage of revenue that remains as profit after subtracting costs. It is one of the most important indicators of business health — showing how efficiently a company turns revenue into actual profit. A business with $10,000 in revenue and $6,000 in costs has a 40% gross profit margin, meaning it keeps $0.40 of every dollar earned.

There are two main types: gross profit margin (revenue minus cost of goods sold) and net profit margin (revenue minus all expenses including operating costs and taxes).

Gross margin(Revenue − COGS) / Revenue × 100
Net margin(Revenue − COGS − Expenses) / Revenue × 100
Markup(Revenue − COGS) / COGS × 100

Margin and markup are often confused. A product that costs $25 and sells for $40 has a 37.5% markup but a 37.5% gross margin — wait, that is not right. The markup is ($40 − $25) / $25 = 60%, while the gross margin is ($40 − $25) / $40 = 37.5%. Always be clear which metric you are reporting.

How to use this calculator

Standard mode. Enter your total revenue and your cost of goods sold — the direct costs to produce or deliver your product or service. The profit margin calculator instantly shows your gross margin, markup percentage, and how your numbers compare to industry benchmarks. For example, $10,000 revenue with $5,750 in COGS gives a 42.5% gross margin — comfortably above the retail average.

Reverse mode. Know your cost and need to hit a specific margin? Enter your COGS and target margin percentage — the calculator finds the exact selling price to charge. A product that costs $25 with a 40% target margin requires a price of $41.67 (COGS / (1 − 0.40)). Optionally add a platform fee (e.g., Etsy 6.5%, Amazon FBA ~30%) to see your net margin after fees.

Quantity field. Enter the number of units to project total gross profit for a batch, a month, or a full product run — useful when negotiating supplier pricing or planning inventory.

To find the revenue volume you need to cover all your costs at this margin, pair this tool with the Break-Even Calculator.

Frequently Asked Questions

What is a good profit margin?
It depends on the industry. SaaS companies often achieve 60–80% gross margins. Retail typically runs 20–50%. Restaurants are much thinner at 3–9%. As a general rule, above 20% gross margin is considered healthy for most businesses.
What's the difference between gross and net profit margin?
Gross margin only subtracts the direct cost of producing goods (COGS). Net margin subtracts everything — COGS, operating expenses, interest, and taxes. Net margin gives you the true picture of profitability after all costs are paid.
How do I improve my profit margin?
You can improve margins in two ways: increase revenue (raise prices, sell more volume, upsell) or reduce costs (negotiate better supplier rates, reduce waste, improve operational efficiency). Raising prices is often faster but requires strong positioning.
What is the difference between margin and markup?
Margin is profit as a percentage of revenue. Markup is profit as a percentage of cost — and most people naturally think in markup. Example with $60 cost: a 100% markup doubles your price to $120, giving you 50% margin. But a 50% markup gives only $90 and 33.3% margin. Rule of thumb: margin is always lower than markup for the same deal.
How do I calculate the selling price for a target profit margin?
Use the Reverse mode: enter your cost and desired margin percentage, and the calculator finds the exact price to charge. The formula is Price = COGS ÷ (1 − Margin%). For example, with a $25 cost and 40% target margin: $25 ÷ 0.60 = $41.67. You can also add a platform fee (like Etsy's 6.5%) to see net profit after the fee is deducted.