Markup Calculator
A markup calculator is a business finance tool used to calculate the selling price, gross profit, and markup percentage of a product or service. The markup percentage is the ratio of gross profit to the cost of purchasing or producing the item, which differs from profit margin (the ratio of profit to selling price). The calculator computes selling prices from cost and markup inputs, and can work in reverse to determine the cost when selling price and profit targets are known. Retailers, wholesalers, and entrepreneurs use this tool to set sustainable pricing strategies.
Enter cost and a markup percentage to compute selling price, gross profit, and margin. Or switch to reverse mode to start from cost and selling price and find the implied markup and margin.
Quick Answer
Calculate the selling price, profit, and profit margin from your cost and markup. Enter any two values to find the others.
What it costs you, before markup. · e.g. 50.00
Percentage added on top of cost. · e.g. 40
Selling price
$70.00
40% markup · 28.57% margin
Examples
$50 cost at 40% markup
= $70 sale · 28.6% margin
$200 cost at 100% markup
= $400 sale · 50% margin
Reverse: $50 cost, $80 sale
= 60% markup · 37.5% margin
How it works
Formula · markup % = (revenue − cost) ÷ cost × 100
Markup is the percentage you add to cost. Margin is the percentage of the selling price that's profit. They're two ways of describing the same dollar amount.
Selling price · cost × (1 + markup ÷ 100)
Markup % · (profit ÷ cost) × 100
Margin % · (profit ÷ selling price) × 100
The two ratios convert directly into each other, with both figures written as decimals:
Markup from margin · markup = margin ÷ (1 − margin)
Margin from markup · margin = markup ÷ (1 + markup)
A 50% markup is a 33.3% margin, not a 50% margin. Cost must be above zero: markup divides by cost, so there is no percentage to report when the cost is zero or the field is blank.
What is a markup calculator?
A markup calculator is an essential business tool used to determine the selling price of a product or service. By taking your wholesale cost and adding a specific markup percentage, it computes the final price you should charge customers to hit your target profit. In addition to the retail price, it outputs the total gross profit in dollars and the resulting gross profit margin.
How to calculate markup (step-by-step)
Calculating a markup is straightforward when you know your cost of goods sold (COGS) and your desired markup rate. Follow these steps:
- Convert your markup percentage into a decimal by dividing it by 100 (e.g., 25% becomes 0.25).
- Add 1 to that decimal number (e.g., 1 + 0.25 = 1.25).
- Multiply your baseline product cost by this multiplier to find your selling price.
- Subtract the original cost from the selling price to find your gross profit in dollars.
For example, if your cost is $40 and you want a 50% markup, you calculate: $40 × 1.50 = $60 selling price.
Markup vs. Margin: Understanding the difference
Though many people use the terms interchangeably, markup and profit margin represent different financial ratios:
- Markup: Measures profit relative to cost. It answers: "How much extra did I add to my original cost?"
- Margin (Gross Margin): Measures profit relative to the selling price. It answers: "What percentage of the final sale is profit?"
Because margin compares profit to a larger denominator (the selling price), the margin percentage is always lower than the markup percentage. For instance, a 100% markup (doubling your money) results in a 50% profit margin.
One sale, both ways. Buy for $50, sell for $80. The profit is $30 either way, and that never changes:
- Markup: 30 ÷ 50 = 60%. You added 60% on top of what you paid.
- Margin: 30 ÷ 80 = 37.5%. Just over a third of the sale price is profit.
Same $30, same $50 cost, same $80 sale, two very different percentages. This is the single most common mix-up in retail pricing, and it costs money in one direction: quoting 37.5% to a supplier who hears markup, or pricing at a 60% markup when the board expects a 60% margin, leaves a real gap. The margin calculator works the same sale from the revenue side and reports both numbers together.
Worked example: Calculating price from cost and markup
Let's walk through an example where a retailer buys an item for $80 and decides to apply a 35% markup:
- Wholesale Cost: $80.00
- Markup Rate: 35%
- Selling Price Calculation: $80.00 × (1 + 0.35) = $80.00 × 1.35 = $108.00
- Gross Profit: $108.00 − $80.00 = $28.00
- Implied Profit Margin: ($28.00 ÷ $108.00) × 100 = 25.93%
Common mistakes when calculating markup
- Targeting margin but using markup math: Entering a 30% markup expecting a 30% profit margin. A 30% markup actually yields a 23.1% margin, which could lead to underpriced items and smaller profits than planned.
- Ignoring hidden costs in the baseline cost: Only factoring in the invoice cost of the item while ignoring inbound shipping, packaging materials, and merchant transaction fees. Your true cost should encompass all expenses required to get the item ready for sale.
- Confusing markup with sales tax: Applying your markup to a tax-inclusive figure or neglecting to account for local sales tax when pricing services.
Related tools
- Margin calculator for the same dollar profit framed as a percent of selling price (and to find the selling price for a target margin).
- Percentage calculator for the three standard percent questions used in everyday pricing math.
- All money calculators.
Working one out by hand
An item costs 50 and you want to sell it at 80. There are two steps and the second is the only one people get wrong.
- Find the profit. 80 − 50 = 30.
- Divide by the cost, not by the sale price. 30 ÷ 50 = 0.60, so a 60% markup.
- To go the other way, multiply the cost by one plus the markup. 50 × 1.60 = 80.
Dividing by 80 instead of 50 gives 37.5%, which is the margin on the same sale. Both numbers are correct and they describe the same thirty currency units of profit.
Why the two numbers drift apart as they rise
At small percentages markup and margin are close enough that confusing them costs little. The gap widens quickly, and it is worth seeing the shape of it before you set a price from a number somebody quoted you:
| Markup on cost | Margin on price | Gap |
|---|---|---|
| 10% | 9.1% | 0.9 pts |
| 25% | 20.0% | 5.0 pts |
| 50% | 33.3% | 16.7 pts |
| 100% | 50.0% | 50.0 pts |
| 300% | 75.0% | 225.0 pts |
A 50% markup is a 33.3% margin, and a supplier who says “we work on fifty percent” may mean either. The conversion is margin = markup ÷ (1 + markup), and it is the one piece of arithmetic worth memorising here.
Edge cases
- A cost of zero. Refused. Markup is profit divided by cost, and there is no percentage to report when the denominator is zero rather than a very large one.
- Selling below cost. Allowed, and the markup comes out negative. A sale at 40 on a cost of 50 is a markup of −20%, which is a real thing to do deliberately and worth seeing as a number.
- Markup above 100%. Ordinary. It just means the profit exceeds the cost: selling at 150 on a cost of 50 is a 200% markup. Margin can never exceed 100%, which is the clearest sign the two are different quantities.
- Rounding. The percentage is rounded for display, so multiplying the rounded figure back by the cost can land a penny away from the price you started with. Work from the price, not from the rounded percentage.
Your figures stay in the page
The cost and price you enter are computed in your browser. They are not sent to a server, nothing is stored after you close the tab, and there is no account.
Related Calculators
More tools from Money



