If you have ever priced a product or service and felt unsure whether you were aiming for a 30% margin or a 30% markup, you are not alone. The two measures sound similar, but they produce different selling prices and different profit outcomes. This guide works as a practical, reusable reference for small businesses: it explains the difference between profit margin and markup, shows the formulas in plain language, and gives worked examples you can revisit whenever your costs, taxes, or pricing targets change.
Overview
The main idea is simple: margin and markup are not interchangeable.
Profit margin is the percentage of the selling price that remains as gross profit after covering cost. It answers the question: What portion of the revenue do I keep before overhead and other expenses?
Markup is the percentage added to cost to arrive at the selling price. It answers the question: How much am I increasing my cost to set the price?
That distinction matters because many pricing mistakes happen when a business owner says, for example, “I want a 40% margin,” but calculates it as if it were a 40% markup. The result is usually underpricing.
Here is the cleanest way to think about it:
- Margin uses selling price as the base.
- Markup uses cost as the base.
Because the base is different, the percentage is different even when the same cost and selling price are involved.
For a product with a cost of $100 and a selling price of $150:
- Gross profit = $150 - $100 = $50
- Markup = $50 / $100 = 50%
- Margin = $50 / $150 = 33.3%
Same item, same dollars of profit, two different percentages.
For a small business, this matters in several situations:
- Setting retail or service pricing
- Quoting custom work
- Comparing products with different cost structures
- Protecting profit when supplier costs increase
- Training staff to price consistently
If your business uses a profit margin vs markup calculator, the tool should help you move in both directions:
- From cost to selling price
- From selling price to margin
- From desired margin to required price
- From desired markup to required price
That flexibility makes it more useful than a one-way calculator. It becomes a repeatable decision tool, not just a one-time formula.
How to estimate
To calculate profit margin and markup correctly, start with three core numbers:
- Cost: what the item or job costs you
- Selling price: what the customer pays before any separate tax
- Gross profit: selling price minus cost
Once you have those, use these formulas.
Core formulas
Gross profit
Gross profit = Selling price - Cost
Profit margin formula
Margin = (Selling price - Cost) / Selling price
To express it as a percentage:
Margin % = [(Selling price - Cost) / Selling price] × 100
Markup formula
Markup = (Selling price - Cost) / Cost
To express it as a percentage:
Markup % = [(Selling price - Cost) / Cost] × 100
How to calculate selling price from target markup
If you know your cost and want to apply a markup:
Selling price = Cost × (1 + Markup %)
Example: cost is $80, desired markup is 25%
Selling price = 80 × 1.25 = $100
How to calculate selling price from target margin
If you know your cost and want a target margin:
Selling price = Cost / (1 - Margin %)
Example: cost is $80, desired margin is 25%
Selling price = 80 / 0.75 = $106.67
This is the step where confusion usually appears. A 25% markup does not produce a 25% margin. To earn a 25% margin, the required price must be higher.
Quick conversion between markup and margin
If you already have one percentage and want the other, use these conversion formulas:
Margin from markup
Margin = Markup / (1 + Markup)
Markup from margin
Markup = Margin / (1 - Margin)
Use decimal form in the formulas. For example, 40% becomes 0.40.
Example: convert 40% markup to margin
Margin = 0.40 / 1.40 = 0.2857 = 28.57%
Example: convert 40% margin to markup
Markup = 0.40 / 0.60 = 0.6667 = 66.67%
That gap is why pricing conversations can go wrong when teams use the terms loosely.
A simple pricing sequence for small businesses
If you want a reliable pricing formula for small business, use this sequence:
- Calculate your true cost
- Choose whether you are setting price by target markup or target margin
- Compute the selling price
- Check whether the resulting price still fits your market and positioning
- Verify whether taxes, discounts, payment fees, and delivery charges should be included or added separately
This process reduces guesswork and makes your pricing easier to explain internally.
Inputs and assumptions
The quality of any margin calculator or markup calculator depends on what you include in cost. That is where many businesses underestimate the price they need to charge.
At minimum, define cost consistently before using any formula.
What should be included in cost
Depending on your business model, cost may include:
- Materials or inventory
- Direct labor
- Packaging
- Shipping you absorb
- Merchant or platform fees tied to the sale
- Job-specific subcontractor or production costs
For service businesses, cost may include the labor required to deliver the work, not just the labor to acquire the client.
For product businesses, cost often begins with landed cost rather than unit purchase cost alone. If the item costs $20 from the supplier but another $4 to ship, label, and process, your working cost is likely closer to $24 than $20.
What is usually not included in gross margin calculations
Margin and markup formulas here focus on gross profit, not full net profit. General overhead is often handled separately, such as:
- Rent
- Salaries not tied directly to delivery
- Software subscriptions
- Marketing overhead
- Insurance
- General admin costs
That does not mean these expenses do not matter. It means you should be clear about whether you are calculating:
- Gross margin on a product or job, or
- Net profitability for the business overall
If your gross margin is too thin, overhead will quickly erase profit. If you need to assess that broader picture, a separate break-even calculator or ROI calculator can help model the bigger decision.
Be careful with VAT and sales tax
One common mistake is calculating markup or margin on a price that includes tax. In most cases, the cleaner approach is to calculate your selling price before VAT or sales tax, then add the applicable tax separately if required in your market.
If tax handling is part of your pricing workflow, it helps to pair this guide with a dedicated VAT calculator guide.
Discounts change your realized margin
Your list price may achieve the target margin, but a discount can reduce it quickly.
Example:
- Cost = $60
- List price = $100
- Gross profit = $40
- Margin = 40%
Now apply a 10% discount:
- Discounted selling price = $90
- Gross profit = $30
- Margin = 33.3%
A modest discount can shrink margin more than expected. That is why businesses with frequent promotions often set a higher initial markup to protect the final realized margin.
Rounding rules matter
If you sell high-volume items, minor rounding can have a noticeable effect over time. Decide in advance whether you round to:
- The nearest cent
- A psychological price point such as .99
- A whole number for simple quoting
Then check the actual percentage after rounding. The displayed price may be cleaner, but the final margin may be slightly lower or higher than the raw formula suggests.
Use one pricing language across the business
Internally, choose one standard approach:
- “We price at a target gross margin of X%,” or
- “We price at a markup of X% on cost.”
Either can work. The problem is inconsistency. If the owner uses margin, sales uses markup, and operations tracks only cost, quotes become harder to review and compare.
For service pricing, this can also connect well with an hourly rate to project price calculator when you need to turn delivery cost into a project fee.
Worked examples
The easiest way to understand the difference is to see the numbers side by side.
Example 1: Same cost, different targets
Assume cost is $100.
Option A: 30% markup
- Selling price = 100 × 1.30 = $130
- Gross profit = $30
- Margin = 30 / 130 = 23.08%
Option B: 30% margin
- Selling price = 100 / 0.70 = $142.86
- Gross profit = $42.86
- Markup = 42.86 / 100 = 42.86%
Takeaway: asking for a 30% margin requires a much higher price than adding a 30% markup.
Example 2: Checking an existing selling price
You buy an item for $48 and sell it for $72.
- Gross profit = 72 - 48 = $24
- Markup = 24 / 48 = 50%
- Margin = 24 / 72 = 33.33%
If someone on the team says this item has a “50% margin,” the numbers show that the true gross margin is 33.33%.
Example 3: Service quote with direct labor cost
You estimate a job will take 10 hours. Your direct delivery cost is $45 per hour.
- Total direct cost = 10 × 45 = $450
You want a 40% gross margin.
- Selling price = 450 / 0.60 = $750
- Gross profit = $300
- Markup = 300 / 450 = 66.67%
If instead you had used a 40% markup by mistake:
- Selling price = 450 × 1.40 = $630
- Gross profit = $180
- Margin = 180 / 630 = 28.57%
That is a meaningful gap, especially on larger projects.
Example 4: Finding the markup needed to hit a target margin
You want a 25% margin. What markup does that require?
Markup = Margin / (1 - Margin)
Markup = 0.25 / 0.75 = 0.3333 = 33.33%
So if your cost is $120:
- Selling price = 120 × 1.3333 = about $160
- Gross profit = $40
- Margin = 40 / 160 = 25%
Example 5: Price increase after supplier cost changes
You sell an item for $200. Cost rises from $120 to $140.
Before the change
- Gross profit = $80
- Margin = 80 / 200 = 40%
- Markup = 80 / 120 = 66.67%
After the change, if you keep the same selling price
- Gross profit = $60
- Margin = 60 / 200 = 30%
- Markup = 60 / 140 = 42.86%
To restore a 40% margin
- Required selling price = 140 / 0.60 = $233.33
This is a good example of why the article is worth revisiting whenever costs change. Even a moderate cost increase can compress margin quickly.
Example 6: A compact reference table
Here is a quick relationship table that many owners find useful:
- 10% markup = about 9.09% margin
- 25% markup = 20% margin
- 50% markup = 33.33% margin
- 100% markup = 50% margin
And in reverse:
- 10% margin = 11.11% markup
- 20% margin = 25% markup
- 30% margin = 42.86% markup
- 40% margin = 66.67% markup
- 50% margin = 100% markup
These are handy checkpoints if you need to calculate profit margin and markup quickly without rebuilding the full math every time.
When to recalculate
Your pricing should not be static. Margin and markup need to be reviewed whenever the inputs behind them move. This is where a simple business calculator becomes a repeat-use management tool rather than a one-time worksheet.
Recalculate when any of the following happens:
- Supplier costs change. Even small increases can reduce margin if price stays flat.
- Labor costs change. This matters for custom work, installation, consulting, and service delivery.
- Fees increase. Payment processing, marketplace commissions, and shipping surcharges can quietly erode profit.
- You add discounts or promotions. Promotions should be checked against realized margin, not just list price.
- Tax treatment changes. Review whether your pre-tax and post-tax pricing logic is still clean.
- Your sales mix changes. A lower-margin product can become more important than expected if volume rises.
- You move upmarket or downmarket. Positioning can support a different margin target.
- You bundle products or services. Bundle economics often hide weak component pricing.
A practical review rhythm is to revisit your pricing:
- Monthly for volatile input costs
- Quarterly for stable product lines
- Immediately after major cost or policy changes
- Before launching a new quote template or price list
To make recalculation easier, keep a simple pricing sheet with these columns:
- SKU or service name
- Current cost
- Target markup %
- Target margin %
- Current selling price
- Required selling price at target
- Actual gross profit dollars
- Actual margin %
If you manage several calculators and templates across operations, it can also help to standardize them with the broader systems covered in best productivity apps for small business owners.
Here is the most practical takeaway:
- Define cost clearly
- Choose whether you are pricing to a margin target or a markup target
- Use the correct formula
- Check discounts, fees, and taxes separately
- Recalculate whenever costs or pricing conditions change
If you remember only one thing, make it this: margin is based on selling price, markup is based on cost. Keeping that distinction clear will help you avoid underpricing, protect gross profit, and make pricing decisions with more confidence over time.