How to use the markup calculator
- Enter any two of the three fields: cost, selling price or markup percentage.
- The calculator fills in the missing value automatically as you type.
- Review the profit amount and the equivalent margin shown below the main result.
How the markup formula works
Markup is the percentage added to your cost to arrive at a selling price. The core formula used by this markup calculator is:
Selling Price = Cost x (1 + Markup / 100)
For example, if an item costs $40 and you apply a 50 percent markup, the math is 40 x 1.50 = 60. The selling price is $60.00 and the profit is $20.00.
If you already know the cost and the selling price, you can work backwards to find the markup percentage:
Markup = ((Selling Price - Cost) / Cost) x 100
A product that costs $25 and sells for $35 gives ((35 - 25) / 25) x 100 = 40%.
Markup vs margin
People often confuse markup and margin because both describe profitability, but they use different bases. Markup divides profit by cost, while margin divides profit by selling price.
Margin = (Profit / Selling Price) x 100
Using the earlier example of a $40 cost and a $60 selling price, the profit is $20. The markup is 20 / 40 = 50%, but the margin is 20 / 60 = 33.33%. Margin will always be a lower number than markup when the price is above cost.
This markup calculator displays both figures so you can compare them directly. If you need deeper analysis of net profitability after expenses, a dedicated profit margin calculator may be more appropriate.
Common price markup reference table
The table below shows what happens to a $100 cost at various standard markup percentages. It illustrates how quickly the gap between markup and margin widens at higher rates.
| Markup | Selling price | Profit | Margin |
|---|---|---|---|
| 10% | $110.00 | $10.00 | 9.09% |
| 25% | $125.00 | $25.00 | 20.00% |
| 50% | $150.00 | $50.00 | 33.33% |
| 75% | $175.00 | $75.00 | 42.86% |
| 100% | $200.00 | $100.00 | 50.00% |
| 200% | $300.00 | $200.00 | 66.67% |
When to use a price markup
Retailers, contractors and freelancers all rely on markup to set prices. A common approach is keystone pricing, which means doubling the wholesale cost. That is a 100 percent markup, yielding a 50 percent margin.
Service businesses often use higher markups because their direct costs are low but overhead like rent, software and insurance must be covered. A consultant charging $150 per hour against $50 in direct costs applies a 200 percent markup.
When setting a price markup, always check whether competitors quote prices that include taxes. If you need to add tax on top of your marked-up price, use a sales tax calculator to verify the final total the customer sees.
Mistakes to avoid
The most frequent error is treating markup and margin as interchangeable. If your target is a 40 percent margin, applying a 40 percent markup will leave you short. To achieve a specific margin, convert it first: Markup = Margin / (1 - Margin). For a 40 percent margin, the required markup is 0.40 / 0.60 = 66.67%.
Another mistake is forgetting to include all costs. Shipping, packaging and payment processing fees should be part of the cost base before you apply the markup percentage. Otherwise your actual profit shrinks.
Finally, entering a selling price lower than the cost produces a negative markup. While clearance sales do this intentionally, the tool flags inconsistent inputs so you can double-check your numbers.
Worked examples
Each result below was produced by the same code the tool runs, so you can check your own numbers against them.
| Example | Input | Result |
|---|---|---|
| Retail product at 50% markup | Cost: 40; Markup percentage: 50 | Selling price: 60.00; Profit: 20.00; Margin: 33.33% |
| Find markup from cost and price | Cost: 25; Selling price: 35 | Markup: 40.00%; Profit: 10.00; Margin: 28.57% |
| Find cost from price and markup | Selling price: 120; Markup percentage: 60 | Cost: 75.00; Profit: 45.00; Margin: 37.50% |
| High markup service | Cost: 10; Markup percentage: 200 | Selling price: 30.00; Profit: 20.00; Margin: 66.67% |
FAQ
What is a markup calculator?
A markup calculator finds the selling price, cost or markup percentage when you provide any two of those values. It uses the formula: selling price equals cost times one plus the markup divided by 100.
What is the difference between markup and margin?
Markup measures profit as a percentage of cost, while margin measures profit as a percentage of selling price. A 50 percent markup on a $40 cost yields a $60 price and a 33.33 percent margin.
How do I calculate a price markup?
Multiply the cost by the markup percentage divided by 100, then add that amount to the original cost. For a $30 item with a 40 percent markup: 30 x 0.40 = 12, so the selling price is $42.
Can markup be more than 100 percent?
Yes. A 100 percent markup doubles the cost. Higher markups are common in industries with low direct costs or high perceived value, such as digital goods or luxury items.
Is this markup calculator free to use?
Yes. It runs entirely in your browser, requires no account and does not send your numbers to any server.
How do I convert a target margin into a markup?
Divide the margin decimal by one minus the margin decimal. For a 30 percent margin: 0.30 / 0.70 = 0.4286, which is a 42.86 percent markup.