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.

Profit = price − total 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: 2026-12-01. Found a mistake? Please use the Contact page and tell us the inputs you used.

Important: this calculator provides general financial information and estimates only. It is not professional advice. Please read our Disclaimer and Editorial Policy, and confirm important decisions with a qualified professional.

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.

Advertisement