Markup Calculator
Calculate selling price from cost and markup percentage, find markup percentage from cost and price, or solve for cost from a target price and margin.
Price = Cost × (1 + Markup% ÷ 100)Adjust Variables
Interactive Step-by-Step Calculation Proofs
View how variables resolve algebraically down to peer-reviewed standard outputs.
Why Use This Calculator
Markup and margin are the two most commonly confused numbers in retail and wholesale pricing, and mixing them up directly erodes profit. Markup is the percentage added to your cost to set the selling price: Markup % = (Price − Cost) ÷ Cost × 100. Margin is the percentage of the selling price that is profit: Margin % = (Price − Cost) ÷ Price × 100. Because margin divides by the larger number (price) and markup divides by the smaller number (cost), a given markup percentage always produces a lower margin percentage — a 100% markup is only a 50% margin, not 100%. Our markup calculator solves in three directions: set your selling price from cost and a target markup, find your markup and margin percentage from an existing cost and price, or work backward from a target price and desired margin to find the maximum cost you can pay.
Mathematical Formula Explanation
Calculated standard benchmarks are based on direct functional dependencies. The primary calculation logic follows this formula:
Markup % = (Price − Cost) ÷ Cost × 100Markup and margin both start from the same gap between price and cost, but divide it by a different base. Set Price from Cost & Markup multiplies cost by (1 + markup%) to find the selling price. Find Markup % from Cost & Price divides that gap by cost — the markup convention. Find Cost from Price & Margin divides the gap by price instead — the margin convention — then rearranges to solve for cost. Confusing the two is the single most common retail pricing mistake: a 50% markup and a 50% margin produce very different prices.
Worked Examples (Step-by-Step)
These examples show solving for selling price from cost and markup, markup and margin from cost and price, and cost from a target price and margin.
Example 1: Pricing a Product from Cost and Markup
“A retailer buys a product for $50 and wants to apply a 50% markup. What should the selling price be, and what margin does that produce?”
- COST: 50
- MARKUP: 50
- PRICE: 75
- PROFIT: 25
- MARGIN: 33.33
Example 2: Finding Markup and Margin from Cost and Price
“A product costs $50 to source and sells for $75. What is the markup percentage and margin percentage?”
- COST: 50
- PRICE: 75
- MARKUPPCT: 50
- MARGINPCT: 33.33
- PROFIT: 25
Example 3: Finding Maximum Cost from Price and Target Margin
“A store wants to sell an item for $75 and needs a 33.33% margin. What is the most they can pay for it?”
- PRICE: 75
- MARGIN: 33.33
- COST: 50
- PROFIT: 25
- MARKUPPCT: 50