Profit margin answers the most important question in business: of every dollar you bring in, how much do you actually keep? It is calculated as (revenue − cost) ÷ revenue × 100. Sell something for $200 that cost you $120, and your profit is $80 — a 40% margin. That single percentage lets you compare products, months, and even whole businesses on equal footing, regardless of size.
Margin is also the number most people confuse. Margin is profit as a share of the selling price; markup is profit as a share of cost. The same $200 sale on a $120 cost is a 40% margin but a 66.7% markup. Mixing them up is one of the most expensive mistakes in pricing — a business targeting a 40% margin that prices at a 40% markup actually earns only about a 28.6% margin. This calculator shows both, so you never confuse them again.
Use it to price products, evaluate suppliers, check whether discounts are affordable, or compare the profitability of different product lines. For a fuller picture, pair it with the break-even calculator to find the sales volume your margins need to support.
How to use the Profit Margin Calculator
- Enter the revenue or selling price — per unit, per order, or total for a period.
- Enter the total cost — cost of goods sold, or all-in cost including shipping, fees, and labor for the same unit.
- Click Calculate margin to see gross profit, profit margin, and markup side by side.
- Compare like with like: use the same cost definition every time so trends are meaningful.
Tips for accurate results
- Include all variable costs — payment processing fees (2–3%), shipping, packaging, and returns quietly eat margins.
- Quote margins, not markups, when talking to accountants, lenders, or investors — margin is the standard language of finance.
- A falling margin with rising revenue is a warning sign: costs are growing faster than sales and pricing needs a review.
- Test discount scenarios here first: a 20% discount on a 40% margin product wipes out half the profit per sale.
Profit margin vs markup: the formula cheat sheet
Margin = (Price − Cost) ÷ Price. Markup = (Price − Cost) ÷ Cost. To convert: a 50% markup equals a 33.3% margin, and a 40% margin equals a 66.7% markup. Markup is always the bigger number for the same sale, which is exactly why confusing the two costs businesses money.
Frequently asked questions
What is profit margin?
Profit margin is the percentage of revenue left as profit after costs: (revenue minus cost) divided by revenue, times 100. An $80 profit on $200 of revenue is a 40% margin.
What is the difference between margin and markup?
Margin is profit as a percentage of the selling price; markup is profit as a percentage of cost. A product bought for $120 and sold for $200 has a 40% margin but a 66.7% markup. They are never the same number.
What is a good profit margin?
It depends on the industry. Grocery stores run on 1–3% net margins, restaurants target 3–5%, retail averages 5–10%, and software or digital products often exceed 20–30%. Compare against your own industry, not a universal benchmark.
Why do businesses track margin instead of just profit dollars?
Dollar profit grows with volume, so it can hide a weakening business. Margin shows efficiency: if revenue doubles but margin falls from 40% to 25%, costs are eating the growth and pricing needs attention.