Worked example

Product cost$40
Selling price$60
Gross profit$20
Margin / markup33.3% / 50%
Margin = profit ÷ selling price; markup = profit ÷ cost

The denominator creates the difference

Both measures start with the same profit, but they compare it with different numbers. Margin asks how much of revenue remains. Markup asks how much was added relative to cost.

Confusing the two can produce a lower price than intended, especially when a target margin is entered as if it were markup.

Reverse-calculate a target margin

Ignoring fees, a target 40% margin on a $40 cost needs a $66.67 selling price: cost ÷ (1 − margin).

Marketplace percentage fees and per-order shipping must be included before using the result as a real target price.

  • 20% margin equals 25% markup
  • 33.3% margin equals 50% markup
  • 50% margin equals 100% markup

Use contribution profit for operating decisions

Gross product margin is useful, but it can hide transaction fees, fulfillment, packaging, discounts, returns and advertising.

For a sell-or-scale decision, calculate profit after the costs that change with each order, then compare it with fixed overhead separately.

Use your numbers

Turn the example into your estimate.

The calculator keeps every assumption visible and updates the result as you type.

Open Profit Margin Calculator