Markup Calculator: Find Selling Price, Cost & Markup %

The concept of markup is older than modern accounting. Medieval merchants in 13th-century Europe already used a simple rule: add a fixed fraction to what you paid, and that fraction became your selling price. Today, the same arithmetic powers every retail price tag, restaurant menu, and software subscription on the planet. This calculator makes it instant.
A markup calculator lets you find any one of three values — selling price, cost price, or markup percentage — when you know the other two. Enter your known values below, pick a solve mode, and get the answer with a full step-by-step breakdown.
Markup is the percentage added to a product’s cost to set its selling price. The formula is: Markup % = ((Selling Price − Cost) ÷ Cost) × 100. A product costing $80 sold for $100 has a 25% markup. Use the calculator below to solve for selling price, cost, or markup % from any two known values.
⚡ In Short
- Markup % = (Profit ÷ Cost) × 100 — always based on cost, not selling price.
- Selling Price = Cost × (1 + Markup% ÷ 100).
- Markup and gross margin are different numbers for the same profit.
- A 25% markup equals a 20% gross margin — not the same thing.
- This calculator solves for any unknown: selling price, cost, or markup %.
| Fact | Detail |
|---|---|
| Formula | Markup % = ((SP − Cost) ÷ Cost) × 100 |
| Based on | Cost price (not selling price) |
| Typical retail markup | 50–100% (clothing); 5–15% (grocery) |
| Markup vs Margin | Different denominators — never interchangeable |
| Can exceed 100%? | Yes — no mathematical upper limit |
Markup Calculator
Solve for selling price, cost, or markup %
$
%
How to Use This Markup Calculator
- Pick a solve mode. Click “Find Selling Price”, “Find Cost Price”, or “Find Markup %” depending on which value you need.
- Enter the two known values. Type your numbers into the labeled fields. Units are in dollars and percent.
- Click Calculate (or press Enter). The result card shows the answer, a profit chip, a gross margin chip, and a numbered step-by-step solution.
- Click Reset to clear all fields and start fresh.
What Is Markup?
Markup is the amount added to a product’s cost price to produce its selling price. It is always expressed as a percentage of the cost, not the selling price. A business that buys a product for $80 and sells it for $100 has added $20 of markup, which is 25% of the $80 cost.
The term dates to early trade economics, where merchants needed a simple rule to ensure every sale covered their purchase cost plus operating expenses and left a profit. That rule — “add a percentage to cost” — is still the foundation of retail pricing today.
The Markup Formula Explained
There are three rearrangements of the same relationship, one for each unknown:
┌─────────────────────────────────────────────────────┐
│ MARKUP FORMULAS │
│ │
│ Markup % = (SP − Cost) ÷ Cost × 100 │
│ │
│ Selling Price (SP) = Cost × (1 + Markup%/100) │
│ │
│ Cost = SP ÷ (1 + Markup%/100) │
│ │
│ Profit ($) = SP − Cost │
└─────────────────────────────────────────────────────┘
| Symbol | Meaning | Unit |
|---|---|---|
| SP | Selling Price | $ (or any currency) |
| Cost | Cost Price (what you paid) | $ |
| Markup % | Markup as a percentage of cost | % |
| Profit | SP minus Cost | $ |
Worked Examples
Example 1 — Find Selling Price
A retailer buys a jacket for $60 and wants a 40% markup. What is the selling price?
- Profit = $60 × (40 ÷ 100) = $24
- Selling Price = $60 + $24 = $84.00
- Gross Margin = $24 ÷ $84 × 100 = 28.57%
Example 2 — Find Markup %
A coffee shop buys beans for $12 per bag and sells them for $18. What is the markup?
- Profit = $18 − $12 = $6
- Markup % = ($6 ÷ $12) × 100 = 50%
- Gross Margin = ($6 ÷ $18) × 100 = 33.33%
Example 3 — Find Cost Price
A phone is sold for $299 with a 150% markup. What did it cost the seller?
- Cost = $299 ÷ (1 + 150 ÷ 100) = $299 ÷ 2.5 = $119.60
- Profit = $299 − $119.60 = $179.40
Markup vs Gross Margin: What Is the Difference?
Markup and gross margin both measure profitability, but they use different denominators. Markup divides profit by cost; gross margin divides profit by selling price. This makes them permanently different numbers for the same transaction.
| Metric | Formula | Example ($80 cost, $100 SP) | Result |
|---|---|---|---|
| Markup % | (SP − Cost) ÷ Cost × 100 | ($100 − $80) ÷ $80 × 100 | 25% |
| Gross Margin % | (SP − Cost) ÷ SP × 100 | ($100 − $80) ÷ $100 × 100 | 20% |
The same $20 profit looks like 25% markup but only 20% gross margin. Confusing the two is one of the most common pricing errors in small business.
Most pricing guides tell you to “add a markup.” What they rarely explain is that the markup-to-margin conversion is non-linear. Going from a 50% markup to a 100% markup does not double your margin — it only moves margin from 33.3% to 50%. This means that as you push markup higher, each additional percentage point of markup buys you less and less extra margin. In practice, I find that businesses set their markup targets in markup terms but report profitability in margin terms — and then wonder why the numbers never match. Always decide which metric your pricing target refers to before you set a price.
Common Mistakes When Calculating Markup
Mistake 1: Confusing markup with margin. Saying “I have a 25% margin” when you mean “I have a 25% markup” understates your actual margin (which would be 20%). Always specify which denominator you are using.
Mistake 2: Applying markup to selling price instead of cost. Markup is always a percentage of cost. If you apply the percentage to the selling price, you are calculating gross margin — a different number.
Mistake 3: Forgetting that markup must cover ALL costs. “Cost” in the formula should include every cost of getting the product to the shelf — purchase price, shipping, storage, and any import duties. Markup on just the purchase price often leaves businesses unprofitable.
In my experience working with small business owners, the single most damaging pricing mistake is treating markup and margin as synonyms. A shop owner who targets “30% margin” but calculates it as markup ends up with only a 23% actual gross margin — and is genuinely surprised when the profit does not appear. I now make this distinction the first thing I cover in any pricing discussion. The calculator above always shows both numbers side by side so you can see the gap instantly.
Frequently Asked Questions
What is the markup formula?
What is the difference between markup and margin?
Can markup be more than 100%?
How do I convert markup to margin?
What is a good markup percentage?
Is markup the same as profit?
Sources & References
- Investopedia — Markup Definition and How It Works (authoritative finance reference)
- Khan Academy — Markup and Commission Word Problems
- Wikipedia — Markup (business)
✍ Written & fact-checked by Dr. Ir
