Practical guide

Margin vs. Markup: Formulas and a Worked Pricing Example

Compare gross margin and markup using cost 60 and price 100, calculate a target price, and see how sequential discounts change gross profit.

Margin and markup use different denominators

Gross profit is selling price minus cost. Margin is gross profit divided by selling price, multiplied by 100. Markup is gross profit divided by cost, multiplied by 100. The same profit produces different percentages because the denominator changes.

Enter cost 60 and selling price 100 in Margin & Markup Calculator. The result is gross profit 40, margin 40%, and markup approximately 66.67%. These numbers use the same currency and are an illustrative calculation, not an estimate of a real business's profit.

MeasureCalculationResult
Gross profit100 − 6040
Margin40 ÷ 100 × 10040%
Markup40 ÷ 60 × 10066.67%

Calculate a target selling price

For a target margin expressed as a decimal m, price = cost ÷ (1 − m). For a target markup u, price = cost × (1 + u). With cost 60, a 40% target margin gives 60 ÷ 0.60 = 100. A 40% markup instead gives 60 × 1.40 = 84, whose margin is about 28.57%.

The current Desklium calculator accepts cost and selling price, so calculate the proposed price with the formula, then enter it to check the resulting percentages. It does not have a target-price input mode. A 100% target margin cannot be reached with a positive cost using this formula.

Apply sequential discounts before checking margin

Two successive discounts of 20% and 10% give a remaining price of 100 × 0.80 × 0.90 = 72. The effective discount is 28%, not 30%. Discount Calculator shows the final price, savings, and effective percentage.

With the original cost still 60, the discounted price 72 gives profit 12, margin approximately 16.67%, and markup 20%. Put the discounted selling price back into Margin & Markup Calculator rather than applying the original margin to the new price.

Keep the cost assumptions visible

A calculated gross profit is not net profit. The tool uses only the cost and price you enter; it does not add payment fees, delivery, returns, tax, or overhead. Document which costs are included, use comparable currencies, and distinguish this arithmetic from accounting or tax advice.

If cost is zero, markup is undefined; if selling price is zero, margin is undefined. A selling price below cost produces a loss. For cross-currency estimates, Currency Converter shows dated ECB reference rates, which are not a bank or payment-provider transaction quote.

The formulas and examples on this page were checked against Desklium's calculator functions. They describe the current browser tools; no sales, pricing performance, or profitability outcome is claimed.

Try the tools

Found an incorrect example or a changed tool behavior? Contact Desklium with the page URL and a non-sensitive example.