# Profit margin calculator

Profit margin is profit divided by the selling price, not by the cost. If an item costs $45 and sells for $80, the profit is $35 and the margin is 35 ÷ 80, or 43.75 percent. Markup is the same $35 divided by the $45 cost, which is 77.8 percent. A target margin solves the price as cost ÷ (1 − margin).

Canonical page: https://tools.torontosoft.com/calculators/business/profit-margin-calculator/

## Formula

Margin = (price − cost) ÷ price. Price for a target margin = cost ÷ (1 − target margin). Markup = (price − cost) ÷ cost.

## Worked example

Cost $45 and price $80. Profit is $35. Margin is 43.75 percent of the price. Markup is 77.8 percent of the cost. Switch the mode if you know the margin you want and need the price instead.

- Profit margin: 43.75%
- Profit: $35.00
- Markup on cost: 77.78%

## Assumptions

- Cost should already include the unit's freight and packaging if you want a gross margin after those.
- Overhead is not allocated unless you folded it into the cost.
- A target margin of 100 percent is impossible. Price would have to be infinite.

## Sources

- Margin and markup are the standard retail definitions: margin is on price, markup is on cost.

## Questions

### What is a good profit margin?

It depends on the trade. A number that covers materials and leaves 40 percent of the price can still lose money if labor and overhead were not in the cost. Margin is only as honest as the cost you typed.

### How do I get a price from a margin?

Divide cost by 1 minus the margin. A $45 cost and a 40 percent margin need a price of 45 ÷ 0.60, which is $75.

### Why is markup higher than margin?

They share the same profit dollars and use different denominators. The cost is smaller than the price, so the percent of cost is larger.


This is a planning estimate. It is not engineering, electrical design, or tax advice.
