What is Margin-Based Pricing?
Margin-based pricing is a pricing strategy where you set the selling price of a product or service by adding a specific profit margin on top of your cost.
Let’s say your product costs $100 to make, and you want a 30% margin. You’d price it at $143 (because 30% of $143 is about $43 — your profit).
This is different from simply adding a flat markup. Margin-based pricing works backward from your desired profit percentage, not just a dollar amount. It ensures that you hit your profit goals consistently, no matter the cost of goods sold.
It’s a simple, reliable way to protect your bottom line that’s used in every industry from retail to SaaS. That said, margins alone don’t consider consumer demand, price-value perception, or price sensitivity, all of which are factors at play in the price optimization equation.
Synonyms
- Contribution margin-based pricing
- Margin pricing
Importance of Margin-Based Pricing in B2B Sales
When you sell to other businesses, your deals involve longer sales cycles, custom solutions, negotiated discounts, and contracts with multiple stakeholders. That complexity makes it critical to have pricing grounded in a clear profit strategy.
Margin-based pricing gives you that foundation. Instead of guessing or reacting to market trends, you start with your costs and apply a consistent margin that ensures healthy profitability across varying deal sizes, customer segments, and channels.
Margin vs. markup: what’s the difference?
Plenty of teams confuse margin with markup, but they’re not the same.
- Markup is based on cost. If something costs $100 and you apply a 30% markup, you’d price it at $130.
- Margin is based on revenue. If you want a 30% margin, you’d price it closer to $143 — because 30% of that selling price is profit.
This distinction matters in B2B deals where even a few margin percentage points add up to millions over time.
When is margin pricing used in B2B?
Margin-based pricing is particularly useful in B2B when:
- You sell custom services or solutions with variable costs.
- You operate in manufacturing, where raw material and labor costs fluctuate.
- You’re offering complex SaaS or enterprise software, often along with tiered pricing and negotiated contracts.
- Your pricing model requires flexibility, but your profit targets can’t budge.
It wouldn’t necessarily work for fixed, low-touch offerings (like a $20/month Pro plan) where buyers expect clear, consistent pricing and couldn’t care less about your internal margins. But in enterprise SaaS, custom services, or engineer-to-order goods, there’s an unspoken understanding: you’re uniquely qualified to deliver, and of course, you’re building in a margin.
Key Components of Margin-Based Pricing
Margin-based pricing relies on three core components:
- Your cost structure (COGS and beyond)
- Your target profit margin
- The formula used to convert those into a sell price
Together, these elements ensure you’re setting prices that protect profitability in complex or variable sales environments.
Cost of goods sold (COGS) and full cost structures
At the core of margin-based pricing is a deep understanding of your cost base. This includes both direct costs (materials, labor, production) and, when needed, indirect costs (overhead, shipping, support).
For complex offerings like enterprise software or configurable machinery, full cost structures will also include implementation, maintenance, and customization costs.
Inaccurate cost data leads to misleading margins and potentially unprofitable deals.
Target profit margin
Your target margin is the percentage of revenue you aim to retain after covering costs.
It varies by industry, product type, and business strategy. For example, a high-volume ecommerce retailer might target 20-30%, while a B2B SaaS company selling enterprise licenses may target 70% or more.
You can align margin targets with different business objectives, like growth, cash flow, or market positioning.
Price calculation formulas
The formula for margin-based pricing calculates price from the desired margin, not just by marking up costs. Here’s how it’s done:
So, if your cost is $100 and your target margin is 40%:
The margin formula guarantees your price supports the required margin rather than applying a simple markup that may fall short.
Examples: simple product vs. highly configurable product
Let’s say a retail item costs $50 to produce. You want a 30% margin.
Easy enough, right? It’s even easier if you have a simple distribution model like dropshipping and don’t have to consider variables like employees.
Now… let’s say instead you’re selling a custom-built industrial machine that has component, labor, and integration costs totaling $8,000. Your margin target is 35%.
The more complex the offering, the more crucial it becomes to factor in the full cost structure and use margin-based pricing to avoid margin erosion over time.
Margin-Based Pricing vs. Other Pricing Strategies
Margin-based pricing is powerful for protecting your profitability, but it’s not the best fit for every complex sales model. Let’s break down how it compares to other common pricing strategies and when each is typically preferred.
Margin-based pricing vs. contribution margin-based pricing
Contribution margin-based pricing focuses on covering variable costs and contributing toward fixed costs and profit. It’s most often used in short-term decisions like promotions or pricing for additional sales volume.
You’d use it for:
- Pricing spare capacity (e.g., airline seats, factory production)
- Situations where fixed costs are already covered
- Short-term volume plays or promotional discounts
But margin-based pricing wins when you need a consistent profit figure per unit and strategic pricing across an entire portfolio. It’s also better for products with tight margins or high overhead.
Margin-based pricing vs. cost-plus pricing
Cost-plus pricing adds a flat markup to your costs (e.g., cost + 20%). The key difference between the two is that cost-plus is cost-anchored; margin-based is profit-anchored. Simple, predictable, but disconnected from revenue goals and market value.
It’s effective for:
- Government contracts or regulated industries
- Commoditized products with predictable input costs
- When internal simplicity is more important than external optimization
If, however, you need to align pricing with profitability or you operate with variable costs or complex delivery, margin-based wins. It’s also more feasible if your sales reps need pricing guardrails tied to financial goals.
Margin-based pricing vs. value-based pricing
Value-based pricing prices based on perceived or delivered value to the customer, not costs. While margin pricing ensures the business wins regardless, value-based pricing starts with the customer. It’s used in high-impact B2B sales and when solving expensive problems.
It’s preferred when:
- Your solution delivers outsized ROI (e.g., saving millions, increasing revenue)
- You’re the only one (or one of the few) offering this value
- Customers are focused on outcomes, not inputs
If you still need to ensure a minimum profit floor, you’re customizing pricing per deal but need consistency, or you want reps to hit margin targets even when discounting, margin-based is the more effective pricing strategy.
Margin-based pricing vs. competitive pricing
Competitive pricing benchmarks pricing based on market competitors either to undercut, match, or signal premium positioning. Competitive pricing reacts to the market while margin-based pricing protects your bottom line regardless of the market.
A competitive pricing strategy is best:
- In saturated markets or ecommerce
- When competing on price is a core strategy
- For fast-moving consumer goods or SaaS with public pricing
The margin-based pricing model wins, though, if you offer customization, configuration, or service layers that make your business unique. And if you’re not trying to win the lowest-price race or profitability matters more than price parity, it’s best to consider your margins more heavily.
Pricing strategies for complex sales
| Pricing strategy | What it means | When to use |
|---|---|---|
| Margin-based pricing | Sets price to achieve a target profit margin based on revenue | When profitability is a priority and cost structures vary; ideal for custom B2B or manufacturing |
| Contribution margin pricing | Focuses on covering variable costs and contributing toward fixed costs | For short-term decisions, extra capacity sales, or promotional pricing |
| Cost-plus pricing | Adds a fixed percentage markup on top of cost | In regulated, commodity, or cost-stable industries like construction or logistics |
| Value-based pricing | Prices based on perceived or delivered value to the customer | When selling ROI-heavy solutions or unique offerings; ideal for SaaS, consulting, enterprise B2B |
| Competitive pricing | Anchors prices to competitors (lower, equal, or higher) | For commoditized markets, ecommerce, and public-facing SaaS tiers where price visibility matters |
Benefits of Margin-Based Pricing in Sales and Revenue Operations
When you use it properly, margin-based pricing is a strategic lever that aligns pricing, sales, and revenue operations around profitability. Here’s how it strengthens operational performance across the board:
Drives consistent profitability across deals
By basing prices on target margins instead of arbitrary markups, businesses avoid underpricing and ensure each sale contributes meaningfully to the bottom line, even when discounts or customizations are involved.
Creates pricing discipline within the sales process
Margin-based thresholds give sales reps clear boundaries. This model eliminates gut-feel pricing and encourages structured, defensible discounts tied to profitability goals, not desperation to close a deal.
Simplifies configuration and pricing decisions in CPQ workflows
In CPQ systems, margin rules can be embedded directly into pricing logic. This means reps get real-time feedback on profitability while building quotes. This guarantees pricing decisions happen faster and smarter.
Improves forecasting accuracy for revenue teams
Because prices are directly tied to profit margins, revenue leaders can forecast gross profit more accurately. This tightens revenue modeling and eliminates some of the surprises associated with month-end closes and quarterly planning.
Supports scaling of customized, high-complexity deals
In environments with configured products, multi-SKU solutions, or variable service inputs, margin-based pricing keeps your business flexible without sacrificing profit. It gives RevOps the control to scale personalization at healthy margins.
Challenges of Margin-Based Pricing
While margin-based pricing offers powerful control over profitability, it’s not without its trade-offs. B2B revenue leaders have to weigh the following challenges carefully, especially if they operate in dynamic, high-stakes sales environments where pricing is both art and science.
Difficulty with accurate cost tracking
Margin-based pricing is only as reliable as your cost data. In complex B2B environments with multi-SKU configurations, service overlays, and implementation scopes, accurately attributing costs to a deal is extremely difficult. Missed inputs like onboarding hours, custom engineering, or third-party licenses can erode actual margin without showing up in the pricing model.
What to consider: Invest in better cost attribution methods. Involve finance, delivery, and RevOps in refining how total cost of sale is defined and tracked across the quote-to-cash cycle.
Risk of underpricing or overpricing when market conditions shift
Margin models don’t inherently account for market tolerance or competitor pressure. If input costs fall but prices stay artificially high, you may lose deals. If costs rise and you hold pricing steady to stay competitive, your margin may collapse.
The same goes for if you choose to keep the same margin regardless of variable costs. If your customer base is price-sensitive or values consistency, your constant changing of prices based on inputs will cause a lot of them to churn.
What to consider: Margin-based pricing must be coupled with regular competitive benchmarking and market intelligence. It’s not a set-it-and-forget-it approach.
Sales rep resistance when target margins reduce pricing flexibility
Sales teams are on the front lines and they need room to negotiate. Rigid margin thresholds that are disconnected from deal context frustrate reps and slow down the sales cycle. If approval processes are clunky, reps may bypass the system or delay quoting altogether.
What to consider: Use CPQ tools to embed real-time guardrails that show reps what’s possible without creating bottlenecks. Enable smart discounting, not just hard stops.
Potential misalignment with perceived customer value
Customers don’t care about your cost structures, they care about outcomes. If your pricing model focuses solely on margin and ignores pricing perception, you risk pricing out high-ROI buyers or leaving money on the table with those willing to pay more.
What to consider: Layer value-based thinking into your margin model. Margin should define the floor, not the ceiling, of your pricing strategy.
How CPQ and Pricing Software Enhance Margin-Based Pricing
Margin-based pricing becomes exponentially more powerful and scalable when paired with CPQ (configure, price, quote) and modern pricing software. These tools do more than just automate quotes; they bring precision, transparency, and governance to the entire pricing lifecycle.
Automating margin calculations during quoting
CPQ systems dynamically calculate margin as the quote is built, factoring in costs, product bundles, discounts, and services in real time. This ensures every quote is grounded in up-to-date profitability logic without requiring manual spreadsheets or guesswork.
Sales reps get speed, finance gets accuracy, and your pricing objectives are always met by default.
Real-time margin visibility for sales reps and managers
Instead of retroactively checking margins during approvals, reps can see margin percentage at the line-item and quote level as they configure a deal. Managers can spot risky deals early and coach reps before pricing becomes a bigger issue.
Every step of the way, it drives proactive decision-making and reduces friction in the approval process.
Automated approvals for deals below target margins
Pricing software can route quotes for review or require justification when margins fall below a predefined threshold. Rules-based workflows guarantee low-margin deals aren’t slipping through without oversight, while still preserving agility for high-value opportunities.
For example, if gross margin drops below 25%, the quote auto-routes to finance for approval or flags RevOps for escalation.
Workflow rules auto-triggered based on margin thresholds
Beyond simple approvals, margin data can trigger intelligent pricing workflows. For example:
- Auto-adjusting discount limits based on margin impact
- Triggering cost recalculations for last-minute configuration changes
- Blocking quote submission if margin erosion exceeds predefined thresholds
This is where margin integrity becomes operationalized.
Integration with finance systems for cost data accuracy
CPQ platforms that integrate with ERP and finance systems keep costs used in margin calculations current and complete. This is particularly important for manufacturers, who have to deal with material prices, service inputs, and possibly exchange rates.
Best Practices for Implementing Margin-Based Pricing
Maybe it goes without saying, but successful margin-based pricing doesn’t happen by accident. It requires strategic alignment between product, sales, finance, and RevOps and a disciplined operational framework to support it.
Here are five best practices that separate the pros from the amateurs:
1. Set clear margin targets by product line or customer segment.
High-volume products may tolerate thinner margins, while bespoke solutions and high-effort services should command higher profitability. Segmenting margin targets by SKU, region, deal size, or customer type ensures your strategy reflects actual value and delivery complexity.
2. Ensure accurate, dynamic cost inputs into your CPQ/pricing system.
Your margin calculations are only as good as your cost data. Integrate real-time cost feeds from your ERP or finance systems into CPQ tools. Factor in all relevant costs. Not just unit price, but services, delivery, exchange rates, and support.
3. Train sales teams on margin importance and pricing guidelines.
Sales doesn’t need a finance degree, but they do need to understand margin mechanics. Equip reps with clear pricing playbooks, margin visibility tools, and real-world examples that connect pricing discipline with quota attainment and company health.
Bonus: Show how margin discipline protects their deals from being clawed back or delayed in approvals.
4. Use approval workflows to enforce discipline.
Automated approval workflows reduce the risk of margin leakage. Tie approval thresholds to dynamic margin ranges, not arbitrary discount percentages. This keeps reps agile while ensuring strategic deals get the necessary oversight.
5. Monitor and adjust margins regularly based on market dynamics.
Monitor market pricing, cost volatility, and win/loss trends on a recurring cadence to understand when and where margin targets need adjustment. CPQ reporting and pricing analytics tools can reveal patterns that help you stay competitive without eroding profitability.
Margin-Based Pricing Optimization Strategies
Once the foundations are in place, the next step is to optimize your margin-based pricing for flexibility, competitiveness, and scale. These strategies help mature organizations move from static targets to intelligent, data-driven margin management — without compromising profitability.
Dynamic pricing adjustments based on deal size, volume, or bundling
A one-margin-fits-all approach limits pricing agility. Instead, adjust your margin expectations based on deal attributes:
- Larger volumes may justify thinner margins due to scale efficiency.
- Bundled offerings (e.g., software + services) can absorb margin trade-offs across components.
- Multi-year contracts may support deferred margin capture via renewal pricing or expansion.
To apply this, set conditional margin logic in your CPQ; for example, lower minimums for deals over $500K or bundles with complementary products.
Tiered margin structures
Use tiered margin bands to match your pricing strategy to customer or deal value. This allows you to flex when needed but within structured, defensible boundaries.
- High-margin tiers: For small, high-touch, or one-off deals.
- Mid-tier: For standard sales cycles or repeat business.
- Low-margin tiers: For high-value, strategic, or competitive enterprise accounts — with approval guardrails in place.
Benefit: Sales teams retain flexibility, but within strategic guardrails that prevent margin erosion.
Real-time margin optimization using AI or pricing analytics
Instead of defaulting to static targets, this is how you price with context and precision at scale. AI-powered pricing tools and analytics platforms (e.g., DealHub) analyze historical win/loss data, competitor behavior, and deal performance to surface optimal price points. These recommendations maximize win probability while still hitting margin goals.
Using margin leakage reports to refine your pricing strategy
Margin leakage (where actual margins fall short of expected) frequently hides in plain sight. Common causes include hidden costs, unauthorized discounts, scope creep, and failure to account for support overhead. By analyzing it by product, rep, region, or deal type, you can spot patterns and tighten controls.
What to look for:
- Where are you discounting most aggressively?
- Which reps or teams close low-margin deals most often?
- Are specific SKUs consistently dragging down blended margin?
To fix it, revisit cost inputs, enforce stronger guardrails, or reprice low-performing offers based on this data.
Quick Formulas for Calculating Margin-Based Prices
Whether you’re building a pricing model from scratch or refining one inside your CPQ system, getting your formulas right is non-negotiable. Here’s a quick guide to the essential equations behind margin-based pricing and how to apply them effectively.
Understanding the basic terms
There are four terms you’ve got to get in your head:
- Cost: What it costs your company to produce, deliver, or acquire the product or service.
- Price: The amount you charge the customer (your selling price).
- Margin: The percentage of the selling price that’s profit. It’s profit as a percentage of revenue.
- Markup: The amount added to the cost to arrive at your selling price. Often confused with margin, but not the same.
Core margin-based pricing formula
If you know your cost and your target margin, this is the formula to set the right price:
For example:
- Cost = $100
- Target Margin = 30% (or 0.30)
- Selling Price = 100 ÷ (1 – 0.30) = $142.86
This ensures you’ll retain 30% of that $142.86 as profit. The margin formula is ideal when building quote logic into CPQ software, especially for custom or high-complexity B2B products.
How to calculate margins from a given price and cost
If you’re reviewing a quote or validating pricing performance, use this formula:
For example:
- Price = $150
- Cost = $100
- Margin = ((150 – 100) ÷ 150) × 100 = 33.33%
This tells you how much profit you’re actually making on that sale as a percentage of revenue.
Practical tip: Use CPQ tools to auto-calculate.
Most modern CPQ and pricing platforms automatically embed these formulas into quoting logic. Reps don’t need to memorize equations, but ops teams still have to make sure their target margins are clearly defined, accurate, and consistently applied.
- Margin fields can appear at the line-item and quote level.
- Approvals can be triggered if the margin drops below set thresholds.
- Margin tolerances can differ by product family, geography, or customer tier.
The takeaway here is that the math is simple. The real power comes from embedding it into repeatable, automated workflows.
Quick Reference Table
| Goal | Formula |
|---|---|
| Find Selling Price from Cost & Margin | Selling Price = Cost ÷ (1 – Target Margin) |
| Find Margin from Cost & Price | Margin (%) = ((Price – Cost) ÷ Price) × 100 |
| Find Markup from Cost & Price | Markup (%) = ((Price – Cost) ÷ Cost) × 100 |
People Also Ask
What is contribution margin-based pricing and how is it different from margin-based pricing?
Contribution margin-based pricing sets prices to ensure each unit sold contributes positively toward covering fixed costs and generating profit. It focuses only on variable costs (like materials or commissions), ignoring fixed expenses.
Margin-based pricing, by contrast, sets prices to maintain a consistent profit margin relative to revenue, usually incorporating the total cost structure. The goal is long-term profitability, not just short-term contribution.
What is the difference between markup and margin pricing?
Markup pricing adds a fixed percentage to the product’s cost to determine the selling price. Margin pricing works backwards from a desired profit percentage of revenue to calculate the necessary selling price. They use different bases: markup is cost-based while margin is revenue-based, which means they produce different outcomes.