Profit Margin Calculator
Calculate the profit margin, markup, and gross profit for any product or service. Enter any two values and we will solve for the third — instantly, with no signup.
Margin vs Markup at a glance
| Markup % | Equivalent Margin % | On $100 cost | Sells for |
|---|---|---|---|
| 10% | 9.09% | $10 profit | $110 |
| 25% | 20.00% | $25 profit | $125 |
| 50% | 33.33% | $50 profit | $150 |
| 100% | 50.00% | $100 profit | $200 |
| 200% | 66.67% | $200 profit | $300 |
How to use this calculator
This calculator works three ways depending on what you already know. Switch the toggle at the top to "Cost + Price" if you know both numbers and want to discover your margin. Switch to "Cost + Margin %" to figure out what selling price hits a target margin. Switch to "Price + Margin %" to back into the cost you can afford to pay your supplier while still hitting your margin goal.
Enter values as you go — the result updates live, with no "calculate" button. Currency fields accept any reasonable format ($1,234, 1234, or 1,234.56). Percentages should be entered as numbers, not decimals: type 25 for 25%, not 0.25.
A common mistake: forgetting to include shipping, payment processing fees (typically 2.9% + $0.30), and packaging in your cost. If you skip these, your real-world margin will be lower than what this calculator shows. For an accurate read on your business, push all variable per-sale costs into the "cost" input.
Understanding your results
The result panel shows four numbers. Profit margin (the big number) is the percentage of revenue you keep after paying for the cost of the item. Markup is the percentage you added on top of cost — note that these are different numbers describing the same dollar of profit, just from different angles.
Gross profit is the dollar amount you make per unit before any operating expenses like rent, marketing, or salaries. To estimate your true net margin, subtract your monthly operating expenses divided by units sold from your gross profit per unit. A 40% gross margin with $20,000/month in overhead and 1,000 units sold gives you a $20/unit overhead burden — eating heavily into that gross profit.
How do margins compare across industries? Software companies regularly post 70%+ gross margins because their cost of goods sold is mostly server costs. Restaurants target 60–70% gross margin on food (the rest goes to labor and rent in the operating section). Grocery and gas retail run on 1–5% margins and make money on volume.
If your margin is negative, you are selling at a loss — the cost exceeds the price. Either raise the price, lower the cost, or stop selling that product. Some businesses intentionally use loss leaders to attract customers, but everything cannot be a loss leader.
Frequently asked questions
What's the difference between margin and markup?
What's a good profit margin?
Does this calculator use gross or net margin?
How do I increase my profit margin?
Should I price based on cost or on what customers will pay?
Why is my margin negative?
Do I include shipping and payment processing in cost?
Related calculators
Markup
Calculate your selling price from cost and markup percentage. See the equivalent profit margin and revenue needed for your target profit.
Break-Even
Calculate your break-even point in units and revenue. See how many sales you need to cover your costs and start profiting.
ROI
Calculate return on investment for any business decision. See total ROI, annualized return, and net profit from your investment.