Percentage & Profit Margin Calculator
Price products with the right margin, understand margin vs. markup and solve everyday percentage questions in seconds.
Tool
Start from
Selling price
$59.70
30.00% net margin after fees
- Profit per unit
- $17.91
- Net margin
- 30.00%
- Markup on cost
- 49.25%
- Price multiplier
- 1.49×
- Fees & taxes
- $1.79
- Break-even price
- $41.24
What makes up the price
Margin ↔ markup cheat sheet
| Gross margin | Equivalent markup |
|---|---|
| 10.00% | 11.11% |
| 20.00% | 25.00% |
| 25.00% | 33.33% |
| 30.00% | 42.86% |
| 40.00% | 66.67% |
| 50.00% | 100.00% |
| 60.00% | 150.00% |
| Markup on cost 100% | Net margin 50.00% |
Results are estimates for educational purposes only and are not financial, tax or legal advice. Read the full disclaimer
Margin and markup are not the same thing
Both describe profit, but they use different bases — and mixing them up is one of the most common pricing mistakes in small businesses.
Markup = (price − cost) ÷ cost
A product that costs $50 and sells for $100 has a 100% markup but a 50% margin. If you want a 50% margin and apply a 50% markup instead, you price at $75 and earn only a 33% margin.
| Gross margin | Markup needed |
|---|---|
| 20% | 25% |
| 25% | 33.3% |
| 30% | 42.9% |
| 40% | 66.7% |
| 50% | 100% |
The conversions are markup = margin ÷ (1 − margin) and margin = markup ÷ (1 + markup).
Pricing with fees and taxes
Many costs are a percentage of the selling price, not of your cost: card processing fees, marketplace commissions, sales commissions and some taxes. They grow with the price, so you cannot simply add them on top. The correct formula divides the cost by what remains of each dollar of revenue:
The calculator also shows the break-even price, cost ÷ (1 − fees %), below which every sale loses money.
How to read your results
- Selling price: the price that delivers your target margin after fees.
- Net margin: profit after cost and fees, as a share of the price.
- Markup and multiplier: how many times the cost the price is — useful for pricing a catalog quickly.
- Price composition: the bar shows how much of every sale is cost, fees and profit.
Worked example: a $40 product
Your cost is $40, card and platform fees take 3% of the price, and you want a 30% net margin. The price is $40 ÷ (1 − 0.03 − 0.30) = $59.70. Fees take $1.79, profit is $17.91 and the markup on cost is about 49%. If you had just applied a 50% markup, the price would be $60 and the margin 30.3% — close here, but the gap widens quickly as fees grow.
Quick percentage tools
The second tab solves the everyday questions:
- X% of Y: 15% of $80 is $12 — useful for tips and discounts.
- X is what % of Y: 30 out of 120 is 25%.
- Percentage change: from 80 to 100 is +25%; from 100 back to 80 is −20%.
- Increase or decrease: apply +10% or −20% to any value.
Why percentage changes are not symmetric
A 25% increase followed by a 20% decrease brings you back to the start, because the second change is calculated on a bigger base. Likewise, a stock that falls 50% must rise 100% to recover. The calculator shows the reverse percentage needed to undo any change.
Gross margin vs. net margin
Gross margin compares the price with the direct cost of the product only. Net margin, the one this calculator targets, also subtracts the fees and taxes charged on each sale. Neither includes fixed overhead such as rent, salaries and software: those are paid out of the total profit from all your sales. A useful way to set a target is to estimate monthly overhead, divide it by the number of units you expect to sell, and make sure each unit’s profit covers that share with room to spare.
Discounts eat margin fast
Because profit is only a slice of the price, a discount comes straight out of that slice. On a product with a 30% net margin, a 10% discount does not cut profit by 10% — it cuts it by roughly a third. Before running a promotion, enter the discounted price in the “Selling price” mode and see what margin is left, and how many more units you would need to sell to earn the same total profit.
Contribution margin and break-even volume
The difference between price and variable costs (product cost plus per-sale fees) is the contribution margin: what each sale leaves to pay fixed costs. Divide monthly fixed costs by the contribution margin per unit to find how many units you must sell each month just to break even.
Pricing tips for small businesses
- Include every variable cost: packaging, shipping you absorb, returns and payment fees.
- Cover fixed costs: your price must leave enough margin to pay rent, software and salaries across all sales.
- Check competitors, but do not race to the bottom; compete on value where you can.
- Review prices when costs change — a supplier increase silently erodes your margin.
Frequently asked questions
What is the difference between margin and markup?
Margin divides profit by the selling price; markup divides it by the cost. A 50% margin equals a 100% markup.
How do I calculate a selling price from a target margin?
Divide the cost by (1 − margin). With fees that are a percentage of the price, divide by (1 − fees − margin). A $40 cost with 3% fees and a 30% margin gives $59.70.
What is a good profit margin?
It varies widely by industry. Retail and grocery often operate on thin net margins, while software and services can be much higher. Compare with businesses like yours.
How do I calculate a percentage increase?
Subtract the old value from the new one, divide by the old value and multiply by 100. From 80 to 100 is (100 − 80) ÷ 80 = 25%.
Why doesn’t a 20% discount undo a 20% increase?
Because the discount applies to a larger number. $100 + 20% = $120, and $120 − 20% = $96. To undo +20% you need about −16.7%.
Last updated: November 27, 2026