Skip to content
MixTool

Profit margin calculator

Find your profit margin and markup — or the price you need to charge to hit a target margin.

  • Runs entirely in your browser
  • Free · no sign-up
  • Works on phone and desktop
Loading tool…

Price for profit

Margin and markup are easy to confuse, and mixing them up can quietly erase your profit. Margin is profit as a share of the selling price; markup is profit as a share of the cost. A 50% markup is only a 33% margin.

Enter your cost and price to see both, or switch modes to find the price that gives a target margin or a chosen markup. Add a quantity to see total revenue and profit — handy for Amazon, Etsy and Shopify sellers, restaurants and service businesses.

How to calculate profit margin

  1. 1

    Choose the calculation

    Margin from a price, price for a margin, or price from a markup.

  2. 2

    Enter the cost per item

    Everything it costs you to make or buy it.

  3. 3

    Enter the price or target

    Selling price, target margin % or markup %.

  4. 4

    Add a quantity (optional)

    For total revenue and profit.

Key features

  • Margin and markup together

    Side by side, so you never confuse them.

  • Target-margin pricing

    Price = cost ÷ (1 − margin).

  • Totals

    Revenue and profit for any quantity.

  • Any currency

    Dollars by default.

Common uses

  • E-commerce sellers: Price products after marketplace and payment fees.
  • Freelancers and agencies: Quote projects with a healthy margin.
  • Wholesale: Check markup on bulk orders.

Tips and good to know

  • For online sales, include marketplace fees, shipping, payment processing and returns in your cost.
  • Prices here are before sales tax; add tax with the Sales Tax Calculator.

Frequently asked questions

What is the profit margin formula?

Margin = (price − cost) ÷ price × 100. Selling for $100 an item that costs $60 gives a 40% margin.

What's the difference between margin and markup?

Markup divides profit by cost; margin divides it by price. The same $40 profit is a 66.7% markup but a 40% margin.

How do I price for a 40% margin?

Divide the cost by 0.6. An item costing $60 should sell for $100.