Markup Calculator: Free Margin and Price Tool

Markup Calculator

Markup, margin, profit and price from any two numbers. Then fees, tax, discounts, break-even and whole price lists.

Type in any two fields, the other three are worked out.

for all tabs
How it was worked out
    Prices ending in .99, .95 or .00

    Choose a price to use it. The cost stays the same.

    Your numbers stay in this browser and are not sent to us. Amounts are calculated exactly and rounded to the smallest coin, half a cent goes up.

    Markup to margin conversion

    Markup compares the profit with the cost, margin compares it with the price. The same profit is always a higher markup than margin.

    MarkupMarginCost timesCost $10, price
    5%4.76%1.05$10.50
    10%9.09%1.1$11.00
    15%13.04%1.15$11.50
    20%16.67%1.2$12.00
    25%20%1.25$12.50
    30%23.08%1.3$13.00
    35%25.93%1.35$13.50
    40%28.57%1.4$14.00
    45%31.03%1.45$14.50
    50%33.33%1.5$15.00
    60%37.5%1.6$16.00
    70%41.18%1.7$17.00
    75%42.86%1.75$17.50
    80%44.44%1.8$18.00
    90%47.37%1.9$19.00
    100%50%2$20.00
    120%54.55%2.2$22.00
    125%55.56%2.25$22.50
    150%60%2.5$25.00
    175%63.64%2.75$27.50
    200%66.67%3$30.00
    250%71.43%3.5$35.00
    300%75%4$40.00
    400%80%5$50.00
    500%83.33%6$60.00
    MarginMarkup
    5%5.26%
    10%11.11%
    15%17.65%
    20%25%
    25%33.33%
    30%42.86%
    35%53.85%
    40%66.67%
    45%81.82%
    50%100%
    55%122.22%
    60%150%
    65%185.71%
    70%233.33%
    75%300%
    80%400%
    90%900%

    Formulas, with a cost of $50 and a price of $80

    To findFormulaExample
    Profitprice - cost$80 - $50 = $30
    Markupprofit ÷ cost × 100$30 ÷ $50 × 100 = 60%
    Marginprofit ÷ price × 100$30 ÷ $80 × 100 = 37.5%
    Price from markupcost × (1 + markup ÷ 100)$50 × 1.6 = $80
    Price from margincost ÷ (1 - margin ÷ 100)$50 ÷ 0.625 = $80
    Cost from markupprice ÷ (1 + markup ÷ 100)$80 ÷ 1.6 = $50
    Cost from marginprice × (1 - margin ÷ 100)$80 × 0.625 = $50
    Margin from markupmarkup ÷ (100 + markup) × 10060 ÷ 160 × 100 = 37.5%
    Markup from marginmargin ÷ (100 - margin) × 10037.5 ÷ 62.5 × 100 = 60%

    This markup calculator turns any two numbers, such as cost and selling price, into markup percentage, margin, profit and price. It is built for shop owners, freelancers, resellers and anyone who sets prices. You can also add fees, tax and discounts, check break-even, and work through a whole price list. It is free and needs no sign-in.

    What Is Markup, and How Is It Different From Margin?

    Markup is the amount you add on top of your cost, shown as a percentage of that cost. Margin is the profit shown as a percentage of the selling price. Both describe the same profit, but they use different bases, so the percentages never match.

    Take a product that costs $50 and sells for $80. Profit is $30. Markup is $30 ÷ $50 = 60%. Margin is $30 ÷ $80 = 37.5%. Mixing the two up is the most common pricing error in small business, because a 50% markup does not give a 50% margin. It gives a 33.3% margin.

    The core formulas

    These are the nine relationships the calculator works from, shown with a cost of $50 and a price of $80.

    To findFormulaExample
    Profitprice - cost$80 - $50 = $30
    Markupprofit ÷ cost × 10060%
    Marginprofit ÷ price × 10037.5%
    Price from markupcost × (1 + markup ÷ 100)$50 × 1.6 = $80
    Price from margincost ÷ (1 - margin ÷ 100)$50 ÷ 0.625 = $80
    Margin from markupmarkup ÷ (100 + markup) × 10060 ÷ 160 = 37.5%
    Markup from marginmargin ÷ (100 - margin) × 10037.5 ÷ 62.5 = 60%

    How to Use the Markup Calculator

    You use the calculator by typing any two of the five values, and it fills in the other three. Follow these steps for a basic calculation.

    1. Open the Markup tab, which is the first of six tabs (Markup, Fees and tax, Discount, Break-even, Supply chain and Price list).
    2. Pick your Currency so the symbol and decimal places match your prices.
    3. Type any two fields: cost, price, markup, margin or profit. The fields you typed are highlighted, and the dashed fields are worked out for you.
    4. Read the other three values. The How it was worked out section shows the steps, so you can check or copy the logic.
    5. Turn on the price endings option if you want a tidy retail price. You can choose prices ending in .99, .95 or .00, then pick one of the suggested prices. Your cost stays the same.
    6. Use Undo if you change a number by mistake, and copy or download the result when you are done.

    The page also includes a markup to margin conversion table, with a "Cost times" column and a cost of $10 example, so you can look up a conversion without typing anything.

    Worked Example: Pricing a Product From a Target Margin

    Suppose a candle costs you $50 per case unit and you want a 40% margin. Enter cost 50 and margin 40. The calculator returns a price of $83.33, a profit of $33.33 and a markup of 66.67%.

    The check is simple: $50 ÷ (1 - 0.40) = $83.33. Profit is $33.33, and $33.33 ÷ $83.33 is 40%. Notice that you needed a markup of about 67% to reach a 40% margin. If you had applied a flat 40% markup, you would have charged $70 and earned a margin of only 28.6%.

    Working backward from a price

    You can also start with the shelf price. Enter price 80 and markup 60, and the calculator gives you a cost of $50 ($80 ÷ 1.6). This is useful when a competitor or supplier sets the price and you need to know what cost you can afford.

    How Do You Read and Act on the Results?

    Each result answers a different question, so read them together. Markup tells you how far you are marking up a purchase, margin tells you how much of each sale you keep, and profit tells you the money per unit.

    • Margin: use this to judge the health of a price. Many retailers aim for margins of roughly 30% to 50%, while some businesses need less or more. Treat that as a general guide, not a promise, because it varies by industry.
    • Markup: use this to set prices from supplier invoices. If your rule is "double the cost," that is a 100% markup and a 50% margin.
    • Profit: multiply by units sold to see whether the product is worth the shelf space.

    If the margin is lower than you expected, raise the price or negotiate the cost. If the markup looks huge but the margin looks modest, that is normal. A 300% markup is only a 75% margin, and a margin can never reach 100%.

    What Can You Do on the Other Tabs?

    The other five tabs handle the situations where a simple cost-and-price calculation is not enough.

    Fees and tax

    This tab finds the price you need so your profit survives fees, shipping, ads and tax. Choose whether you want a margin of, markup of or profit of a set value (the Goal field), then add your fees. You can fill in the fees of a marketplace or use my own numbers from your contract or fee page. Set the VAT or sales tax rate and say whether the price is without tax or tax included. Open See details to view a split of profit, cost, fees and tax. For example, if a $20 item has fees of 10% of the price and you want a 30% margin, the price is $20 ÷ (1 - 0.30 - 0.10) = $33.33.

    Discount

    This tab shows what a sale does to your profit. It also reports the highest discount before a loss. At a cost of $50 and a price of $80, that limit is 37.5%, which equals your margin. Any discount deeper than that sells below cost.

    Break-even and supply chain

    Break-even helps you check what you must sell to cover your costs. Supply chain is for products that pass through more than one seller, where each step adds its own markup before the shopper pays.

    Price list

    This tab prices many products at once. Paste rows from a spreadsheet in the order name, cost, a third column and units. Then tell the calculator whether the third column is the price, the markup in % or the margin in %. A sample row looks like this: Desk lamp 18.40 39.95 12.

    • Choose Add to the list to append rows or Replace the list to start over.
    • Apply One rule for all products to set a margin or markup for every item, calculated from the cost or from the store price. Use Set for all to apply it, and a price ending if you want one.
    • Sort by name A to Z, lowest or highest margin, highest profit, highest price or lowest cost.

    For the sample rows, the desk lamp (cost 18.40, price 39.95) has a profit of 21.55, a markup of about 117.1% and a margin of about 53.9%. The wall clock (cost 9.10, price 24.50) has a profit of 15.40, a markup of about 169.2% and a margin of about 62.9%.

    Who Should Use a Markup Calculator?

    Anyone who buys something and resells it, or who adds a fixed percentage to a cost, benefits from checking the numbers first.

    • Online sellers: work out a price that still pays you after marketplace fees, shipping and sales tax.
    • Retail and wholesale buyers: turn a supplier invoice into shelf prices for an entire catalog.
    • Freelancers and agencies: add a markup to subcontractor costs, then confirm the margin you actually keep.
    • Marketers: pair price data with campaign costs. After you know your unit profit, the ad metrics calculator can show whether your cost per sale leaves room for profit.
    • Students and bookkeepers: check homework or spreadsheet formulas against a clear step-by-step result.

    Best Practices and Common Mistakes

    Most pricing errors come from the wrong base, a missing cost, or rounding too early. These habits prevent them.

    • Decide which number you are quoting. Write "40% margin" or "40% markup" every time. They produce different prices.
    • Use full cost. Include shipping in, packaging, payment fees and ad spend, or use the Fees and tax tab so they are subtracted for you.
    • Enter percentages as plain numbers. Type 25 for 25%, not 0.25.
    • Type exactly two values. If you fill in more, the newest entries are treated as your inputs and the rest are recalculated, so clear a field if a result surprises you.
    • Check tax mode. A price that is tax included gives a smaller revenue than the same number without tax, so choose the right option.
    • Compare margins across products. The average calculator can find your mean margin across a list, and the bar graph maker can chart which products earn the most.

    If a result looks wrong

    First check the currency, because zero-decimal currencies such as yen round to whole units. Then confirm that you did not swap cost and price. A negative margin or markup means the price is below cost, which is a real loss, not an error.

    Accuracy Notes and Limitations

    The calculator uses exact arithmetic and rounds only the amounts someone would pay, such as prices, taxes and fees, to the smallest coin. When a price is rounded, the real markup shown can differ slightly from the one you asked for. That is expected.

    Fee presets are a starting point. Marketplace fee schedules change, so type the fees from your own contract or fee page when accuracy matters. The tool also does not know your overheads, rent or salaries, so a healthy margin here does not guarantee a net profit for the business.

    Use the calculator above to enter your cost and price, compare markup with margin, and set a price you can defend. For more everyday math helpers, browse the full online calculators and utilities collection.

    Frequently Asked Questions

    How do you calculate markup?
    Markup is profit divided by cost, times 100. Subtract cost from price to get profit first. With a $50 cost and an $80 price, profit is $30, so markup is $30 ÷ $50 × 100 = 60%. The markup calculator does this when you type any two values.
    What is the difference between markup and margin?
    Markup is profit as a percentage of cost, while margin is profit as a percentage of price. On a $50 cost and $80 price, markup is 60% and margin is 37.5%. Margin is always lower than markup, and it can never reach 100%.
    How do I convert markup to margin?
    Divide the markup by 100 plus the markup, then multiply by 100. A 25% markup becomes 25 ÷ 125 × 100 = 20% margin. The page also has a conversion table, so you can look up common values without typing.
    Can I calculate the selling price from a target margin?
    Yes. Enter your cost and the margin you want, and the calculator returns the price. A $50 cost with a 40% margin gives $83.33, because $50 ÷ (1 - 0.40) = $83.33. Profit is $33.33 and the markup is 66.67%.
    Does the markup calculator include fees and sales tax?
    Yes. The Fees and tax tab finds the price you need after marketplace fees, shipping, ads and VAT or sales tax. Choose a goal margin, markup or profit, enter the fees and tax rate, then say whether the price includes tax.
    Why is my markup percentage higher than my margin?
    Markup uses cost as its base, and cost is smaller than price, so the same profit gives a bigger percentage. A 100% markup means doubling the cost, which is only a 50% margin. Check that you are quoting the right figure.
    Recommended

    Explore VPN options

    A VPN changes your network exit. It does not guarantee anonymity.

    Hide Your IP Encryption Network coverage
    Protect My IP Now