Product Margin Calculator
Enter the selling price and all costs per unit to see profit, margin and markup.
How it works
Total cost per unit adds product cost, packaging, shipping paid by you and the payment fee. Margin is profit divided by price and markup is profit divided by cost.
Margin = profit ÷ price · Markup = profit ÷ cost
Worked example
Using the default values: Selling price = 49; Product cost = 18; Packaging = 1.5; Shipping you pay = 4; Payment fee (%) = 2.9; Fixed payment fee per order = 0.3.
The calculator returns: Profit per unit: 23.78; Margin: 48.5%; Markup: 94.3%; Total cost per unit: 25.22; Price for a 40% margin: 42.04.
Limits and assumptions
- These are estimates from the numbers you enter and standard formulas.
Last reviewed: November 2026 · Maintained by Ahsan Mughal, Blowing Ideas. Report a mistake via the Contact page.
Frequently asked questions about the Product Margin Calculator
Margin or markup?
Margin is measured against the selling price, markup against cost. A 50% markup is a 33% margin.
How do I find the price for a target margin?
Price = cost ÷ (1 − margin).
Do I include advertising?
Yes, per unit, if you want the true margin.