Calculator Tools
Markup Calculator
Calculate markup, margin, selling price, cost, and profit in your browser. Convert between markup and margin with currency-aware totals.
Calculator mode
Set a cost and a markup percent to find the selling price, gross profit, and the resulting margin percent.
Your unit cost: what you pay for the item, also called COGS for resellers.
Markup is the amount above cost. Selling price = cost x (1 + markup).
Multiplies revenue, cost, and profit into a totals row. Leave at 1 for per-unit math.
Display formatting only. No FX conversion is applied.
Markup vs margin
For the same cost and selling price, markup and margin are two different percentages. Markup compares profit to cost. Margin compares profit to price. Margin is always smaller than markup whenever both are positive.
Markup on cost
50%
markup = (price - cost) / cost x 100
Gross margin on price
33.33%
margin = (price - cost) / price x 100
Quick reference: 25% markup is a 20% margin. 50% markup is a 33.33% margin. 100% markup is a 50% margin (keystone pricing). 200% markup is a 66.67% margin.
How to use
- Pick a mode that matches the question you have: Cost + markup -> price, Cost + price -> markup & margin, Cost + margin -> price, or Price + margin -> cost.
- Enter the inputs the mode needs (cost, selling price, markup percent, or margin percent). Use the quick-percent chips to drop in 10, 20, 25, 30, 50, or 100% in one click.
- Optionally set a quantity to see total revenue, total cost, and total gross profit for that batch size.
- Optionally toggle Add sales tax to see a tax-on-top retail price. Markup and margin stay computed pre-tax.
- Pick a currency for display formatting (no FX conversion is applied).
- Read the headline answer (selling price, markup percent, or maximum cost depending on the mode), the per-row breakdown of cost, price, profit, markup, and margin, and the Markup vs Margin panel that always shows both percents for the current scenario.
- Use any Copy button to grab a single value, or Copy summary to share the full breakdown.
About this tool
Markup Calculator turns the four most common retail-pricing questions into one tool. Pick a mode and the calculator does the algebra in your browser: cost plus a markup percent gives the selling price (and the resulting margin); cost and a chosen selling price give both the markup and margin percents and the gross profit per unit; cost and a target margin percent give the price you need to charge to hit that margin; and a selling price plus a target margin percent give the maximum cost you can pay to hit that margin (useful when sizing a wholesale order against a fixed retail price). Markup is computed as (price minus cost) divided by cost, expressed as a percent of cost. Margin is computed as (price minus cost) divided by price, expressed as a percent of price. They are not the same number, which is why the page also shows a permanent Markup vs Margin panel that converts between the two for the same scenario, with the formulas printed underneath: 25% markup is a 20% margin, 50% markup is a 33.33% margin, 100% markup (keystone pricing) is a 50% margin, and 200% markup is a 66.67% margin. Optional quantity multiplies the per-unit numbers into total revenue, total cost, and total gross profit so you can size a small batch or a full order in the same calculation. Optional sales tax adds a tax-on-top retail price for display, while keeping markup and margin computed pre-tax the way retailers actually price items. A currency selector formats every money value through Intl.NumberFormat in eight common currencies (USD, EUR, GBP, CAD, AUD, JPY, INR, TRY) without any FX conversion. Useful for ecommerce sellers pricing new SKUs, freelancers and agencies setting cost-plus rates, retailers and resellers checking margin against a wholesale invoice, restaurants pricing menu items off food cost, dropshippers and Etsy/Shopify sellers running a quick price test, finance students and bookkeepers practicing the markup-to-margin conversion, and anyone trying to settle the markup-vs-margin question once. Everything runs locally on your device, so the cost numbers and price tests you type stay in your browser.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
Discount Calculator
Sale price from stacked percent and amount off discounts, with optional tax and reverse mode.
Open tool
CalculatorSales Tax Calculator
Add tax to a price or back-out the pre-tax price from a tax-included total.
Open tool
CalculatorPercentage Calculator
Four percentage calculators: percent of, what percent, change, and discount.
Open tool
CalculatorTip Calculator
Tip, total, and per-person split with tax, rounding, and even or share-based split.
Open tool