Markup Difference Calculator: Price vs Cost
- Markup percentage
- %
- Result
- Gross profit margin
- %
- Result
- Cost
- 50 $
- You entered
This calculator works out the difference between a product’s cost and its selling price in both dollar terms and as a markup percentage. You enter the cost and the selling price, and you get back the markup amount, the markup percentage, and the selling price’s gross profit margin. It is a straightforward tool for retail pricing, wholesale quoting, and small-business profit checks.
Formula
The calculator uses two related formulas. The first is the markup amount:
Markup amount = Selling price − Cost
where Selling price is what the customer pays and Cost is what you paid to acquire or produce the item, both in the same currency.
The second is the markup percentage, which expresses that dollar amount relative to the cost:
Markup percentage = (Selling price − Cost) ÷ Cost × 100
This tells you how much you added on top of your cost, as a percentage of that cost. A third output, gross profit margin, expresses the same dollar difference relative to the selling price instead of the cost:
Gross profit margin = (Selling price − Cost) ÷ Selling price × 100
Many people use the words markup and margin interchangeably, but they are not the same. Markup is based on cost; margin is based on selling price.
Worked Example
Using the default values from the calculator: cost = $50, selling price = $75.
- Markup amount = $75 − $50 = $25.00
- Markup percentage = ($25 ÷ $50) × 100 = 50.00%
- Gross profit margin = ($25 ÷ $75) × 100 = 33.33%
The calculator rounds to two decimal places, so the margin shows 33.33%. Notice that a 50% markup does not mean a 50% margin—it means a 33.33% margin. This is a common point of confusion in pricing.
When to Use a Markup Difference Calculator
You would use this calculator any time you already know both the cost and the selling price and want to see the profit in dollars and as a percentage. Common situations include:
- Reviewing invoices to verify that your pricing formula was applied correctly.
- Comparing your markup across different products to spot items with thin or negative margins.
- Checking a competitor’s retail price against your own cost to estimate their markup (if you can guess their cost).
- Teaching or learning retail math, where the difference between markup and margin is a core concept.
If you are starting from a cost and a desired markup percentage, you would instead use a markup calculator that computes the selling price. This calculator works in the opposite direction: given the two prices, it reveals the markup.
How to Read the Results
The first output, markup amount, is the absolute dollar profit per unit before other expenses like rent, wages, or shipping. The markup percentage tells you how much you increased the cost. The gross profit margin tells you what share of the selling price is profit.
For example, a product that costs $10 and sells for $15 has a $5 markup, a 50% markup percentage, and a 33.33% margin. A product that costs $100 and sells for $150 also has a 50% markup and a 33.33% margin, but the dollar markup is $50 instead of $5. The percentages are the same because the ratio of profit to cost is the same.
When you see a store advertising a “50% markup,� they usually mean the markup percentage, not the margin. If they say “we make a 50% margin,� that means the profit is half the selling price, which requires a 100% markup on cost.
Common Mistakes and Misconceptions
The most frequent error is confusing markup percentage with margin. As shown above, a 50% markup equals a 33.33% margin. If you mistakenly treat them as the same, you will overprice or underprice your goods.
Another common mistake is mixing up the base. Markup percentage divides by cost; margin divides by selling price. Swapping the denominator changes the result significantly. For a $20 item that costs $10, the markup is 100% but the margin is 50%.
Unit mix-ups are less common but still happen. If you buy in one currency and sell in another, convert both prices to the same currency before calculating. Similarly, if you buy in bulk and sell per piece, make sure the cost is per piece, not per case.
Rounding errors can occur if you round intermediate steps. For example, if you round the markup percentage to 33% and then try to reconstruct the selling price, you will get $66.50 instead of $75. Always keep full precision until the final step.
Limits of the Formula
This calculator only looks at the difference between cost and selling price. It does not account for variable costs like shipping, payment processing fees, or sales commissions. A product might show a healthy markup but still lose money once those extra costs are subtracted.
It also does not consider fixed costs such as rent, utilities, or salaries. A business needs to sell enough units to cover those fixed costs before any profit appears. The markup percentage only tells you the per-unit contribution, not the overall profitability.
Finally, the formula assumes a simple, single-unit sale. It does not handle tiered pricing, volume discounts, or bundled products. For those cases, you would need a more complex pricing model.
Markup vs. Margin: Which Should You Use?
Both are useful, but they serve different purposes. Markup is easier for setting prices from cost: if you want to earn 40% on top of your cost, you multiply cost by 1.40. Margin is more useful for financial reporting and understanding what fraction of each sales dollar is profit.
If you are a retailer, you might set prices using markup but track profitability using margin. A common rule of thumb is that a 50% markup gives a 33% margin, which is often considered a healthy retail margin, but the right number depends on your industry and overhead.
Wholesalers typically use lower markups (10–20%) because they sell in volume. Specialty retailers might use higher markups (100% or more) on unique items. There is no universal “correct� markup; it depends on your costs, competition, and target profit.
Frequently Asked Questions
What is the difference between markup and margin?
Markup is the percentage of cost that you add to get the selling price. Margin is the percentage of the selling price that is profit. For example, if an item costs $80 and sells for $100, the markup is 25% ($20 ÷ $80) and the margin is 20% ($20 ÷ $100).
How do I convert markup to margin?
To convert markup percentage (M) to margin percentage, use: Margin = M ÷ (1 + M). For example, a 50% markup (0.50) becomes 0.50 ÷ 1.50 = 0.3333, or 33.33% margin. To convert margin to markup, use: Markup = Margin ÷ (1 − Margin).
Can I use this calculator for services instead of products?
Yes, the same math applies to any service where you have a cost (labor, materials, overhead) and a selling price. For example, if a contractor pays $200 for materials and charges $350 for the job, the markup is $150, which is 75% on cost and a 42.86% margin.
What is a good markup percentage?
There is no single “good� markup. It varies by industry, product type, and business model. Grocery stores often work on markups of 10–15%, while clothing retailers might use 50–100% or more. The key is that the markup must cover all costs and still leave a profit.
Why does my markup percentage look different from my profit margin?
Because they use different bases. Markup divides by cost; margin divides by selling price. Since the selling price is always larger than the cost (when you make a profit), the margin percentage will always be lower than the markup percentage. This is normal and not a calculation error.
Does the calculator include taxes or discounts?
No, it only uses the two numbers you enter: cost and selling price. If you want to include sales tax, add it to the selling price before entering it. If you offer a discount, enter the actual discounted selling price, not the pre-discount price.
Related
Formula used
in cost | Cost | $ | 50 | 0 in price | Selling price | $ | 75 | 0 out markup | Markup amount | $ | price - cost | 2 out markup_pct | Markup percentage | % | (price - cost) / cost * 100 | 2 out margin | Gross profit margin | % | (price - cost) / price * 100 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.