Skip to content

Margin and markup calculator

Calculate margin and markup from price and cost, include marketplace or payment fees, find the break-even point and the price for your target margin.

What one unit costs you: purchase price or production cost.

Marketplace or payment commission.

More options

Rent, salaries, subscriptions — for the period you are planning.

Result

—

    Formulas

    • Gross profit = price − cost.
    • Margin = gross profit ÷ price. Markup = gross profit ÷ cost.
    • Contribution = price − cost − fees (percentage of price + fixed fee).
    • Break-even units = fixed costs ÷ contribution, rounded up.
    • Price for a target margin after fees = (cost + fixed fee) ÷ (1 − fee % − target margin).

    Example

    Selling at 125 with a cost of 100 gives a gross profit of 25: a 20% margin and a 25% markup.

    With a 10% marketplace fee plus 2 per sale, each unit contributes 10.5. Fixed costs of 1,000 are covered after 96 sales.

    Frequently asked questions

    What is the difference between margin and markup?

    Both use the same profit (price − cost). Margin divides it by the price, markup by the cost. A 25% markup is a 20% margin.

    Should I include VAT?

    If you are VAT-registered, enter prices without VAT: the VAT you collect is passed to the tax office and is not profit.

    Checked November 22, 2026 · Method 1.0.0

    Found an error? Tell us

    Please do not include personal or financial details.

    Embed this calculator on your site

    Free to use: paste the code into your page. The calculator runs on your site in a frame; keep the link to the source under it.

    Preview the widget