Markup and margin calculator: price from cost

Find the price to charge for the markup or margin you want on one unit’s cost.

$
What the item costs you, to the cent. The default is Virginia Tech’s example.
A margin is profit as a share of the price; a markup, profit as a share of the cost.
%
The margin or markup you want, in percent. A margin must stay below 100.

Result

Summary

Selling price

$3.75

Where the selling price goes

  • Cost of the unit$2.2560%
  • Profit (the margin)$1.5040%
Profit on each unit
$1.50
As a markup on cost
66.67%
As a margin on price
40%
The other percentage, exact, before rounding to the cent
66.67%

Another 5 points of margin would add $0.34 to the price.

Pricing arithmetic on one unit, to the cent. It does not set the percentage: that depends on your overhead, your market and your buyers, which the page does not know.

A worked example

Virginia Tech’s extension service prices a product that costs $2.25 at a 40 percent margin: $2.25 ÷ (1 − 0.40) = $2.25 ÷ 0.60 = $3.75, which leaves $1.50 on each unit before fixed costs are paid. As a markup on cost, that $1.50 is 66.67 percent of $2.25.

Margin is not markup

The same profit is a smaller share of the price than of the cost, so a margin is never above the matching markup. Penn State’s example is a watermelon that costs $1.00 with a 20 percent margin as the goal: the price is $1.25, not $1.20. Adding 20 percent to the cost gives $1.20, a margin of only 16.67 percent.

To turn one into the other, a margin m is a markup of m ÷ (1 − m), and a markup k is a margin of k ÷ (1 + k). UMaine’s markup table puts a 30 percent margin at a 42.86 percent markup, so the cost is multiplied by 1.4286. Its row for 41 percent prints 60.49, a slip for 69.49.

Rounding to the cent

UVM Extension’s tables round each price to the cent: a distributor’s 18 percent markup takes carrots bought at $0.80 a pound to $0.94, and a retailer’s 35 percent margin takes lettuce bought at $1.90 to $2.92. This page rounds to the nearest cent the same way and works the profit and percentages from the rounded price, so on a cheap item they can differ from the exact percentage shown last: $0.50 at a 35 percent margin is $0.77, a margin of 35.06 percent. UMaine’s shirts, $450 at a 48.3 percent margin, come to $870.41 by that rule; UMaine prints $870.40, as if it cut to the cent.

Sources

Questions

What if I mark down an item I marked up?

The markdown comes off the higher price. UMaine’s example marks a $1.00 item up 50 percent to $1.50, then takes 40 percent off: $1.50 − $0.60 = $0.90, ten cents below what it cost.

Does the margin cover my overhead?

Only if you set it high enough. The margin here is the price less the cost of the item. UMaine’s guide says the price must cover the item’s cost, the selling and operating expenses, and a margin of profit; Virginia Tech’s example leaves its $1.50 a unit before fixed costs are paid.

Checked against its sources by DirectCalculators on November 22, 2026.