Markup and margin calculator: price from cost
Find the price to charge for the markup or margin you want on one unit’s cost.
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.
How this was calculated
Step by step, with the figures above.
- Selling pricecost ÷ (1 − margin ÷ 100). cost: $2.25 · margin: 40%. Rounded to 2 decimal places, halves away from zero.
- Profit on each unitprice − cost. price: $3.75 · cost: $2.25
- As a markup on costprofit ÷ cost × 100. profit: $1.50 · cost: $2.25
- As a margin on priceprofit ÷ price × 100. profit: $1.50 · price: $3.75
- The markup that gives the same pricemargin ÷ (100 − margin) × 100. margin: 40%
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.
Related calculators
- Food cost percentage calculator and menu price
- Recipe cost calculator: cost per portion and plate cost
- Catering quantity calculator: food per person
- Etsy fees calculator: what you keep from a sale
- eBay fees calculator: final value fees and profit
- Mercari fee calculator: your payout and profit
- Poshmark fee calculator: what you earn after the fee
- Depop fees calculator: processing, boosting and profit
- Dimensional weight calculator: USPS, UPS and FedEx
- Whatnot fee calculator: commission, processing and profit
- Freight density calculator: pounds per cubic foot
- Self-employment tax calculator: Schedule SE and Medicare
- TikTok Shop fees calculator: referral fee and profit
- Quarterly estimated tax calculator (1040-ES)
- Rental property calculator: cash flow, cap rate
- Trucking cost per mile calculator: owner-operators
- Trucking load profit calculator
- IFTA fuel tax calculator: quarterly tax by state
Checked against its sources by DirectCalculators on November 22, 2026.