Markup Calculator
Calculate selling prices, markup percentages, and costs with our comprehensive markup calculator. Whether you're setting product prices, checking your markup, or determining costs, this tool helps you make informed pricing decisions. Perfect for retailers, wholesalers, and business owners who need accurate markup calculations for pricing strategies.
Calculate Markup Values
How to Use This Calculator
- Select Calculation Type: Choose whether you want to calculate selling price, markup percentage, or cost based on the information you have available.
- Enter Known Values: Input the values you know in the fields that appear. Enter cost and markup percentage to find selling price, or cost and selling price to find markup percentage.
- Calculate Results: Click the 'Calculate' button to compute all markup values including profit amount.
- Analyze Results: Review the calculated selling price, markup percentage, cost and profit amount to make informed pricing decisions.
Understanding Markup in Business
Markup is a fundamental pricing concept that represents the amount added to the cost of a product to determine its selling price. Unlike margin, which is calculated based on selling price, markup is calculated based on cost. This makes markup particularly useful for businesses that want to ensure they cover costs and achieve a specific profit level. Understanding the relationship between cost, markup, and selling price is essential for effective pricing strategies and maintaining healthy profit margins in any business.
Markup vs. Margin: Key Differences
While markup and margin are both profitability measures, they serve different purposes in business analysis. Markup shows how much you're adding to your cost (cost-based), while margin shows what percentage of your selling price is profit (revenue-based). For example, a 50% markup on a $100 cost results in a $150 selling price, but the margin on that sale is 33.33%. Understanding both concepts helps you communicate effectively with suppliers (who think in markup) and analyze profitability (which often uses margin).
Method & sources
This calculator is educational, not advice. It does the arithmetic of markup on cost from the numbers you enter; it does not tell you what price to charge, and it is not accounting, tax or business advice.
- Formula
The tool has three modes, chosen from the 'What do you want to calculate?' menu. Each mode takes two known values and solves for the third, then shows all four results (cost, selling price, markup percentage, profit amount).
Selling Price mode: Selling price = Cost x (1 + Markup %/100).
Markup Percentage mode: Markup % = ((Selling price - Cost) / Cost) x 100.
Cost mode: Cost = Selling price / (1 + Markup %/100).
In every mode, Profit amount = Selling price - Cost. This is the markup amount in dollars, not a profit margin.
Markup is measured on cost, not on selling price. The tool does not calculate or display a profit margin (profit divided by selling price) in any mode.
- Rounding
- Nothing is rounded during the calculation: cost, selling price, markup and profit are worked out at full floating-point precision. Each result is then rounded for display only, independently of the others: dollar amounts to the nearest cent (US dollar format) and the markup percentage to two decimal places. Because each figure is rounded on its own, the displayed profit is the rounded value of the exact difference, not the difference of the two displayed prices.
- Inputs used
- Calculation type: Selling Price, Markup Percentage or Cost (required; the fields shown depend on the choice)
- Cost in dollars (Selling Price and Markup Percentage modes). Selling Price mode accepts 0 or more; Markup Percentage mode requires more than 0, because cost is the divisor
- Selling price in dollars (Markup Percentage and Cost modes). Cost mode requires more than 0; Markup Percentage mode requires it to be at least the cost
- Markup percentage (Selling Price and Cost modes), 0 or more. There is no upper limit
- What this does not account for
- Profit margin: the tool never converts markup into margin on selling price, so a 30% markup is not shown as its lower margin equivalent
- Negative markup or selling below cost: Markup Percentage mode rejects a selling price below cost with an error rather than returning a negative markup, and the markup fields reject negative values
- Overheads, operating expenses, shipping or any cost you do not type into the Cost field: the tool uses the single cost figure you enter
- Sales tax, VAT or any other tax on the selling price
- Discounts, returns, shrinkage, payment-processing fees or volume pricing
- Currency: amounts are always shown in US dollar format, whatever currency you are working in
- Jurisdiction
- Not jurisdiction-specific. Markup on cost is a general arithmetic convention used in pricing everywhere; results are displayed in US dollar format but the maths is the same in any currency.
- Source
- Penn State Extension, "What's the Difference Between Markup and Profit?" (Brian F. Moyer)
- Effective date
- Not date-sensitive: markup on cost is a fixed arithmetic definition, not a rate or threshold that changes on a schedule.
- Version
- 1.0
- Last substantive review
- 2026-09-23
- Limitations
- Penn State Extension's article confirms the definitions this tool implements (markup percentage = profit / unit cost, sales price = cost x markup % + cost, and that margin is profit divided by sales price instead). The Cost-mode formula is the same equation rearranged to solve for cost; it is algebra from that definition, verified against this tool's source code, not quoted from the source.
- The tool gives no guidance on what markup to charge. The right markup depends on your costs, competition and market, which the tool cannot see.
- Markup Percentage mode needs a cost above zero, because markup is a percentage of cost. A cost of zero is accepted in Selling Price mode, where it returns a selling price and profit of $0.00 whatever markup is entered.
- The profit amount is profit over the cost you entered, not net profit after other business expenses.
Reference cases
Five worked examples you can check by hand against the formula above.
Reference case 1: Selling Price mode: $100 cost with a 50% markup
- Calculation type: Selling Price
- Cost: $100
- Markup percentage: 50%
Result: Cost $100.00. Selling Price $150.00. Markup Percentage 50.00%. Profit Amount $50.00.
Reference case 2: Markup Percentage mode: $5.00 cost sold at $6.50 (the worked example in the Penn State Extension source)
- Calculation type: Markup Percentage
- Cost: $5.00
- Selling price: $6.50
Result: Cost $5.00. Selling Price $6.50. Markup Percentage 30.00%. Profit Amount $1.50.
Reference case 3: Cost mode: $100 selling price with a 30% markup (a result that does not divide evenly, showing the cent rounding)
- Calculation type: Cost
- Selling price: $100
- Markup percentage: 30%
Result: Cost $76.92. Selling Price $100.00. Markup Percentage 30.00%. Profit Amount $23.08.
Reference case 4: Zero-cost edge case in Selling Price mode: $0 cost with a 250% markup
- Calculation type: Selling Price
- Cost: $0
- Markup percentage: 250%
Result: Cost $0.00. Selling Price $0.00. Markup Percentage 250.00%. Profit Amount $0.00.
Reference case 5: Below-cost edge case in Markup Percentage mode: $80 cost with a $60 selling price
- Calculation type: Markup Percentage
- Cost: $80
- Selling price: $60
Result: No result. The tool shows the error: "Selling price cannot be less than cost for markup calculation."
Change log
| Date | Change |
|---|---|
| 2026-09-23 | Card published (T-801). Formula, validation and rounding read from math/percentages/markup-calculator/js/markup-calculator.js. All five reference-case results verified two ways: an independent Python re-implementation of the three modes and their validation, and the live page driven in a headless browser, which displayed the same results. Source definitions checked against the Penn State Extension article on 2026-09-23. |
Frequently Asked Questions (FAQ)
FAQ Index
- What is markup and how is it calculated?
- What's the difference between markup and margin?
- How do I calculate selling price from cost and markup percentage?
- How do I find the cost if I know selling price and markup?
- What markup percentage should I use for my business?
- Can markup percentage be over 100%?
- How do I calculate profit amount from markup?
- What's the relationship between markup and break-even pricing?
- How do I account for taxes in markup calculations?
- Should markup be based on wholesale cost or total cost?
Markup is the amount added to the cost of a product to determine its selling price. It's calculated as: Markup = Selling Price - Cost, and Markup Percentage = (Markup / Cost) × 100.
Markup is based on cost (how much you add to cost), while margin is based on selling price (what percentage of selling price is profit). Markup = (Selling Price - Cost) / Cost, Margin = (Selling Price - Cost) / Selling Price.
To find selling price from cost and markup percentage: Selling Price = Cost × (1 + Markup Percentage/100). For example, with $100 cost and 50% markup: $100 × (1 + 50/100) = $150.
To calculate cost from selling price and markup percentage: Cost = Selling Price / (1 + Markup Percentage/100). For example, with $150 selling price and 50% markup: $150 / (1 + 50/100) = $100.
There is no single right markup: it depends on your full costs, your competition, market demand, and the profit you need. Work out your total cost first, then remember that markup is not margin. The same percentage applied as markup gives a smaller profit margin on the selling price, so check both before you set a price.
Yes, markup percentage can exceed 100%. A 100% markup means selling price is double the cost, while 200% markup means selling price is triple the cost.
Profit amount equals markup amount: Profit = Selling Price - Cost. You can also calculate it as: Profit = Cost × (Markup Percentage/100). The profit amount is the actual dollar value you earn above your costs.
Break-even occurs when selling price equals total costs. Markup provides profit above break-even. Your markup must cover not just product costs but also overhead, operating expenses, and desired profit margin.
Consider whether your selling price includes or excludes taxes. If including sales tax, your markup calculation should account for tax as part of the final price structure. Plan markup to achieve desired profit after all tax obligations.
Use total cost including wholesale price, shipping, handling, storage, and any other direct costs. This ensures your markup covers all expenses and provides true profit. Include all costs that directly relate to getting the product ready for sale.
