---
title: "Margin vs Markup Calculator (Free) | TurboDocx"
description: "Free margin vs markup calculator. Enter a cost plus a price, target margin or markup to get margin %, markup %, profit and both formulas. Runs in your browser."
url: "https://www.turbodocx.com/tools/margin-vs-markup-calculator"
---

# How Do You Calculate Margin and Markup? Free Margin vs Markup Calculator

> Margin is profit as a share of the selling price; markup is profit as a share of the cost. A $75 cost sold at $100 earns $25 of profit: a 25% margin and a 33.33% markup. Enter a cost plus a price, a target margin or a markup, and the calculator shows all four numbers.

Free, no sign-up, runs in your browser. Nothing you type is sent or stored.

## What the calculator does

Choose what you already know, then enter two numbers:

| Mode | Inputs | Outputs |
| --- | --- | --- |
| Cost + price | Cost ($), selling price ($) | Profit, margin %, markup % |
| Cost + target margin | Cost ($), target margin (%) | Selling price, profit, margin %, markup % |
| Cost + markup | Cost ($), markup (%) | Selling price, profit, margin %, markup % |

Formulas shown with every result:

- Margin % = (Price - Cost) / Price x 100
- Markup % = (Price - Cost) / Cost x 100

Limits: the cost must be above zero (markup is a percentage of cost), the selling price must be above zero, and a target margin must be at least 0% and below 100%. A price below cost shows a negative profit and margin. The page loads with an example: a $75 cost and a $100 price.

## How do you use the margin vs markup calculator?

Pick what you already know. With a cost and a selling price, the calculator works out the profit, the margin and the markup. With a cost and a target margin, it works out the price that earns that margin. With a cost and a markup, it works out the price and tells you the margin that markup really gives you.

The example loaded on the page is a product that costs $75 and sells for $100. It earns $25 of profit, which is a 25% margin and a 33.33% markup. The cost has to be above zero, because markup is a percentage of cost.

## What is the difference between margin and markup?

Both start from the same profit: price minus cost. Margin divides that profit by the price, so it tells you how much of each dollar the client pays you keep. Markup divides it by the cost, so it tells you how much you added on top of what you paid.

Because the price is always larger than the profit, margin is always the smaller number. A 20% margin is a 25% markup, a 25% margin is a 33.33% markup, a 40% margin is a 66.67% markup and a 50% margin is a 100% markup. Mixing them up is an easy pricing slip to make on a quote: adding a 30% markup when you meant a 30% margin leaves you at a 23.08% margin.

## How do you keep margin visible on every quote?

A calculator answers the question for one line. On a real quote with a dozen lines, the cost has to sit next to the price on every product, or margin is guessed after the deal is signed. [TurboQuote](https://www.turbodocx.com/products/turboquote.md) stores an optional cost on each product next to its list price for margin tracking, so a cost change is made once and every new quote uses it.

Pricing recurring services? The [MSP pricing calculator](https://www.turbodocx.com/tools/msp-pricing-calculator.md) applies a target margin to a per-user and a per-device cost, and the guide on [how to price managed services](https://www.turbodocx.com/resources/how-to-price-managed-services.md) walks through the pricing models.

## Export as a draft quote in TurboQuote

Create a free TurboDocx account, add your products with their cost and price, and TurboQuote builds the quote and its PDF. The calculator does not send anything, so enter your numbers once in TurboQuote.

## Frequently asked questions

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

Margin is profit divided by the selling price. Markup is profit divided by the cost. They describe the same deal from two directions: buying at $75 and selling at $100 is a 25% margin and a 33.33% markup. Margin can never reach 100%, while markup has no ceiling.

### How do I convert margin to markup?

Markup = Margin / (1 - Margin). A 20% margin is a 25% markup, a 25% margin is a 33.33% markup, and a 50% margin is a 100% markup. To go the other way, Margin = Markup / (1 + Markup), so a 25% markup is a 20% margin.

### How do I work out a selling price from a target margin?

Divide the cost by one minus the margin. A product that costs $80, priced for a 20% margin, sells for $80 / 0.80 = $100. Multiplying the cost by 1.20 instead gives $96, which is a 20% markup but only a 16.67% margin.

### Why can a margin not be 100%?

Margin is profit divided by price, so a 100% margin would mean the item cost nothing. Any real cost keeps the margin below 100%, which is why the calculator stops there. Markup is measured against cost, so it can go past 100%: a 150% markup is a 60% margin.

### Should I quote with margin or markup?

Either works, as long as everyone who quotes uses the same one. Markup starts from cost, so it is quick to apply to a price list. Margin compares profit to revenue, so it lines up with your income statement. Saying "30%" without saying which one is how quotes drift.

### Does the calculator save or send my numbers?

No. The math runs in your browser and nothing you type is sent to TurboDocx or stored. To keep cost and price together on real quotes, add your products to TurboQuote, which stores an optional cost next to each list price for margin tracking.

## Related

- [MSP Pricing Calculator](https://www.turbodocx.com/tools/msp-pricing-calculator.md): compare per-user and per-device monthly prices and MRR at a target margin
- [How to Price Managed Services](https://www.turbodocx.com/resources/how-to-price-managed-services.md): per-user, per-device, tiered and all-you-can-eat models with a worked example
- [What Is CPQ Software?](https://www.turbodocx.com/resources/what-is-cpq-software.md): what configure, price, quote software does and what it costs

[Export as a draft quote: create a free TurboDocx account](https://app.turbodocx.com/signup)
