Profit Calculator
Profit is revenue minus cost, so a 200 sale with 120 in costs leaves 80. The profit margin is 80 / 200 x 100 = 40%, and the markup is 80 / 120 x 100 = 66.7%. Margin divides by revenue, markup divides by cost, and mixing the two up is the most common pricing error.
| Net profit | |
| Gross profit | |
| Gross margin | |
| Net margin | |
| Markup on total cost | |
| Price needed for target net margin | |
| Formula used | |
| Check |
All calculations run in your browser; nothing you type is uploaded. Margin divides by revenue, markup divides by cost.
Enter revenue and total costs to get net profit, the profit margin and the markup on cost side by side, plus the price a target margin needs.
Key takeaways
- Net profit = revenue - total costs, so 200 - 120 leaves 80
- Margin is profit over revenue: 80 / 200 x 100 = 40%
- Markup is profit over cost: 80 / 120 x 100 = 66.7%
- A 50% markup on a 60 cost gives 90, not the 120 a 50% margin needs
- Gross margin subtracts only cost of goods sold; net margin subtracts every operating cost
On this page
- What counts as profit: gross and net
- Profit margin: the percentage of revenue kept
- Markup: the percentage added on top of cost
- Margin vs markup: the same sale, two different numbers
- The pricing mistake that costs the most
- Industry benchmarks for net margin
- Fixed and variable costs change the picture
- Four levers that raise profit
What counts as profit: gross and net
Profit is what stays after every cost is paid, and it comes in two layers that answer different questions. Gross profit is revenue minus the cost of goods sold, the direct cost of the items or services you sell. Net profit subtracts the rest as well: rent, payroll, software, insurance, marketing and every other operating expense. The U.S. Small Business Administration describes profit as what remains once total expenses come out of revenue, and that is the net figure.
The core equation the calculator runs is net profit = revenue - total costs. Feed it a revenue of 200 and a total cost of 120 and it returns 200 - 120 = 80. If the 120 is all cost of goods, gross profit is also 80. If 20 of it is rent and payroll, gross profit is 200 - 100 = 100 and net profit is 100 - 20 = 80. Same ending number, different layer of the income statement, and knowing which layer a number comes from is what makes the two margins below meaningful.
The SBA and most accounting texts place revenue, cost of goods sold and operating expenses on the income statement in that order, and the calculator follows the same order. Anything left after the last subtraction is what the business keeps, and it is the number lenders, buyers and tax filings care about most.
Profit margin: the percentage of revenue kept
Profit margin turns a dollar figure into a percentage of sales, which is what makes one month comparable to another and one business comparable to a rival of a different size. The formulas are:
Profit margin % = profit / revenue x 100
Gross margin % = gross profit / revenue x 100
Net margin % = net profit / revenue x 100
Worked with the example above: revenue 200, gross profit 100, net profit 80. Gross margin is 100 / 200 x 100 = 50%, and net margin is 80 / 200 x 100 = 40%. The gap between the two is what operating costs consume. A business with a 50% gross margin and a 5% net margin has a cost structure problem, not a pricing problem, and the two numbers together tell you that in one glance.
The Internal Revenue Service requires businesses to report gross receipts and cost of goods sold on Schedule C, which is the same split the margin calculation uses. Because both margins share the revenue denominator, they move together when prices move, but they respond differently to cost changes, which is why reporting both is standard practice rather than redundancy.
Markup: the percentage added on top of cost
Markup answers a different question from margin. Instead of asking what share of revenue is profit, it asks how much higher than cost you set the price. The formula is:
Markup % = profit / cost x 100
Using the same numbers: profit 80, cost 120. Markup is 80 / 120 x 100 = 66.7%. The cost plus pricing version of the same idea is price = cost x (1 + markup), so a 120 item at a 50% markup sells for 120 x 1.5 = 180. Both the denominator and the intent differ from margin, and that difference is the single most common source of pricing arithmetic errors.
Because cost is always smaller than revenue, markup is always a larger percentage than the margin on the same sale. A 66.7% markup and a 40% margin describe one identical transaction. Neither is the correct one on its own; each belongs to a different conversation. Buyers and production teams tend to think in markup, because it is the multiplier applied to what the item cost. Investors and lenders tend to think in margin, because it reads against revenue the way income statements do.
Margin vs markup: the same sale, two different numbers
Margin uses revenue as the denominator. Markup uses cost. That is the whole difference, and it is enough to make the two numbers diverge sharply as they grow. The table below shows the same transaction expressed both ways.
| Markup on cost | Margin on revenue | Example on a 100 cost |
|---|---|---|
| 25% | 20% | Sell at 125, profit 25 |
| 50% | 33.3% | Sell at 150, profit 50 |
| 66.7% | 40% | Sell at 166.7, profit 66.7 |
| 100% | 50% | Sell at 200, profit 100 |
| 150% | 60% | Sell at 250, profit 150 |
| 300% | 75% | Sell at 400, profit 300 |
The two ratios are linked by one conversion pair. Markup = margin / (1 - margin) and margin = markup / (1 + markup). Check the 50% row: margin 0.333 divided by (1 - 0.333) gives 0.333 / 0.667 = 0.50, which is the 50% markup. Run it the other way with the 100% markup row: 1.0 / (1.0 + 1.0) = 0.50, which is the 50% margin. A 50% markup never equals a 50% margin on the same sale.
The pricing mistake that costs the most
The most expensive way to mix the two up is to price with the wrong one. Say a product costs 60 and you want a 50% margin. The correct price is 60 / (1 - 0.50), and that quotient is 120. If you instead apply a 50% markup, you charge 60 x 1.5 = 90, and your real margin becomes 30 / 90 x 100 = 33.3%, not 50%.
| Cost | Target margin | Correct price | Price if you used markup | Margin you got |
|---|---|---|---|---|
| 60 | 50% | 120 | 90 | 33.3% |
| 80 | 40% | 133.3 | 112 | 28.6% |
| 25 | 60% | 62.5 | 37.5 | 33.3% |
Each row loses money relative to the goal. On the first row the shortfall is 30 per unit, which becomes 3,000 on a run of 100 units. The general rule is that for any target margin above zero, the markup formula always lands short of the price the margin target requires, and the gap widens as the target rises. The calculator reports both ratios on every calculation precisely so this check takes one glance.
Industry benchmarks for net margin
Margins differ by industry because cost structures differ. The table below lists approximate net margin ranges for common U.S. sectors, drawn from the operating expense and revenue patterns the Bureau of Labor Statistics and NYU Stern publish. They are reference points, not goals; a well run shop can beat its sector average, and a mispriced one can fall below it.
| Industry | Typical net margin | What drives it |
|---|---|---|
| Grocery and food retail | 1% to 3% | Low pricing power, high volume |
| Restaurants | 3% to 9% | Labor and food cost pressure |
| Software and SaaS | 15% to 25% | Low marginal cost per sale |
| Professional services | 10% to 20% | Labor intensive but premium priced |
| Retail, general | 2% to 6% | Thin pricing power, high overhead |
Two practical readings come out of these ranges. A grocery at a 2% net margin is not failing; the business model runs on volume, so 2% on a large revenue base is a real profit. A consultant at a 2% net margin, on the other hand, is likely underpricing, because the cost structure of services does not require it. Comparing against the right sector, not against a universal average, is what makes the benchmark useful.
Fixed and variable costs change the picture
Total cost splits into two groups that behave differently as sales grow. Fixed costs such as rent, insurance and salaries do not move with each unit sold. Variable costs such as materials, packaging, shipping and payment processing fees rise with each unit. The split matters because it determines how fast profit grows once you pass the break even point.
| Cost item | Fixed or variable | Example at 50 units sold |
|---|---|---|
| Store rent | Fixed | 1,500 |
| Materials at 6 per unit | Variable | 300 |
| Salaries | Fixed | 2,000 |
| Shipping at 2 per unit | Variable | 100 |
At 50 units the fixed side is 3,500 and the variable side is 400, so total cost is 3,900. If revenue is 5,000, net profit is 5,000 - 3,900 = 1,100. If volume doubles to 100 units, fixed stays 3,500, variable rises to 800, and profit becomes 10,000 - 4,300 = 5,700, more than five times the starting figure on only twice the sales. That operating advantage is why high fixed cost businesses chase volume, and low fixed cost businesses survive on smaller customer bases.
The same split explains why two businesses with identical revenue can post different margins. The one with heavier fixed costs needs more sales to reach the same profit, but once past that point each extra sale contributes more. The break even calculator on this site works the same arithmetic from the fixed and variable side, and the two tools answer complementary questions.
Four levers that raise profit
Improving profit works through four levers, and the margin and markup numbers tell you which one to pull. Raising prices lifts margin without touching cost, but only as far as demand allows. Cutting cost of goods sold lifts gross margin directly; renegotiating a 120 cost on a 200 revenue sale to 110 lifts gross profit from 80 to 90 and net profit the same amount, moving net margin from 40% to 90 / 200 x 100 = 45%.
The third lever is volume, which helps when fixed costs are large and marginal profit per unit is positive. The fourth is mix: dropping the products whose margin sits below your operating cost share raises the blended margin even if revenue falls. A product line at a 10% gross margin inside a business that needs 30% gross margin to cover overhead subtracts value on every sale, no matter how many units it moves.
Two checks keep the effort honest. First, track margin and markup together on any price change, because a price increase that looks like a 25% markup gain may only be a 5% margin gain once the denominator shifts. Second, recompute after supplier changes, shipping rate updates and payment processor fee changes; cost drifts upward silently and the margin erodes without any single event announcing it.
Frequently asked questions
What is the profit if revenue is 200 and cost is 120?
80. The formula is profit = revenue - cost, so 200 - 120 = 80. The profit margin is 80 / 200 x 100 = 40%, and the markup on cost is 80 / 120 x 100 = 66.7%.
What is the difference between margin and markup?
Margin divides profit by revenue. Markup divides profit by cost. On one sale of a 120 cost item for 200, the margin is 40% and the markup is 66.7%. Same sale, two denominators, two different numbers.
What price gives a 50% margin on a 60 cost?
120. The pricing formula is cost / (1 - margin), so 60 / (1 - 0.50) = 120. A 50% markup on the same cost would only reach 90 and deliver a 33.3% margin.
How do I convert margin to markup?
Markup = margin / (1 - margin). A 40% margin becomes 0.40 / 0.60 = 66.7% markup. The reverse is margin = markup / (1 + markup), so a 50% markup is 1.0 / 2.0 = 50% margin.
What is a good profit margin?
It depends on the sector. Grocery runs near 1% to 3%, restaurants 3% to 9%, software 15% to 25%, and professional services 10% to 20%. Compare against your own industry, not a universal average.
What is the difference between gross profit and net profit?
Gross profit is revenue minus cost of goods sold. Net profit subtracts operating expenses on top. With revenue 200, cost of goods 100 and operating costs 20, gross profit is 100 and net profit is 80.
Is a 100% markup the same as a 50% margin?
Yes, they describe the same sale. A 100 cost item sold at 200 carries 100 profit, which is 100 / (100 + 100) = 50% of revenue and 100 / 100 = 100% of cost.
How is net profit margin calculated?
Net profit divided by revenue, times 100. If revenue is 5,000 and total costs are 3,900, net profit is 1,100 and net margin is 1,100 / 5,000 x 100 = 22%.
What does a 66.7% markup mean in pricing terms?
The price is cost multiplied by 1.667. A 120 cost becomes 120 x 1.667 = 200, leaving 80 profit, which is a 40% margin on the 200 revenue.
Why is markup always higher than margin?
Because cost is smaller than revenue on any profitable sale. Dividing the same profit by a smaller denominator gives a bigger percentage, and the gap widens as margins rise.
What is the formula for gross margin?
Gross profit divided by revenue, times 100. On revenue 200 with cost of goods 100, gross profit is 100 and gross margin is 100 / 200 x 100 = 50%.
How do fixed and variable costs affect profit?
Fixed costs stay flat while variable costs rise per unit. Doubling sales from 50 to 100 units with 3,500 fixed and 8 per unit variable raises profit from 1,100 to 5,700, because only the variable half grows.
Can markup be over 100%?
Yes. Markup has no upper limit. A 25 cost sold at 100 carries a 300% markup and a 75% margin. Margin, by contrast, cannot exceed 100% because profit cannot exceed revenue.
What margin do I need to cover a 20% operating cost share?
At least 20% gross margin just to break even before tax. Anything above that becomes net profit, so a 40% gross margin with 20% operating costs leaves a net margin near 20%.
Spotted a wrong number or a broken result?
More Finance tools
- $100,000 Loan for 15 Years Calculator
- $15 an Hour Is How Much a Year?
- $15,000 Loan Over 5 Years Calculator
- $20 an Hour Is How Much a Year?
- $25 an Hour Is How Much a Year?
- $30 an Hour Is How Much a Year?
- 1 Year CD Rate Calculator
- 10 Year ARM Mortgage Calculator
- 10 Year Equipment Loan Calculator
- 10-Year Balloon Mortgage Calculator
- 10-Year Fixed Loan Calculator
- 10-Year Fixed Mortgage Calculator
- 10-Year Fixed Mortgage Rates Calculator
- 10-Year Second Mortgage Calculator
- 10/1 ARM vs 30 Year Fixed Calculator
- 1099 vs W-2 Calculator
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.