Skip to main content

Orders In Seconds

Subscribe to OIS Pro & Get OIS eCommerce FREE for 90 Days - Expires 7/22

Boost field sales with OIS Pro and stop missing after-hours orders with a second 24/7 digital storefront—included for $0 for 90 days. Turn one subscription into two sales channels.
How to Calculate Margin vs Markup for Right Pricing Strategy

Margin vs. Markup: Differences, Formulas and Calculator

Picture of By <span style="font-weight:bold;color:#F63C47; font-style: italic;">Oscar Guerrero</span>

By Oscar Guerrero

Published November 3, 2025

Updated on 08/12/2026

Margin vs. markup in one sentence: Margin divides gross profit by selling price, while markup divides the same gross profit by cost. If a product costs $60 and sells for $100, its margin is 40% and its markup is 66.67%.

Margin and markup both measure the relationship between a product’s cost, selling price and gross profit, but they calculate that relationship from different starting points. Margin expresses gross profit as a percentage of the selling price, while markup expresses gross profit as a percentage of cost.

Confusing the two can cause a distributor to set prices below its target profitability. This guide explains the formulas, provides step-by-step examples and shows how to convert between margin and markup accurately.

What Is the Difference Between Margin and Markup?

Understanding Margin and Markup | Key Concepts

Margin and markup use the same three values: cost, selling price and gross profit. The difference is the value used as the denominator.

Margin shows how much of each sales dollar remains after subtracting the product’s cost. Markup shows how much the selling price has been increased over that cost. Because markup uses the smaller cost amount as its base, the markup percentage will be higher than the corresponding margin whenever gross profit is positive.

Margin vs. Markup at a Glance
Metric Margin Markup
What it measures Gross profit as a percentage of selling price Gross profit as a percentage of cost
Percentage base Selling price or revenue Product cost
Primary use Measuring product profitability Setting a selling price from cost
Formula (Selling price − cost) ÷ selling price × 100 (Selling price − cost) ÷ cost × 100
$60 cost and $100 price 40% 66.67%

Margin and Markup Formulas

Before calculating either percentage, determine the product’s gross profit. For a single item, gross profit is the selling price minus the direct cost of the item.

For an accurate result, the cost should include the expenses your company classifies as cost of goods sold. Depending on the business, that may include the purchase price, manufacturing costs, inbound freight or other directly attributable costs.

Gross Profit Formula

Gross profit is the dollar amount remaining after subtracting cost from selling price. It is not the same as gross margin percentage.

Fórmula:
Gross Profit = Selling Price − Cost

Ejemplo:
Gross Profit = $100 − $60 = $40

Margin Formula

Margin divides gross profit by selling price. It answers: “What percentage of the sale remains after covering the product cost?”

Fórmula:
Margin (%) = (Selling Price − Cost) ÷ Selling Price × 100

También puede expresarse como:
Margin (%) = Gross Profit ÷ Selling Price × 100

Markup Formula

Markup divides gross profit by cost. It answers: “By what percentage did we increase the cost to establish the selling price?”

Fórmula:
Markup (%) = (Selling Price − Cost) ÷ Cost × 100

También puede expresarse como:
Markup (%) = Gross Profit ÷ Cost × 100

Margin and Markup Formula Reference
Calculation Formula Result
Gross profit Selling price − cost Profit expressed in dollars
Margin percentage (Selling price − cost) ÷ selling price × 100 Profit as a percentage of sales
Markup percentage (Selling price − cost) ÷ cost × 100 Profit as a percentage of cost
Price from target margin Cost ÷ (1 − margin decimal) Required selling price
Price from markup Cost × (1 + markup decimal) Selling price after markup

How to Calculate Margin

To calculate margin, subtract cost from selling price to obtain gross profit. Then divide gross profit by selling price and multiply the result by 100.

Suppose a wholesale product costs $60 and sells for $100.

Margin Calculation Example

Gross profit = $100 − $60 = $40

Margin = $40 ÷ $100 × 100

Margin = 40%

The business retains $0.40 in gross profit from every dollar of revenue before accounting for operating expenses, interest, taxes and other costs outside the product’s cost.

How to Calculate Markup

To calculate markup, subtract cost from selling price and divide the resulting gross profit by cost. Multiply the result by 100.

Using the same $60 cost and $100 selling price produces a different percentage because markup uses cost as its base.

Markup Calculation Example

Gross profit = $100 − $60 = $40

Markup = $40 ÷ $60 × 100

Markup = 66.67%

The selling price is 66.67% higher than the original product cost. The transaction still generates a 40% margin because markup and margin describe the same $40 gross profit from different bases.
wholesale price, retailer cost and retail price

FREE Wholesale Pricing Calculator

Determining the best pricing is tough work for even the most experienced distributor. With our free calculator, you can calculate wholesale prices for products and much more.

Download your free wholesale pricing calculator now to get started.

Free Tools to Calculate Margin vs. Markup

Use our free profit margin calculator to quickly determine the right prices for your wholesale business.

Margin vs. Markup Conversion Chart

The following chart shows common equivalent percentages. The same gross profit can be described using either margin or markup, but the percentages are not interchangeable.
Margin vs. Markup Conversion Chart
Margin Equivalent Markup Selling Price on $100 Cost
10% 11.11% $111.11
15% 17.65% $117.65
20% 25.00% $125.00
25% 33.33% $133.33
30% 42.86% $142.86
35% 53.85% $153.85
40% 66.67% $166.67
45% 81.82% $181.82
50% 100.00% $200.00
60% 150.00% $250.00

Final Thoughts on Margin vs. Markup

Margin vs. Markup | When to Use Each

Margin and markup describe the same gross profit from different perspectives. Margin compares gross profit with selling price, while markup compares it with cost. Using the correct denominator is essential when establishing prices, reviewing discounts and measuring wholesale profitability.

Build prices with accurate costs, convert target margins correctly and recalculate profitability whenever costs or discounts change. For distributors managing multiple price lists and customer agreements, centralized pricing rules can reduce errors and protect margins across every order.

B2B Wholesale Distributors Book

Double Your Sales Orders in 5 Steps

This exclusive eBook is packed with real-world, data-driven concepts that can help maximize your store visits and double your sales. Get it for FREE – Today!

Frequently Asked Questions

  • 1. How to Calculate Profit Margins?

    Profit margin is a key metric that shows how much of your revenue is actual profit after covering the cost of goods sold (COGS). It helps you measure business performance, set better prices, and understand whether your company is financially healthy.

    To calculate profit margins, businesses subtract the cost of goods sold (COGS) from total revenue to determine gross profit. This gross profit is then divided by total revenue to yield the gross profit margin. For example, if a product sells for $200 and costs $120 to produce, the gross profit is $80, resulting in a 40% profit margin. Understanding how to calculate profit margins is essential for assessing the financial health of a business, as it directly reflects profitability.

  • 2. What markup is 20% margin?

    A 20% margin corresponds to a 25% markup. Therefore, a 25% markup is needed for a 20% margin.

  • 3. How do you calculate a 30% margin?

    To calculate a 30% margin, first convert 30% to a decimal (0.3), subtract it from 1 to get 0.7, and then divide the cost by 0.7 to find the selling price.

  • 4. What is the difference between 30% margin and 30% markup?

    The main difference between a 30% margin and a 30% markup is that the margin percentage is calculated based on the selling price minus the cost of goods sold, while the markup percentage is based on the difference between the selling price and the cost price of the product. In practical terms, for a product with a cost of $100, a 30% margin would require selling it at around $143, while a 30% markup would result in a selling price of $130.

  • 5. How do you calculate margin and markup?

    To calculate margin and markup, use the formula Gross Profit Margin = Sales Price – Unit Cost and Markup Percentage = Gross Profit Margin/Unit Cost. For example, if a product costs $100 and has a 25% markup, the selling price would be $125.

  • 6. What influences markup percentages?

    Markup percentages are influenced by factors such as the industry type, pricing strategies of competitors, and the nature of products or services offered. These factors play a crucial role in determining the markup percentage.

Mastered Margin and Markup? Now Put Your Knowledge into Action with Orders in Seconds

Orders in Seconds’ OIS Pro App empowers your field sales reps on the go. This mobile app goes beyond calculations, transforming pricing strategies into actionable tactics. From setting custom pricing and promotions for individual clients to leveraging data-driven suggestions for higher-value orders, OIS Pro App streamlines workflows and eliminates errors. It equips your team to maximize profit potential on every sale, no matter their location.

Schedule a FREE demo today to get started!

B2B Wholesale Distributors: 5 Step Guide to Doubling Your Sales Orders
B2B Wholesale Distributors 5 Step Guide to Doubling Your Sales Orders

Double Your Sales Orders in 5 Steps

This exclusive eBook is packed with real-world, data-driven concepts
that can help maximize your store visits and double your sales.
Get it for FREE – Today!

FREE In-Depth Guide for B2B Wholesale Distributors

Double Your Sales Orders in 5 Steps

This exclusive eBook is packed with real-world, data-driven concepts that can help maximize your store visits and double your sales.
Get it for FREE – Today!

Related Posts