For shops, sellers and freelancers: find your profit, margin and markup from cost and price, or work out the selling price you need to reach a target margin or markup.
Example: a candle costs 6 to make (wax, jar, label, packaging) and sells for 15.
Profit 9. Margin 9 ÷ 15 = 60%. Markup 9 ÷ 6 = 150%. Sell 200 candles and the profit is 1,800.
Many new sellers add their target percentage to the cost and think that is their margin. It is not: a 30% markup gives only a 23% margin. If you need 30% of every sale to cover your costs and profit, divide the cost by 0.70 instead of multiplying it by 1.30.
Keep a daily record of sales and costs so you see your real margin, not just the planned one. A cashbook like TallyKnot Local makes that simple.
The same profit gives a different percentage depending on whether you compare it with the price or the cost. These pairs always belong together:
To turn a margin into a markup: margin ÷ (100 − margin) × 100. For a 30% margin: 30 ÷ 70 × 100 = 42.9%.
This calculator shows the gross margin: price minus the cost of the product itself. The net margin is what is left after all your other costs too, such as rent, software, advertising and wages.
Example: a month with 10,000 in sales and 6,000 in product costs has a gross margin of 40%. If rent, fees and advertising add another 2,500, the business keeps 1,500, a net margin of 15%.
A healthy gross margin is only the start: it has to be big enough to pay for everything else. The Break-Even Calculator shows how many sales you need to cover those fixed costs.
An item that costs 60 and sells for 100 earns 40, a 40% margin. Sell it at 10% off and the price is 90, the profit 30 and the margin 33.3%. Each sale now earns 30 instead of 40, so to make the same total profit you would need to sell a third more items (4 for every 3 you sold before). See your sale price first with the Discount Calculator.
Choose one of the three modes at the top, depending on what you already know:
Add the number of units sold (optional) to see the total profit.
Say you sell a handmade bag online. The materials cost 8, packaging 1.50 and shipping 4, so your cost per order is 13.50. The marketplace takes 6.5% of the price and card fees are about 3%, so roughly 9.5% of every sale goes to fees.
If you ignore the fees and price for a 35% margin: 13.50 ÷ 0.65 = 20.77. After fees, you keep much less than you planned.
If you include the fees, price for a 44.5% margin (35% + 9.5%): 13.50 ÷ 0.555 = 24.32.
Check: 24.32 − 13.50 cost − about 2.31 in fees = about 8.51 profit, which is 35% of the price.
Many new sellers price at 20.77, do well in sales, and then wonder why there is so little money left. Building the percentage fees into the target margin avoids that.
Last reviewed: November 4, 2026. The examples on this page were checked against the calculator.
Both compare profit with a price, but with a different one. Margin is profit as a share of the selling price; markup is profit as a share of the cost. Something that costs 60 and sells for 100 has a profit of 40: a 40% margin and a 66.7% markup.
Divide the cost by (1 − 0.30). A product that costs 70 needs a price of 70 ÷ 0.70 = 100 for a 30% margin. Adding 30% to the cost (91) only gives a 23% margin.
Everything it takes to sell one unit: the product or materials, packaging, shipping, payment fees, and a share of costs such as rent or software if you want to see the real profit.
It depends on the trade. Supermarkets work with a few percent, many shops with 20–50%, and services or digital products often more. Compare with businesses like yours, and make sure the profit covers your fixed costs and your own time.
No. Margin is a share of the selling price, and the profit can never be bigger than the price, so the margin always stays below 100%. Markup can be higher: something that costs 10 and sells for 35 has a 250% markup but a 71.4% margin.
Marketplace commission and card fees grow with the price, so they cannot simply be added to the cost. Add them to your target margin instead. If fees are about 9.5% of the price and you want to keep 35%, price for a 44.5% margin. Check the result: on a 24.32 price, 9.5% fees are about 2.31, leaving a 35% margin after the 13.50 cost.
It is a common rule in retail: the shop sells at double the price it paid. If a maker sells a candle to a shop for 12 (wholesale), the shop sells it for 24. That is a 50% margin for the shop. If you sell both directly and to shops, make sure your wholesale price still leaves you a healthy margin over your own cost.
Use both. Your costs and target margin give you the lowest price that still makes sense for you. Competitors' prices tell you what customers expect to pay. If your minimum price is well above the market, look at your costs or find a way to offer something they do not.
A calculator gives you one answer. A cashbook shows you the whole picture: write down cash in and cash out, see where the money goes in charts and on a calendar, and share a ledger with your family, team or friends.