At $40.00 cost and $75.00 selling price, profit is $35.00 and margin is 46.67%.
Show calculation steps
- Profit = $75.00 − $40.00 = $35.00.
- Margin = profit ÷ selling price × 100 = 46.6667%.
- Markup = profit ÷ cost × 100 = 87.5%.
Your numbers are calculated in this browser. No account or database is required.
Price a handmade product
Cost: $40 · Selling price: $75
- 01
Gross profit: 75 − 40 = $35.
- 02
Margin: 35 ÷ 75 × 100 ≈ 46.67%.
- 03
Markup: 35 ÷ 40 × 100 = 87.5%.
Illustrative example · Only the entered cost is included. Add overhead, payment fees and shipping separately when estimating net profitability.
Load this example ↗Formula & method
Margin measures profit as a percentage of the selling price. Markup measures profit as a percentage of cost. The same profit gives a larger markup than margin, so mixing them up leads to underpricing.
This calculator has three views. Margin from cost and price shows profit, margin and markup together. Price from markup adds a markup percentage to a cost. Full profit subtracts fees, shipping and other costs before calculating profit.
Margin, markup and profit: which number should you use?
Use the first tab when you know the cost and selling price of one item, or want a price that reaches a target margin. Use the second tab when your pricing rule is a percentage added to cost. Use the third tab to count shipping, fees and other per-order costs. Enter amounts in the same currency and on the same tax basis. Currency selection changes formatting; it does not convert money.
Which costs belong in the calculation?
The first two tabs use exactly the cost you enter. If that cost represents cost of goods sold, the result is a gross margin estimate. It does not automatically account for payment fees, delivery, advertising, rent or income taxes. The third tab adds those per-order costs deliberately.
A 30% margin is not a 30% markup
For an item costing $70, a 30% markup gives a $91 price and about 23.08% margin. A 30% margin requires 70 ÷ (1 − 0.30) = $100. With a $60 cost and a 25% markup, the added amount is $15, the price is $75 and the margin is 20%.
To convert a margin goal into a markup, divide the margin by 100 minus the margin. This gives the markup needed for common targets:
- 20% margin needs a 25% markup
- 25% margin needs a 33.33% markup
- 30% margin needs a 42.86% markup
- 40% margin needs a 66.67% markup
- 50% margin needs a 100% markup
Fees, shipping and fixed charges (full profit tab)
Selling price, product cost, shipping, customer acquisition and other costs are amounts per unit. Quantity multiplies unit revenue, cost and profit; it does not apply volume discounts or spread a fixed monthly expense. The payment fee field is a percentage of selling price. At $80 and 2.9%, the fee is $2.32. If your processor also charges a fixed $0.30 per transaction, include it under other per-order cost when one unit represents one order.
Example: sell for $80 with $35 product cost, $5 shipping, $5 acquisition, a 2.9% fee and $0.30 other cost. Included costs total $47.62. Profit is $32.38 per unit, margin is 40.475% (about 40.48%), and 100 identical units produce $3,238 profit.
Losses and undefined results
Cost of $90 and a selling price of $75 produce a $15 loss and −20% margin. At a selling price of zero, margin is undefined because its denominator is zero. At zero cost, markup is undefined. A positive cost cannot achieve a 100% margin at any finite selling price.
What these estimates do not establish
The result is profit after the costs you enter, not your accounting net profit. Returns, refunds, rent, salaries, tax and inventory losses are not added unless you include them. Do not count the same expense in both product cost and other cost.
A discount changes your margin too: selling the $70 item for $90 instead of $100 leaves a $20 profit and about 22.22% margin. Compare sale prices with the discount calculator or the percent off calculator, and add sales tax with the tax calculator.
Frequently asked questions
What is the difference between margin and markup?
Margin divides profit by the selling price. Markup divides profit by cost. A 50% markup is a 33.3% margin.
How do I price for a 30% margin?
Divide cost by 1 minus the margin rate. A $70 cost at 30% margin needs a $100 selling price.
How do I add a markup to a cost?
Multiply the cost by 1 plus the markup rate. A $36 cost with a 40% markup sells for $50.40.
Should fees and shipping be included?
Yes, if you want true profit. Use the full-profit tab, which subtracts those costs before working out profit and margin.