# Markup Calculator

URL: https://hifreetools.com/finance/markup-calculator

> Turn cost into a selling price, or work out the markup and margin behind a price you already charge. Enter a unit cost plus either the selling price or your target markup percentage, and this calculator returns the profit per unit, the markup percent (profit over cost) and the margin percent (profit over price) instantly in your browser.

## Quick answer

Markup is profit measured against cost; margin is the same profit measured against the selling price. With cost C and price P, profit = P − C, markup% = (P − C) ÷ C × 100, and margin% = (P − C) ÷ P × 100. To set a price from a target markup, use P = C × (1 + markup% ÷ 100). For example, a $80 item sold for $100 earns $20 profit, a 25% markup, and a 20% margin — the same dollars give different percentages because the base differs.

Enter the unit cost, then either the selling price or the markup percentage. If you provide a price, the calculator finds profit as price minus cost, markup as profit divided by cost, and margin as profit divided by price, each multiplied by 100 to get a percentage. If you provide a markup percentage instead, it first builds the selling price as cost times (1 + markup ÷ 100), then computes profit and the resulting margin from that price. Markup and margin always describe the same dollar profit but use different denominators — markup divides by cost, margin divides by price — so markup is always the larger number. All math runs locally in your browser; nothing is sent to a server.

## Examples

- Price known: cost $80, price $100: Cost = $80, Selling price = $100 → Profit $20.00, markup 25.00%, margin 20.00%
- Markup known: cost $50, markup 40%: Cost = $50, Markup = 40% → Selling price $70.00, profit $20.00, margin 28.57%
- Price known: cost $120, price $200: Cost = $120, Selling price = $200 → Profit $80.00, markup 66.67%, margin 40.00%
- Keystone pricing: cost $25, markup 100%: Cost = $25, Markup = 100% → Selling price $50.00, profit $25.00, margin 50.00%

## FAQ

**What is the difference between markup and margin?**
Both describe the same dollar profit, but against different bases. Markup is profit divided by cost; margin is profit divided by the selling price. Because cost is smaller than price, markup is always the larger percentage. A $20 profit on an $80 cost item sold for $100 is a 25% markup but a 20% margin.

**How do I calculate selling price from cost and markup?**
Multiply the cost by one plus the markup as a decimal: price = cost × (1 + markup% ÷ 100). For a $50 cost with a 40% markup, the price is 50 × 1.40 = $70.

**How do I convert a markup percentage to a margin percentage?**
Use margin% = markup% ÷ (100 + markup%) × 100. A 50% markup becomes 50 ÷ 150 × 100 = 33.3% margin. To go the other way, markup% = margin% ÷ (100 − margin%) × 100.

**What markup do I need for a specific margin?**
Use markup% = margin% ÷ (100 − margin%) × 100. For a 40% margin you need 40 ÷ 60 × 100 = 66.7% markup. For a 50% margin you need a 100% markup (keystone pricing).

**Does this markup include taxes, shipping and fees?**
No. This is a gross markup over the product cost you enter. Selling fees, shipping, payment processing, returns, overhead and income tax are not included, so your net profit per unit will be lower than the markup or margin shown.

**Can the markup percentage be more than 100%?**
Yes. Markup has no upper limit — a price that is three times the cost is a 200% markup (66.7% margin). Margin, by contrast, can never reach 100% because the selling price always includes some cost.


## Sources

- [Investopedia — Margin vs. Markup](https://www.investopedia.com/ask/answers/102714/whats-difference-between-profit-margin-and-markup.asp)
- [Corporate Finance Institute — Markup](https://corporatefinanceinstitute.com/resources/accounting/markup/)
- [Wikipedia — Markup (business)](https://en.wikipedia.org/wiki/Markup_(business))

Runs in the browser; nothing is uploaded. Cite as: HIFreeTools, "Markup Calculator", https://hifreetools.com/finance/markup-calculator
