Skip to content

    Free calculator

    Profit margin calculator

    Enter revenue and the direct cost of what you sold to see gross profit, gross margin and markup. Add operating expenses for net margin, or ask for the price that achieves a target margin.

    Calculator

    %

    Margins

    Gross profit
    4,000
    Gross margin
    40.0%
    Markup
    66.7%
    Net profit
    1,500
    Net margin
    15.0%

    Pricing

    Price for a 40% margin on this cost
    10,000

    How it works

    Gross margin is gross profit as a share of revenue. Markup is the same gross profit as a share of cost. They describe the same money from two sides, and confusing them is the most common pricing error: a 50% markup is only a 33% margin.

    Net margin takes operating expenses off as well, which is the figure that tells you whether the business as a whole is profitable rather than just its products.

    Formulas

    1. Gross profit = revenue − cost of sales
    2. Gross margin = gross profit ÷ revenue
    3. Markup = gross profit ÷ cost of sales
    4. Net profit = gross profit − operating expenses
    5. Net margin = net profit ÷ revenue
    6. Price for a target margin = cost ÷ (1 − target margin)

    Worked examples

    Revenue 10,000, cost 6,000
    Gross profit 4,000; gross margin 40%; markup 66.7%. With 2,500 of operating expenses, net profit is 1,500 and net margin 15%.
    Pricing for a 40% margin on a cost of 60
    60 ÷ (1 − 0.40) = 100. A 40% markup would only give a price of 84.

    Common questions

    What is a good profit margin?

    It depends on the industry. Grocery retail runs on low single-digit net margins; software and professional services can run far higher. Compare against businesses like yours, and track your own margin over time.

    Is margin the same as markup?

    No. Margin is profit over revenue; markup is profit over cost. For the same sale, markup is always the larger percentage.

    Does Bookend report margins?

    Yes. The profit and loss shows gross and net profit for any period, and sales-by-item and inventory reports give margin per product on plans with inventory.

    Want these figures from your real books instead of typed inputs?

    See Bookend plans