Home / Free resources / Profit margin calculator

Profit margin and markup calculator

Enter what something costs you and what you sell it for to see the margin, markup and profit. Or start from the margin or markup you want and get the price to charge.

Margin and markup calculator

What do you know?
What the item or job costs you: materials, product cost, direct labor.
The price before sales tax.
Shows monthly revenue and gross profit.

Results

Gross margin
0%

    Margin and markup formulas

    Margin and markup use the same profit but divide it by different numbers. Margin divides by the selling price. Markup divides by the cost. That's why a 50% markup is only a 33.3% margin.

    • Profit = price − cost
    • Margin = (price − cost) ÷ price × 100
    • Markup = (price − cost) ÷ cost × 100
    • Price from a target margin = cost ÷ (1 − margin)
    • Price from a target markup = cost × (1 + markup)
    • Markup to margin = markup ÷ (1 + markup)
    • Margin to markup = margin ÷ (1 − margin)

    Worked example

    A product costs you $40 and sells for $65. Profit is $25. The margin is $25 ÷ $65 = 38.5%. The markup is $25 ÷ $40 = 62.5%.

    To hit a 40% margin on the same $40 cost, charge $40 ÷ 0.60 = $66.67. Adding 40% to the cost instead gives $56, which is only a 28.6% margin. Mixing up the two is the most common pricing mistake.

    Markup to margin conversion table

    MarkupMargin
    10%9.1%
    15%13.0%
    20%16.7%
    25%20.0%
    30%23.1%
    33.33%25.0%
    40%28.6%
    50%33.3%
    60%37.5%
    75%42.9%
    100%50.0%
    150%60.0%
    200%66.7%

    Gross, operating and net margin

    • Gross margin: revenue minus the direct cost of what you sold, divided by revenue. This is what the calculator above shows.
    • Operating margin: takes out rent, payroll, software, marketing and other running costs too.
    • Net margin: what's left after every expense, including interest and taxes. This is the bottom line.

    A healthy gross margin has to cover your overhead before you make a profit. If your gross margin is 30% and overhead is 25% of revenue, you keep about 5% before tax. Our employee cost calculator and office space calculator help you put a number on the two biggest overhead costs.

    Next, see how many sales cover your costs with our break-even calculator, and bill customers with our free invoice generator.

    Selling in Colorado? Set your price before tax, then use our Colorado sales tax calculator to see what the customer pays. Want help with pricing and financial planning? See our strategy and coaching and accounting and tax services.

    Common questions

    What is the difference between margin and markup?

    Both start from profit, which is price minus cost. Margin is profit as a share of the price. Markup is profit as a share of the cost. The same sale always has a higher markup than margin.

    How do I calculate a 30% profit margin?

    Divide your cost by 0.70. An item that costs $50 needs a price of $71.43 for a 30% margin.

    Is a 50% markup the same as a 50% margin?

    No. A 50% markup on a $100 cost gives a $150 price and a 33.3% margin. A 50% margin needs a $200 price, which is a 100% markup.

    What is a good profit margin for a small business?

    It depends on the industry. Software and services often run high gross margins, while grocery, restaurants and construction run thin ones. Compare your numbers with businesses like yours, and make sure gross margin covers your overhead with room left over.

    Should margin include shipping and payment fees?

    For a true picture, yes. Add shipping, packaging and card processing fees to the cost of each sale before you work out the margin.