# Markup Calculator

> Free markup calculator: selling price from cost and markup, or markup from cost and price, with the matching margin and a markup-to-margin table.

- URL: https://www.calcutils.dev/tools/markup-calculator/
- Published: 2026-11-26
- Updated: 2026-11-27

---

Selling price from cost and markup, and the margin that markup gives you. Your numbers are worked out in this tab and aren’t sent to our servers. Free on calcutils.dev, no account needed.

## How to use Markup Calculator

1. Choose "Cost and markup" to get a selling price, or "Cost and price" to find the markup you’re using.
2. Enter the unit cost and either the markup percentage or the selling price.
3. Read the selling price or markup, the profit per sale and the gross margin it works out to.
4. Use the two tables underneath to convert common markups to margins and margins back to markups.
5. Check the working, then copy the link to share the price.

## Formula

```
markup = (price − cost) ÷ cost
price = cost × (1 + markup)
margin = markup ÷ (1 + markup)
```

## Features

- Price from markup (cost × (1 + markup)) and markup from price ((price − cost) ÷ cost).
- Shows the gross margin next to every markup, because the two are easy to mix up.
- Conversion tables from 10% to 200% markup and from 10% to 60% margin.
- Handles markups above 100%, common for low-cost items and in restaurants.
- The formula and your numbers are written out step by step.

## About Markup Calculator

Markup is profit as a share of **cost**: **markup = (price − cost) ÷ cost**. An item that costs 40 and sells for 60 has a 50% markup. Retailers and trades often price this way because it’s easy: take the cost, add a fixed percentage. "Keystone" pricing in retail is a 100% markup, which doubles the cost.

The catch is that markup and margin aren’t the same number. Margin divides the same profit by the price, so a 50% markup is only a 33.3% margin, and a 100% markup is a 50% margin. To convert: margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin). If your accountant or a benchmark talks about margin, convert before you compare, or use the profit margin calculator directly.

Markup on unit cost doesn’t cover overheads by itself; the markup has to be big enough to pay rent, wages and marketing out of the profit. Enter costs and prices without sales tax or VAT.

## Specs

- Runs: in the browser tab
- Built on: Plain JavaScript arithmetic in the page; money is rounded to the cent only where the steps say so
- Cost: free, no account needed
- Conversion tables: Markup 10–200% → margin; margin 10–60% → markup
- Category: [Business](https://www.calcutils.dev/categories/business/)

## Questions

### How do I calculate markup?

Subtract the cost from the price and divide by the cost. Cost 40, price 60: (60 − 40) ÷ 40 = 50% markup.

### How do I add a markup to a cost?

Multiply the cost by 1 plus the markup. A 35% markup on 80 is 80 × 1.35 = 108.

### What is the difference between markup and margin?

Markup is profit divided by cost; margin is profit divided by price. Cost 40 and price 60 is a 50% markup and a 33.3% margin. The two tables on this page convert between them.

### What margin does a 100% markup give?

50%. Doubling the cost means half the price is profit. A 25% markup is a 20% margin, and a 200% markup is a 66.7% margin.

### Can a markup be more than 100%?

Yes. Any price more than double the cost is a markup above 100%. Margin, on the other hand, is always below 100% as long as the cost is above zero.
