BestCalculator .app

Margin Calculator

Solve margin and markup from cost and price, in either direction. Markup stays on this page.

Mode Markup is a mode on this page. It does not have its own address.
Cost What you paid. Markup divides by this number, so it has to be above zero.
Price What the buyer pays. Margin divides by this number.

Smart Tips

• Margin and markup use the same profit and different denominators. 37.5% margin is 60% markup on a $50 cost and an $80 price.

• Switch the mode to start from cost and markup, or from price and margin. You do not need another page.

• A price below cost is a negative margin and a negative markup. That is allowed when both amounts stay above zero.

• A margin of 100% would require a cost of zero. The page rejects it instead of dividing by zero.

The Formula

Margin = (price − cost) ÷ price

Markup (price − cost) ÷ cost
Same profit, divided by cost
Price cost ÷ (1 − margin)
Also cost × (1 + markup)
Cost price × (1 − margin)
Also price ÷ (1 + markup)
Profit price − cost
Shown when you enter both amounts

A $50 cost and an $80 price produce $30 of profit, a 37.5% margin, and a 60% markup. No price list is stored. The two ratios are the definitions used on this page.

Key Insights

One page for both

Markup is a mode in the first menu. It is not a second address.

Price is the margin base

A larger price makes the margin percent smaller than the markup percent, for the same profit.

Cost is the markup base

Doubling a $50 cost with a 100% markup is a $100 price, which is only a 50% margin.

Zero cost has no markup

Markup divides by cost. A zero cost is rejected.

The same $50 cost and $80 price

MeasureResult
Profit$30
Margin30 ÷ 80 = 37.5%
Markup30 ÷ 50 = 60%
Price from a 60% markup50 × 1.60 = $80
Cost from a 37.5% margin80 × (1 − 0.375) = $50

Frequently Asked Questions

Responsive Ad Space
-
Enter values to calculate
-
-

Note:This is an estimate of the arithmetic, not pricing advice. It ignores shipping, tax, discounts, and overhead. A selling price at or below zero, a margin of 100% or more, and a markup of −100% or worse are rejected because the ratio is no longer defined.

Responsive Ad Space