# Markup ↔ Margin Calculator

- **URL:** https://codeasystem.com/calculators/business/markup-margin-calculator/
- **Category:** business
- **Description:** Convert between markup on cost and gross margin on price in either direction, with the implied selling price or unit cost shown alongside.
- **Primary output:** Gross margin from 50% markup: 33.33%

## Inputs
- Conversion direction (name: `mode`, type: select)
- Known percentage (name: `rate`, type: number, example: 50)
- Unit cost or selling price (name: `amount`, type: number, prefix: $, example: 100)

## Outputs
- Gross margin from 50% markup: 33.33%
- Unit cost entered: $100.00
- Selling price: $150.00
- Gross profit per unit: $50.00

## Formula / methodology
```
Margin = Markup / (1 + Markup)     Markup = Margin / (1 − Margin)
```

Markup divides profit by cost; margin divides the same profit by selling price. Because cost plus markup equals price, the two are linked by the algebra above; never by subtracting or adding a fixed amount. The conversion works identically in reverse, which is why one input field serves both directions.

## Assumptions & limitations
- Percentages refer to a single product’s unit economics.
- The optional amount anchors the conversion to real prices for context.
- Margins of 100% or more cannot exist; selling at zero margin-free price is impossible.

## How to use
1. **Pick the direction**; Choose which percentage you already know: markup on cost, or margin on price.
2. **Enter the known percentage**; Use the figure from your quote, spreadsheet or supplier sheet.
3. **Optionally anchor an amount**; Add a unit cost or selling price to see the actual dollars behind the conversion.

## Example
A 50% markup on a $100 unit cost means selling at $150; which is only a 33.33% gross margin on that price.

Result for these inputs:

```
Gross margin from 50% markup: 33.33%
```

## About this calculator
### Where the confusion costs money

Suppose you want to earn a 40% margin and your cost is $60. Guessing “add 40%” yields $84; a real margin of just 28.6%. The correct answer is $100, because a 40% margin requires a 66.7% markup. Teams that standardize on margins internally but buy based on markups (or vice versa) leak margin on every misread contract.

### Quick mental anchors

- 25% markup ≈ 20% margin.
- 50% markup = 33.3% margin.
- 100% markup = 50% margin; the famous “keystone” retail rule.

Notice margin is always smaller than markup for the same transaction; if your two numbers disagree about which is bigger, they were measured on different bases.

## FAQs
### Which should my business use?

Finance teams prefer margin because it maps to income statements; buyers and merchandisers traditionally use markup. Know both, and always ask which basis a quoted percentage uses.

### Can margin exceed 100%?

Never; a 100% margin would mean acquiring goods for free. If a calculation suggests otherwise, the percentage was actually a markup.

### Does this work for services?

Yes. Treat contractor or delivery cost as “cost” and your client fee as the selling price; the algebra is identical.

## Related calculators
- [Profit Margin Calculator](https://codeasystem.com/calculators/business/profit-margin-calculator/)
- [Break-Even Calculator](https://codeasystem.com/calculators/business/break-even-calculator/)
- [Sales Tax Calculator](https://codeasystem.com/calculators/finance/sales-tax-calculator/)
- [Discount Calculator](https://codeasystem.com/calculators/finance/discount-calculator/)

---
Last updated: 2026-08-23 · Version: 1.0.0 · [HTML version](https://codeasystem.com/calculators/business/markup-margin-calculator/)
