Markup Calculator: Find Price, Cost & Margin Fast

Markup Calculator: Find Selling Price, Cost & Markup %

By Dr. Irfan Mansuri
August 8, 2026
7 min read
Business Math
Markup calculator showing cost price, markup percentage, and selling price formula on a teal-themed educational tool
Markup Calculator — enter cost and markup % to find selling price instantly

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.

Quick Answer

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 %




$


%


Selling Price
$100.00
Step-by-Step Solution

    How to Use This Markup Calculator

    1. Pick a solve mode. Click “Find Selling Price”, “Find Cost Price”, or “Find Markup %” depending on which value you need.
    2. Enter the two known values. Type your numbers into the labeled fields. Units are in dollars and percent.
    3. 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.
    4. 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?

    1. Profit = $60 × (40 ÷ 100) = $24
    2. Selling Price = $60 + $24 = $84.00
    3. 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?

    1. Profit = $18 − $12 = $6
    2. Markup % = ($6 ÷ $12) × 100 = 50%
    3. 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?

    1. Cost = $299 ÷ (1 + 150 ÷ 100) = $299 ÷ 2.5 = $119.60
    2. 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.

    ⭐ My Key Takeaway

    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.

    My POV

    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?
    Markup % = ((Selling Price − Cost) ÷ Cost) × 100. To find selling price: SP = Cost × (1 + Markup% ÷ 100). To find cost: Cost = SP ÷ (1 + Markup% ÷ 100). All three are rearrangements of the same relationship.
    What is the difference between markup and margin?
    Markup divides profit by cost; gross margin divides profit by selling price. A $20 profit on an $80 cost is a 25% markup. The same $20 profit on a $100 selling price is a 20% gross margin. They describe the same transaction but are never the same number (unless profit is zero).
    Can markup be more than 100%?
    Yes. A 100% markup means you doubled the cost price. Luxury goods, software licenses, and restaurant food often carry markups of 200–500%. There is no mathematical upper limit on markup percentage.
    How do I convert markup to margin?
    Use: Margin % = Markup% ÷ (100 + Markup%) × 100. Example: a 25% markup converts to 25 ÷ 125 × 100 = 20% gross margin. To go the other way: Markup% = Margin% ÷ (100 − Margin%) × 100.
    What is a good markup percentage?
    It depends on the industry. Retail clothing typically uses 50–100% markup. Grocery stores use 5–15%. Software and digital products often use 200–500%. A good markup covers all costs — purchase price, shipping, overhead — and still yields your target profit margin.
    Is markup the same as profit?
    Not exactly. Profit in dollars equals Selling Price minus Cost. Markup percentage expresses that dollar profit as a ratio of the cost price. So markup is a way of describing profit relative to cost — they are related but not the same thing.

    Dr. Irfan Mansuri — Educational Content Creator

    Dr. Irfan Mansuri

    Educational Content Creator & Competitive Exam Specialist — Founder of IrfanEdu.com. Dr. Irfan Mansuri has 15+ years of experience across high school, undergraduate, and postgraduate education. He combines deep subject knowledge with proven test-taking strategies to make complex ideas simple. Connect on LinkedIn.

    Sources & References

    1. Investopedia — Markup Definition and How It Works (authoritative finance reference)
    2. Khan Academy — Markup and Commission Word Problems
    3. Wikipedia — Markup (business)

    ✍ Written & fact-checked by Dr. Ir

    Leave a Comment

    Your email address will not be published. Required fields are marked *

    Scroll to Top