GlobCalc
Small Business Pricing & Profitability•2026 Reference

Gross Margin vs. Markup: The Complete Pricing Guide for Small Businesses

Confusing gross profit margin with markup is one of the most common causes of pricing mistakes and cash flow shortages. Learn the core formulas, use our master conversion table, and discover how to price products accurately from wholesale cost.

Author:GlobCalc Tax Research DeskStatutory Research & Analysis
9 min readPublished: October 30, 2026Reviewed: October 30, 2026Verified: GAAP Cost Accounting Standards
Standard
GAAP Cost Accounting
Margin Metric
Profit / Revenue
Markup Metric
Profit / COGS
Keystone Pricing
50% Margin = 100% Markup
Pricing Formula
Price = Cost / (1 - Margin)
Margin Ceiling
Always Under 100%
Markup Ceiling
Unlimited (e.g. 300%+)
Target Audience
Retailers & Online Sellers

Key Takeaways

  • Margin Uses Selling Price: Gross margin is profit divided by revenue. It tells you what percentage of each sales dollar your business keeps.
  • Markup Uses Cost: Markup is profit divided by the Cost of Goods Sold (COGS). It tells you how much you marked up the original wholesale price.
  • The 50% Trap: A 50% markup on a $100 product results in a $150 selling price, which yields only a 33.3% margin. To get a 50% margin, you need a 100% markup ($200 selling price).
  • Pricing Formula: To achieve any target margin, divide your cost by (1 minus the margin in decimal form).

Interactive Tool

Calculate Margins, Markup & Sales Tax Online

Input your cost of goods and desired profit to instantly compute retail selling price and customer quote totals.

Open Margin Calculator →

1. The Fatal Mistake: Why Confusing Margin and Markup Destroys Profitability

Entrepreneurs, ecommerce sellers, and independent contractors frequently use the terms “margin” and “markup” interchangeably. In everyday conversation, people say “I marked it up 40%” when they actually mean “I want a 40% profit margin.”

In financial accounting, these two terms mean completely different things. Confusing them can easily cause a business to underprice its products, run out of cash, and operate at an unexpected net loss.

Consider This Realistic Scenario:

A retail shop owner needs a 40% gross profit margin to cover store rent, employee payroll, merchant processing fees, and utility bills. She purchases an inventory batch for $60 per unit.

Thinking margin and markup are identical, she adds a 40% markup to the $60 cost: $60 + ($60 × 0.40) = $84.00.

When she sells the item for $84, her dollar profit is $24 ($84 - $60). Her actual gross margin is: $24 / $84 = 28.6%.

Instead of the 40% margin needed to survive, she earned only 28.6%. Over thousands of sales, this pricing error drains tens of thousands of dollars in expected cash flow.

2. The Core Definitions: Revenue Base vs. Cost Base

Both gross margin and markup rely on the exact same dollar profit figure:

Dollar Profit = Selling Price (Revenue) - Cost of Goods Sold (COGS)

The difference lies entirely in which number sits in the denominator of the fraction:

Gross Margin (Revenue Base)

Gross margin looks at your business from the top down. It answers: “Out of every $1.00 that enters the cash register, how many cents are left over after paying the supplier?”

Margin = (Profit / Revenue) × 100

Markup (Cost Base)

Markup looks at your inventory from the bottom up. It answers: “By what percentage did I inflate the wholesale cost to reach the retail price tag?”

Markup = (Profit / Cost) × 100

3. The Gross Margin Formula

Gross profit margin is calculated by dividing dollar profit by revenue:

Gross Margin (%) = ((Revenue - Cost) / Revenue) × 100

Example: Item sells for $100 and costs $60 to manufacture.

Profit = $100 - $60 = $40

Gross Margin = ($40 / $100) × 100 = 40.0%

Gross margin can never reach or exceed 100% unless your cost is zero or negative. A 100% margin means you paid nothing to acquire the product and kept 100% of the customer payment.

4. The Markup Percentage Formula

Markup percentage is calculated by dividing dollar profit by cost:

Markup (%) = ((Revenue - Cost) / Cost) × 100

Example: Using the same item that sells for $100 and costs $60.

Profit = $100 - $60 = $40

Markup = ($40 / $60) × 100 = 66.7%

Notice that for the exact same transaction, the gross margin is 40.0%, but the markup is 66.7%. The markup percentage is always higher because the cost base ($60) is smaller than the revenue base ($100).

5. Master Margin-to-Markup Conversion Table

Use the reference table below to translate between desired gross profit margins and the required markup percentage to apply to your wholesale costs:

Desired Gross MarginEquivalent MarkupCost MultiplierPricing Formula
10%11.1%1.111Cost / 0.90
15%17.6%1.176Cost / 0.85
20%25.0%1.250Cost / 0.80
25%33.3%1.333Cost / 0.75
30%42.9%1.429Cost / 0.70
35%53.8%1.538Cost / 0.65
40%66.7%1.667Cost / 0.60
45%81.8%1.818Cost / 0.55
50%100.0%2.000Cost / 0.50
55%122.2%2.222Cost / 0.45
60%150.0%2.500Cost / 0.40
65%185.7%2.857Cost / 0.35
70%233.3%3.333Cost / 0.30
75%300.0%4.000Cost / 0.25
80%400.0%5.000Cost / 0.20

Note: Key benchmarks to remember: a 20% margin requires a 25% markup; a 33.3% margin requires a 50% markup; a 50% margin requires a 100% markup (known in retail as “keystone pricing”).

6. How to Set Selling Prices Based on Target Margin

When pricing products or quoting project bids, you almost always begin with known costs (wholesale inventory, materials, hourly labor) and a desired profit margin.

To establish retail selling prices that preserve your required margin, follow this standard five-step pricing workflow:

1

Step 1: Calculate Total Cost of Goods Sold (COGS)

Required Action

Sum all direct costs required to manufacture, source, or acquire the product before setting retail prices.

Unit COGS = Wholesale Cost + Inbound Shipping + Packaging

Exclude fixed overhead such as administrative salaries and warehouse rent, as those are funded by your gross profit margin.

2

Step 2: Select Your Target Gross Margin Percentage

Required Action

Determine the gross profit margin required to cover operating expenses and achieve desired profitability.

Target Margin = Desired Gross Profit ÷ Target Selling Price

Retail and ecommerce brands commonly target 40% to 65% gross margins depending on fulfillment and channel acquisition fees.

3

Step 3: Apply the Inverse Gross Margin Formula

Required Action

Divide your unit cost by one minus your desired gross margin expressed as a decimal.

Selling Price = Unit Cost ÷ (1 - Target Margin)

For instance, if unit cost is $52.00 and target margin is 35%, divide $52.00 by 0.65 to establish an exact $80.00 retail price.

4

Step 4: Verify Gross Dollar Profit and Equivalent Markup

Required Action

Subtract cost from selling price to confirm dollar profit and compute your corresponding markup percentage.

Markup % = (Gross Profit ÷ Unit Cost) × 100

A $52 cost sold at $80 yields $28 dollar profit, representing a 35.0% gross margin and a 53.8% markup on cost.

5

Step 5: Add State and Local Sales Tax for Invoicing

Required Action

Calculate applicable sales tax on top of your final selling price rather than discounting tax into product margin.

Customer Invoice Total = Selling Price × (1 + Sales Tax Rate)

Sales tax is a pass-through fiduciary duty collected for state revenue departments and must never be subtracted from your product margin.

For example, selling a $52 product at $80 gives you an exact 35% gross margin: ($80 - $52) / $80 = $28 / $80 = 35.0%.

7. How Sales Tax Affects Customer Quotes Without Eroding Margins

A frequent mistake among business owners and service contractors is factoring sales tax into their selling price or failing to separate tax from revenue:

  • Sales Tax Is Not Revenue: Sales tax is a fiduciary pass-through liability. You collect it from the buyer at checkout and hold it in trust until you remit it to the state Department of Revenue.
  • Sales Tax Is Added on Top of Selling Price: Calculate your selling price using your target margin formula first. Then, apply the combined state and local sales tax rate to that selling price.
  • Do Not Pay Sales Tax Out of Pocket:If a customer invoice states $1,000 “tax included” in an area with an 8.25% sales tax rate, your actual selling price is only $923.79 ($1,000 / 1.0825), and $76.21 belongs to the state. That reduction in revenue drops your gross profit dollar-for-dollar.

8. Step-by-Step Calculation Walkthrough: $40 Wholesale Cost with 60% Target Margin

Below is a complete, line-by-line pricing walkthrough for an ecommerce seller sourcing a custom manufactured product:

Wholesale Cost of Goods (COGS):$40.00
Desired Gross Profit Margin:60.0%
Divisor (1 - 0.60):0.40
Calculated Retail Selling Price ($40.00 / 0.40):$100.00
Dollar Gross Profit ($100.00 - $40.00):$60.00
Equivalent Markup Percentage ($60.00 / $40.00 × 100):150.0%
Estimated US Combined Sales Tax (Sample 8.25%):+$8.25
Final Customer Invoice Total (Price + Tax):$108.25

Calculate Your Product Prices Instantly

Use our free Profit Margin & Markup Calculator to calculate selling prices, compare margin vs. markup percentages, and compute customer invoice totals with US sales tax.

Related Tax Rules in this Series

State and federal tax rules rarely apply in isolation. When managing small business pricing transactions, evaluate these connected compliance requirements:

Resale Certificates Guide: Purchasing inventory or component goods tax-free is essential for preserving wholesale and retail margins. Learn how to verify and accept exemption certificates in our Resale Certificates & Exemption Compliance Guide to protect your business during multi-state audits.

Frequently Asked Questions

What is the primary difference between gross margin and markup?+

Gross margin measures profit as a percentage of the selling price (Revenue). Markup measures profit as a percentage of the cost (Cost of Goods Sold). Both use the exact same dollar profit, but because their denominators differ, markup percentage is always higher than gross margin percentage for any profitable sale.

Why can gross margin never exceed 100 percent?+

Because gross margin is profit divided by revenue. Even if an item cost $0 to produce and sold for $100, the profit is $100 and the gross margin is 100% ($100 / $100). Markup, however, has no ceiling: a $10 item sold for $100 has a 900% markup ($90 / $10).

How do I calculate selling price if I know my cost and desired margin?+

Use the pricing formula: Selling Price = Cost / (1 - Desired Margin). For example, if an item costs $40 and you want a 50% gross margin, divide $40 by (1 - 0.50), which equals $40 / 0.50 = $80. Do not simply multiply $40 by 1.50 (which gives $60 and results in only a 33.3% margin).

What is a good gross profit margin for a small business?+

Typical gross margins vary widely by industry. Retail and grocery businesses often operate on 25% to 35% gross margins, ecommerce brands target 50% to 70%, and software (SaaS) companies frequently achieve 75% to 85% gross margins. Service businesses and consulting firms usually target 50% or higher to cover overhead and labor.

Does sales tax get calculated before or after markup?+

Sales tax is calculated on the final selling price after your markup is already applied. Sales tax is not a business expense or revenue: it is a trust fund tax collected from the customer at checkout and remitted directly to state and local tax authorities.