Price a product without guessing the margin
LOCALCost 40 and selling price 100 is a 60% margin and a 150% markup, and mixing those two numbers up is how a product ends up selling at a loss. This calculator answers in one screen: enter cost and price to see profit, margin and markup, or enter cost and a target margin to get the price you should charge. Amounts use the currency you pick, percentages are rounded to two decimals, and every number is computed in the page, so supplier costs and client quotes never leave your browser.
How it works
- 01
Pick the direction
The two tabs cover the two pricing questions. Cost and price works forward from numbers you already have. Cost and margin works backward from the margin you want to hit. Switching tabs keeps the cost value, so you do not have to retype it when comparing a current price with a target one.
- 02
Enter cost and selling price
With both values filled, the panel shows gross profit in currency, gross margin as a share of the selling price and markup as a share of the cost. For a profitable product the margin is always the smaller percentage, because it divides by the larger number.
- 03
Or set a target margin
In the second tab, type the cost and the margin you want, for example 35%. The tool returns the price that produces it, plus the profit per unit. A margin of 100% or more is rejected: it would need an infinite price, and real data that reaches it is almost always a typo.
- 04
Read the result in context
These are gross figures. Payment fees, shipping, tax, returns and advertising are not deducted, so a 40% gross margin can still be a thin net margin. Treat the result as the first layer of pricing, not as the final profit line.
When to use it
Pricing handmade products
A maker spends 12 on materials and half an hour of work. Enter 12 as cost and 45 as price to see the profit per item and the margin. Raising the price to reach a target margin is then one edit in the reverse tab.
Checking a discount
A shop sells at 80 with a cost of 50. Before offering 20% off, work out the price after the discount: 64 leaves 14 profit and a 21.9% margin. Whether that still covers fixed costs is a business decision, but the number itself should not be a surprise.
Quoting as a freelancer
A freelancer wants a 50% margin on a 1,200 subcontractor cost. The reverse tab returns a price of 2,400, and the same page shows that a 50% margin equals a 100% markup, which is the number clients often quote back.
Taking marketplace fees into account
On a marketplace that keeps 15% of the sale price, a 30% margin before fees is not 30% after them. Compute the target price, subtract the fee, then enter the remainder as the selling price to see the margin that actually reaches you.
Questions
What is the difference between margin and markup?
Margin divides profit by the selling price; markup divides the same profit by the cost. Cost 40 and price 100 give 60 profit, a 60% margin and a 150% markup. Because the denominators differ, markup is always larger than margin for a profitable product.
Why can the margin never reach 100%?
Margin is profit divided by price. Keeping 100% would require the cost to be zero, and with any positive cost the price has to be infinite. Values of 100% and above are therefore blocked in the margin field instead of producing an impossible price.
Can the margin be negative?
Yes. If the selling price is below the cost, the profit is negative and so is the margin. That is a loss on every unit sold, and the tool shows it with a minus sign rather than hiding it behind a zero.
Does it include tax, shipping or platform fees?
No, the result is gross. Tax, shipping, payment processing, marketplace commission and advertising are separate costs. A practical habit is to enter the price after fees as the selling price, so the margin reflects what actually reaches your account.
Which currency should I choose?
Any of the listed currencies; the arithmetic is currency-neutral. Pick the one you quote in. Mixing two currencies in the same calculation is not supported, because no exchange rate is applied anywhere in the tool.
How is the price rounded?
The displayed value is rounded to two decimals, but the calculation uses the unrounded number. If you must charge a round amount, round up rather than down: rounding down quietly shaves your margin, while rounding up only makes the offer slightly more expensive.
What counts as a good margin?
It depends on the sector. Grocery retail often runs on low single-digit margins, software on very high ones. What matters is the margin after all variable costs compared with your fixed costs and target profit, not an industry average copied from somewhere else.
Is this the same as the profit margin in accounting?
It is the gross margin on a single sale. Accounting statements also report operating and net margins after overheads, interest and tax. Use this page for unit economics and pricing decisions, and the accounts for the final company figures.