Profit Margin Calculator

Enter any two of cost, selling price, margin or markup — the calculator fills in the rest and shows the profit per unit and for your quantity.

Private by design: the tool runs in an isolated frame with no network access. Ads on this page cannot read what you type.

How to use

  1. Enter the cost of one unit (purchase price or production cost).
  2. Enter the selling price — or a target margin or markup to get the price.
  3. Optional: quantity, to see total revenue and profit.

Formulas

  • Profit = price − cost
  • Margin = profit ÷ price × 100 (share of the price that is profit)
  • Markup = profit ÷ cost × 100 (how much is added on top of cost)
  • Price for a target margin = cost ÷ (1 − margin)
  • Price for a target markup = cost × (1 + markup)

Example: cost $40, price $60 → profit $20, margin 33.33 %, markup 50 %. A 50 % margin on a $40 cost needs a price of $80 (markup 100 %).

Margin vs. markup

The same profit gives a smaller margin than markup, because margin is measured against the price and markup against the cost. A 25 % markup is only a 20 % margin. Confusing the two is a common reason for underpricing.

Gross margin only

This is gross margin on the unit. It does not include overheads such as rent, salaries, marketing or taxes. To see how many units you must sell to cover fixed costs, use the break-even calculator.

Privacy

Everything you type stays in this browser. The calculator runs inside an isolated frame on work-app.helloseo24.com that is not allowed to open any network connection, and the advertising on this page cannot read it. Saved entries live in your browser's local storage until you delete them (footer → “Delete data saved in this browser”). Private windows, clearing browser data or switching devices removes them, so export a CSV or a workspace backup if you need a copy.

Frequently asked questions

What is a good profit margin?

It depends heavily on the industry; retail often works with much lower gross margins than software or services. Compare with businesses like yours.

How do I convert markup to margin?

Margin = markup ÷ (1 + markup). 50 % markup = 0.5 ÷ 1.5 = 33.3 % margin.

Can margin be over 100 %?

No. Margin is at most 100 % (when cost is zero). Markup can be any size.

Updated: