Worked example

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

Compare the assumptions

$40 product cost, no other costs or fees; values rounded for display
Target marginRequired priceProfitEquivalent markup
20%$50.00$10.0025%
40%$66.67$26.6766.67%
50%$80.00$40.00100%

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.

Include the percentage fee in the denominator

Let C be product plus fixed per-order costs, f the fee share of selling price, and m the target margin share. Required price is C ÷ (1 − f − m). With $40 product cost, $5 shipping, a $0.30 fixed fee, a 3% price-based fee and 40% target margin, C is $45.30 and price is $45.30 ÷ 0.57 = $79.4737.

At that unrounded price, the percentage fee is $2.3842 and profit is $31.7895, exactly 40% of price. Adding 40% to $45.30 would instead set a price of $63.42 and miss the margin target. If 1 − f − m is zero or negative, there is no finite positive price that achieves the requested target with positive costs.

Decide which cost base your markup describes

The tool labels markup as profit divided by product cost. Once shipping and fees are included, that is not the same as markup on all order costs. Record the denominator whenever sharing a markup figure; otherwise two people can use the same word for different calculations.

For a monthly plan, multiply contribution per sale by expected sales, then subtract overhead separately. Do not label that result net business income until rent, payroll, tax and other omitted costs have been considered. These are pricing scenarios, not accounting classifications for your business.

Try these calculator inputs

  1. Enter product cost 40, selling price 60, percentage fees 0, other cost 0 and shipping 0.
  2. Expect $20 profit, 33.3% margin and 50% markup on product cost.
  3. Set target margin to 40%. Required price is $66.67 before currency rounding. Then add your actual order costs and fees to see how the price changes.

Open Profit Margin Calculator →

Review note and sources

What was checked.

Margin and markup use the same profit amount with different denominators. Fee inputs must be replaced with the reader's current provider terms.

Examples and the reference scope were reviewed on 2026-11-03. Prices, rates and allowances in worked examples are illustrative. References support product or provider context; the scenario calculations are Tossora’s own. Current product labels, provider agreements, utility tariffs, and local requirements take precedence.

Report an error in this guide or calculator →

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 ↗