Skip to content
Decision analysis

Make-or-Buy Decisions and Relevant Costs

A make-or-buy decision, the costing side of any outsourcing choice, compares the relevant cost of producing a component or service in-house with the total cost of buying it. Make only if the variable cost of making, the fixed costs that would end if production stopped and the opportunity cost of the capacity used come to less than the supplier's price plus the costs that buying adds; if the two are equal, qualitative factors decide. Sunk spend and overhead that continues either way do not get a vote.

Take the Profit Check

Ten minutes, fourteen questions, the full result on screen, after your name, organisation, work email, industry and size. If you already trust your margin by customer, you do not need it.

Method fileNº MBRCEN · Global edition

Make-or-Buy and Relevant Costs

Quick answer. Relevant cost of making = variable cost + avoidable fixed cost + opportunity cost of capacity; buy when the total cost of buying is lower. In the illustrative worked example below, making 20,000 units costs €300,000 in cash plus €25,000 of contribution forgone, against €300,000 to buy: buying saves €25,000 a year, while the reported full cost suggests a €40,000 saving.

Family
Decision analysis
Reading
12 min
Editions
6 editions
Author
Miguel Guimarães
What matters here

A make-or-buy decision compares the cost of producing a component or service internally against the cost of buying it from an outside supplier, and it should be settled on relevant costs alone. A cost is relevant only if it is both a future cost and one that differs between the two options - in short, a future, incremental, avoidable cash flow. Costs already incurred (sunk costs) are irrelevant, and so is any fixed cost that will continue regardless of the choice. The decision rule is simple: compare the avoidable cost of making with the purchase price, then add back the opportunity cost of any capacity that making ties up - the contribution the firm forgoes by not using that capacity for its next-best purpose. Where the numbers are close, qualitative factors - quality control, supply security, intellectual property and supplier dependence - become decisive. The framework is simple to state and easy to misuse, because the tempting numbers are usually the irrelevant ones.

The core idea

Only future, incremental, avoidable costs count

Relevant costing strips a decision down to the cash flows that the decision itself changes. A cost qualifies on two tests at once. First, it must lie in the future: money already spent is gone and cannot be altered by any choice made today. Second, it must differ between the alternatives: if a cost is identical whether the firm makes or buys, it cancels out and can be ignored without affecting the answer. Put the two together and the relevant costs of a make-or-buy call are the future, incremental cash flows that appear under one option and not the other.

Two categories trip up managers most often. Sunk costs - the tooling already bought, the R&D already expensed, the machine already depreciating - feel important precisely because they were expensive, but they are the same under both options and therefore irrelevant. Unavoidable fixed costs - the factory rent, the plant manager's salary, general overhead that will be reallocated rather than removed - are the subtler trap. Standard costing spreads them across units, so a "full cost per unit" of making includes overhead that will not disappear if production stops. Buying does not save that overhead; it simply moves it onto the units that remain. Only the fixed costs that genuinely vanish when you stop making - the avoidable ones - belong in the comparison. When the supplier is another division of the same group, the same logic sets the internal transfer price: its floor is the supplying division's incremental cost plus the opportunity cost of selling internally rather than outside.

The hidden number

Opportunity cost of capacity

The relevant-cost comparison is incomplete until it accounts for what the making option consumes but never invoices: capacity. If a firm makes a part on a line that would otherwise produce something profitable, the contribution given up on that other work is a real economic cost of making - an opportunity cost - even though no cash leaves the building and no ledger records it. When capacity is idle, its opportunity cost is zero and the comparison is a straight cash contest. When capacity is scarce, the opportunity cost can be the largest number in the analysis and can flip a decision that looked obvious on cash alone.

This is why the make-or-buy question is really a capacity question in disguise. The right frame is: what is the incremental cash cost of making, plus the contribution the firm forgoes by using constrained capacity to make rather than to do its next-best alternative, versus the price of buying and freeing that capacity? Opportunity cost is invisible to the accounting system and decisive in the decision. Putting a number on it starts with the capacity itself: the cost of unused capacity shows how a unit of capacity is priced and what the idle share of it costs.

A worked example

Make-or-buy decision example: avoidable fixed costs and opportunity cost

A manufacturer needs 20,000 units a year of a component (illustrative figures, not client data). Making it in-house costs, per unit: direct materials €6, direct labour €4, and variable overhead €2 - so €12 of variable cost. The accounting system also loads €5 of fixed overhead onto each unit, giving a reported "full cost" of €17. A supplier offers to deliver the same component for €15 per unit. On full cost the answer looks easy: buying at €15 beats making at €17, so buy. But that reasoning is wrong until the €5 is interrogated.

Of the €5 fixed overhead per unit (€100,000 in total), suppose €3 per unit (€60,000) is avoidable - a supervisor and a maintenance contract that end if the line stops - while €2 per unit (€40,000) is unavoidable allocated plant overhead that continues either way. The relevant cost of making is therefore the €12 variable plus the €3 avoidable fixed = €15 per unit, or €300,000 a year. Buying costs 20,000 × €15 = €300,000. On cash flows alone the two options tie; the €2 of unavoidable overhead that made buying look cheaper was never a saving at all.

Now the twist. If the firm buys, the freed line can produce a different product generating €25,000 of annual contribution. That €25,000 is an opportunity cost of making. Adding it, making effectively costs €300,000 + €25,000 = €325,000 against buying at €300,000, so buying now wins by €25,000 a year. Had the line instead stayed idle, the opportunity cost would be zero and the decision would remain a coin-flip to be broken on qualitative grounds. Same component, same prices, three different answers depending on which costs are allowed to speak; the table below sets them side by side.

buying saves €25,000 a yearcash flows tie at €300,000€240,000variable costsavoidable fixed€60,000opportunity cost€25,000€325,000Makerelevant cost per year20,000 × €15€300,000Buysupplier price€40,000unavoidable:stays out
Only relevant costs enter the comparison; the €40,000 that continues either way stays out.
Three readings

Idle capacity, capacity with another use, and the full-cost trap

The same component, the same supplier quote and the same 20,000 units give three different answers, depending on which costs are allowed in and whether the line has another use.

ViewMakeBuyWhat it says
Full absorbed cost (misleading)20,000 × €17 = €340,000€300,000Buy, "saving" €40,000
Relevant cost, capacity idle€240,000 + €60,000 = €300,000€300,000A tie: qualitative factors decide
Relevant cost, capacity has another use€300,000 + €25,000 = €325,000€300,000Buy, saving €25,000 a year

The full-cost view counts as a saving the €40,000 of overhead that stays and leaves out the €25,000 the line could earn elsewhere: it overstates the saving by €40,000 when the capacity would sit idle and by €15,000 when it has another use, and it gives the same answer in both cases. The relevant-cost view gives a saving of zero when the capacity would sit idle and €25,000 when it would earn a contribution elsewhere. The difference between the last two rows is the value of the capacity, which is why the question to ask before any quote is what the line would do instead. Illustrative figures, not client data and not a sector benchmark.

The formulas

The make-or-buy formula and decision rule

Four formulas and a decision rule settle the quantitative side. The third column applies each one to the component in the worked example above.

MeasureFormulaWorked example
Relevant cost of makingVariable cost + avoidable fixed cost + opportunity cost of capacity20,000 × €12 + €60,000 + €25,000 = €325,000
Relevant cost of buyingUnits × purchase price + other costs that buying adds20,000 × €15 = €300,000
Decision ruleBuy if the relevant cost of buying is lower than the relevant cost of making€325,000 − €300,000 = €25,000 a year in favour of buying
Maximum unit price worth paying(Relevant cost of making − other costs that buying adds) / units€325,000 / 20,000 = €16.25 (€15.00 if the capacity would sit idle)
Break-even volume(Avoidable fixed cost + opportunity cost − fixed costs that buying adds) / (delivered cost of buying a unit − variable cost of making a unit)(€60,000 + €25,000) / (€15 − €12) ≈ 28,333 units (20,000 if the capacity would sit idle)

Illustrative figures, as above. The supplier's €15 is taken as a delivered price with no other cost of buying. The maximum unit price is the negotiating ceiling at the volume compared: any quote below it saves money before qualitative factors, and the distance between the quote and the ceiling is the headroom. Below the break-even volume buying is cheaper and above it making is, provided the line can make that volume and neither the avoidable fixed cost nor the opportunity cost changes with it. If the delivered cost of buying a unit is at or below the variable cost of making it, buying is cheaper at any volume. Where a fixed cost steps up with volume, or the supplier quotes price breaks, work the comparison band by band.

In practice

How to make a make-or-buy decision in six steps

  1. Fix the scope. The component or service, the volume and the period compared. A one-year comparison and a five-year one can give different answers.
  2. Cost making. Variable cost per unit, plus each fixed cost traced to whether it ends or stays if production stops. Only the ones that end are avoidable.
  3. Cost buying in full. The purchase price plus freight, duties, incoming inspection, the extra safety stock a longer supply chain needs, and any purchasing or contract-management cost that buying actually adds. Include one-off costs such as ending a lease or redundancies, spread over the period compared.
  4. Price the capacity. The contribution the freed capacity would earn in its next-best use, or zero if it would sit idle. If capacity is the constraint, rank components by saving per scarce hour, as in the case below.
  5. Compare and test the margin. Apply the decision rule, then work out the maximum unit price and the break-even volume, and see how far the quote and the forecast volume sit from them.
  6. Check what the numbers leave out. Quality, supply security, intellectual property, dependence on one supplier and the cost of bringing the work back. When the gap is small, these decide.

Steps 2 and 4 are the ones the ledger cannot do for you, because it reports neither which fixed costs are avoidable nor what a unit of capacity is worth. The capacity calculator prices a unit of capacity for one resource, and the cost of unused capacity shows how to read the idle share.

When capacity is the constraint

Limited capacity: rank by saving per scarce hour

When there is not enough capacity to make everything that would be cheaper to make, comparing each component on its own is no longer enough. The question becomes which components earn the most saving for each hour of the scarce resource. Take a second, illustrative case: two components share the same machines, which have 6,000 hours available. The fixed costs of those machines continue whatever is made on them, the hours have no other use, and the supplier will sell any quantity at the quoted price.

ComponentUnits neededMake (variable)BuySaving from making a unitMachine hours a unitSaving per machine hour
A8,000€12€15€30.5€6
B2,000€20€26€62.0€3

Making both would take 8,000 × 0.5 + 2,000 × 2 = 8,000 machine hours, 2,000 more than the machines have. Ranked by saving per machine hour, the plant makes all 8,000 of component A (4,000 hours), uses the remaining 2,000 hours for 1,000 of component B and buys the other 1,000: a saving of €24,000 + €6,000 = €30,000 against buying everything (€172,000 down to €142,000). Ranked by saving per unit, B would go first, use 4,000 hours, and leave room for only 4,000 of A: €12,000 + €12,000 = €24,000 (€148,000 in all). The larger saving per unit is the wrong guide when hours are what runs out. The same rule sets the optimal product mix when capacity is short: rank products by contribution per scarce hour, not per unit. Illustrative figures, as above.

Relevant vs irrelevant

Relevant and irrelevant costs in a make-or-buy decision

Cost or factorRelevant to make-or-buy?
Direct materials, labour and variable overhead of makingYes - future and incremental; they disappear if you buy
Avoidable fixed costs (supervision, dedicated maintenance, a leasable machine)Yes - they genuinely vanish when production stops
Contribution forgone on freed capacityYes - opportunity cost; real even though no cash records it
Purchase price and inbound logistics from the supplierYes - the incremental cash outflow of buying
Allocated general overhead that continues either wayNo - unavoidable; reallocated, not removed
Tooling, R&D and depreciation already incurredNo - sunk; identical under both options

The pattern is consistent: the costs the accounting system reports most prominently - full absorbed cost per unit - are exactly the ones most likely to mislead, because they blend avoidable and unavoidable, incurred and future. Rebuilding the number from relevant cash flows is the whole job. That is the bridge to the rest of this encyclopedia: knowing which fixed costs are truly avoidable and what a unit of capacity is worth is precisely what time-driven activity-based costing and cost-to-serve analysis quantify, while the opportunity cost of capacity is the same scarcity logic that customer- and product-profitability analysis and the whale curve use to decide which work deserves the firm's constrained resources.

Strengths & limits

Strengths, and the qualitative factors in a make-or-buy decision

Strengths. The relevant-cost framework cuts through allocated-cost noise and points at the cash that a decision actually moves. It exposes the two classic errors - counting sunk costs and counting unavoidable overhead - and it forces capacity to be priced through opportunity cost rather than ignored. For a bounded, short-run sourcing question it is the correct and fastest lens.

Limits and qualitative factors. A make-or-buy decision is rarely only arithmetic. Outsourcing surrenders control over quality and lead time, creates supplier dependence and switching cost, can leak intellectual property or strategic know-how, and exposes the firm to price rises once its own capability has atrophied. Making preserves control and learning but ties up capital and management attention. Relevant costing sizes the financial gap; the next section sets out when that gap should not decide.

The horizon

When the relevant-cost answer should not decide

Relevant costing is built for a bounded question with a short horizon: this component, this year, these two suppliers. It is the wrong tool when the decision changes the shape of the business, outsourcing a whole line or giving up a capability you would struggle to rebuild, because over that horizon almost no cost stays fixed and the avoidable-versus-unavoidable split you did today is not the one that will apply in three years. In those cases I treat the relevant-cost figure as one input among several, and when the gap between making and buying is small, a few percent either way, I assume the spreadsheet cannot settle it and the qualitative factors should.

Where this leads

The two numbers this decision depends on, and where they come from

The comparison above is only as good as two figures the accounting system does not report: which fixed costs are genuinely avoidable, and what a unit of capacity is worth. These are the pages where those figures come from, and one plant where they changed the answer.

FAQ

Frequently asked questions

What is a make-or-buy decision?
A make-or-buy decision is the choice between producing a component or service in-house and buying it from an outside supplier. It should be settled on relevant costs: the variable cost of making, the fixed costs that would end if production stopped and the opportunity cost of the capacity used, against the supplier's price plus the costs that buying adds. When the gap is small, qualitative factors such as quality, supply security and intellectual property decide.
How do you calculate a make-or-buy decision?
Add up the relevant cost of making: the variable cost, the fixed costs that would end if you stopped making, and the contribution the capacity could earn elsewhere. Compare it with the total cost of buying: the supplier's price plus freight, duties, inspection and any other cost that buying adds. Buy if buying costs less. In the illustrative example on this page, making costs €300,000 plus €25,000 of contribution forgone, against €300,000 to buy, so buying saves €25,000 a year.
What is a relevant cost?
A relevant cost is a future cash flow that differs between the alternatives under consideration - in short, future, incremental and avoidable. If a cost has already been incurred, or is the same whichever option you choose, it is irrelevant to the decision and should be excluded, however large it looks.
Why are sunk costs ignored in a make-or-buy decision?
Because they cannot be changed by the decision. Tooling already bought, R&D already expensed and machines already depreciating are the same under both making and buying, so they cancel out. They feel important because they were costly, but no future choice can recover them, which is exactly why they carry no weight.
How do fixed costs affect a make-or-buy decision?
Only the fixed costs that genuinely disappear if you stop making - avoidable fixed costs - are relevant. Allocated overhead that continues regardless (rent, general management, plant costs reallocated to other units) is unavoidable and must be stripped out. Using a full absorbed cost per unit is the most common way to reach the wrong answer.
What is the opportunity cost of capacity, and why does it matter?
It is the contribution the firm gives up by using constrained capacity to make a part rather than for its next-best use. When capacity is scarce, this uninvoiced cost can be the largest and most decisive number in the analysis; when capacity is idle, it is zero. Ignoring it systematically biases the decision towards making.
What qualitative factors should sit alongside the numbers?
Quality and reliability of supply, control over lead times, protection of intellectual property and know-how, the switching cost and dependence created by a single supplier, and the strategic importance of retaining the capability in-house. When the relevant-cost gap between making and buying is small, these factors, not the spreadsheet, should carry the decision.
What is the maximum price worth paying a supplier?
The relevant cost of making, less any other costs that buying adds, divided by the number of units: variable cost, plus avoidable fixed cost, plus opportunity cost, all per unit at the volume compared. In the illustrative example, at 20,000 units, that is €12 + €3 + €1.25 = €16.25 a unit if the freed capacity has another use, and €15.00 if it would sit idle. Any quote below that ceiling saves money, before the qualitative factors are weighed. At a different volume the ceiling changes, because the fixed amounts are spread over more or fewer units.
What is the break-even volume between making and buying?
Divide the avoidable fixed cost of making, plus any opportunity cost that does not change with volume, by the saving each unit made in-house brings: the delivered cost of buying a unit less the variable cost of making it. In the illustrative example, €60,000 / (€15 − €12) = 20,000 units when the capacity would sit idle, and €85,000 / €3 ≈ 28,333 units when the line has another use. Below the break-even volume buying is cheaper; above it, making is, provided the line can make that volume and the fixed figures do not step up.
How do you decide what to make when capacity is limited?
Rank the components by the saving from making them per unit of the scarce resource, not per unit of product, make them in that order until the capacity runs out, and buy the rest. In the illustrative case on this page, ranking by saving per machine hour saves €30,000 against buying everything; ranking by saving per unit saves only €24,000.
Which costs of buying are most often missed?
Freight and duties, incoming inspection and the rework of supplier defects, purchasing and contract management, the extra safety stock a longer supply chain needs, and one-off exit costs such as redundancies or ending a lease. Only the costs that buying actually adds belong in the comparison: a purchasing team that will not grow is not a cost of buying.
Sources

References

Horngren, C. T., Datar, S. M. & Rajan, M. V. Cost Accounting: A Managerial Emphasis (chapters on relevant costs and the make-or-buy decision). · Drury, C. Management and Cost Accounting (relevant costs for decision-making and opportunity cost). · Garrison, R. H., Noreen, E. W. & Brewer, P. C. Managerial Accounting (differential analysis and outsourcing decisions). · Kaplan, R. S. & Cooper, R. Cost & Effect, Harvard Business School Press, 1998 (using cost information for capacity and sourcing decisions). · CIMA, Official Terminology (definitions of relevant cost, sunk cost, avoidable cost and opportunity cost). · Coase, R. H. "The Nature of the Firm", Economica, 4(16), 1937, pp. 386-405 (why a firm makes some things itself and buys others in the market). · Venkatesan, R. "Strategic Sourcing: To Make or Not To Make", Harvard Business Review, November-December 1992 (keeping in-house the components that carry the competitive advantage).

The tempting number is the unit cost. The deciding one is the capacity.

Would your make-or-buy sheet pass its own test? The full cost of making carries overhead that does not vanish when you buy, and the number that should carry the decision is the cost of the capacity the work ties up. The capacity calculator prices one team or machine group at practical capacity and shows what the idle hours cost. Or write to us via the contact page.

You enter
Pool cost, hours, practical capacity
You get
Capacity cost rate, and the cost of idle capacity
We ask for
Name, organisation, work email
Open the capacity calculator

Proof

A distributor in New Zealand. €1.335M of cost-to-serve made visible, then halved, and 830 loss-making customers brought down to 295.

Read the case study →

Who you would be talking to

Miguel Guimarães, Founding Partner

Cost and profitability practitioner for 25+ years. Presented the Damco cost-to-serve case at Managing for Profit (Amsterdam RAI, December 2009), on the same programme as Robert S. Kaplan.

Call +351 910 313 731

Workshops

Bring the method into the room.

One working profitability model, built from real data, that you take home at the end.

Reserve a seat
Miguel Guimarães

Reviewed by

Miguel Guimarães

Founding Partner, Cost and Profitability Consulting

Time-Driven ABC engagements since 2010, working within the Kaplan and Anderson framework.

About the author →

Published Updated

M
Ask us anything
usually replies in minutes
Hi. I can answer the quick questions about cost, method and timing right here. For anything specific to your business, I'll connect you with a CostCtrl specialist on WhatsApp.
No bot loops. Straight to a specialist.
Most read
  1. 1Time-driven activity-based costing: ABC made simple and scalable
  2. 2Whale Curve: Definition, How to Build One, Live Simulator
  3. 3Cost-Volume-Profit (CVP) and Break-Even Analysis
  4. 4How to calculate cost to serve, step by step
  5. 5Cost-to-Serve Analysis
  6. 6Make-or-Buy and Relevant Costs
  7. 7TDABC vs ABC: same goal, very different effort
  8. 8Pocket Price Waterfall and Price Realization
  9. 9Transfer Pricing for Internal Profitability
  10. 10Cost-to-Serve, Profitability and AI: Executive Workshop Porto - November 27, 2026