Strategy and software

Custom software vs off the shelf: how businesses decide whether to build or buy

Lidl spent seven years bending a software package to fit the way it works, then went back to its own system. The build or buy decision is rarely about code, and the costs arrive after launch.

Eclyde Checked 2 December 2026 · 9 min read
On this page
  1. Three options, not two
  2. What governments tell their own buyers
  3. When building goes wrong
  4. When building is the business
  5. The costs that come after launch
  6. Comparing like with like
  7. A test for the decision
  8. Back to Wawi

In July 2018, Lidl stopped a project it had been working on since 2011. The plan had been to replace Wawi, the merchandise management system the German discounter had built for itself, with a new system called eLWIS, based on software from SAP.

Lidl never said how much it had spent. The trade newspaper Lebensmittelzeitung, citing industry observers, put the figure at about €500m, Computerwoche reported.

The difficulty, according to Consultancy.uk, lay in a detail of accounting. Lidl valued its stock at purchase prices. SAP’s standard retail software worked from retail prices.

Rather than change its method, Lidl had the software adapted, and the adaptations made the system slower and more expensive.

“The strategic goals as originally defined were not possible at an acceptable expense,” Jesper Højer, Lidl’s chief executive at the time, wrote to staff, in the translation Consultancy.uk published.

Every business that outgrows its spreadsheets meets a smaller version of Lidl’s question. It can buy a package that thousands of other firms use, or it can have something built to fit the way it works. Lidl ended up in the most expensive position available: it bought a package and then tried to rebuild it in its own image.

This piece looks at how organisations make that choice, what the public record shows about getting it wrong in each direction, and the costs that arrive after the launch, which are the ones that usually decide whether the choice was right.

Three options, not two

The debate is usually framed as build against buy. In practice a business has three choices, and the middle one causes most of the trouble.

The first is to buy a package and adopt the way it works. The business changes its processes to match the software, keeping its own way of doing things only where the law, a customer or a real competitive advantage demands it.

The second is to buy a package and customise it, writing new code inside or around the product so it behaves the way the business already works. This is what Lidl did, and it combines the costs of both worlds: licence fees for the package and development costs for the changes, plus the extra work of keeping those changes running every time the supplier releases a new version.

The third is to build, either with an in-house team or by commissioning a developer, so that the business owns software made for its own processes.

It helps to separate customisation from configuration. Configuration means using the settings a package already offers: approval limits, tax codes, document templates, user permissions. It survives upgrades because the supplier designed for it.

Customisation means changing the product’s behaviour with new code, and it is the part that breaks when the supplier changes something underneath.

Many sensible decisions are hybrids. A firm buys standard accounting and payroll, then builds the one piece that is particular to it, such as a pricing engine or a scheduling tool, and connects the two.

What governments tell their own buyers

Public bodies have written down their rules for this decision, which makes them a useful reference for private firms.

In August 2016 the White House Office of Management and Budget issued a federal source code policy, known as M-16-21, that sets out a three-step analysis for US federal agencies.

First, look for an existing solution the government already has the rights to use. If none fits, consider a commercial product. Only if neither can meet the need should an agency consider custom development, and even then it should look at mixing custom code with existing products.

The memo also lists what should weigh on each step. Among the factors it names are the total life-cycle cost of ownership, security, the ability to share or reuse the software, the availability of quality support and, notably, the resources required to switch suppliers later.

The UK government’s Service Manual takes a similar line. It suggests teams map their needs to see what they must build and what they can buy or get free, and it warns against getting locked into long contracts for specific tools and providers. It advises minimising the number of long-term decisions, so that choices can be changed as needs change.

Neither document says buying is always right. Both put the burden of proof on building, because custom software carries costs that are easy to underestimate.

When building goes wrong

One of the best-documented examples of a custom build gone wrong is the FBI’s Virtual Case File, a case management system commissioned for the bureau’s agents.

In February 2005 the Justice Department’s Office of the Inspector General reported that after more than three years and about $170m, the FBI had no clear timetable for completing it. The causes it listed included poorly defined and slowly evolving design requirements, changes after the bureau refocused its mission following September 2001, contracting weaknesses and inadequate oversight.

A month later the FBI director, Robert Mueller, told a congressional subcommittee that the system was being shelved, and that its replacement would rely largely on commercial software already on the market, Computerworld reported.

“I am disappointed that we did not come through with Virtual Case File,” Mueller said.

The pattern in the inspector general’s findings is common to custom projects of every size. When a business commissions software, it has to say exactly what the software should do. If the business is not sure, or keeps changing its mind, the developer builds to a moving target, and the bill follows the target.

A package forces some of that thinking on the buyer, because the product already exists and can be tried. A custom build allows a business to postpone the hard decisions about how it wants to work, which is one reason builds so often run late.

When building is the business

There are firms for which building was the right call, and the clearest examples are those whose software is the thing that sets them apart.

Ocado, the British online grocer, built its own technology for automated warehouses and online shopping, and now sells it to other retailers. Its technology solutions business reported revenue of £561.2m for the 2025 financial year, up 13% on the year before, according to the company’s full-year results.

The same results show the risks that come with turning software into a business. Ocado reset its partnerships with Kroger and Sobeys, and four of its partners’ automated warehouses closed in January and February 2026, with Kroger paying £261m in closure fees.

For an ordinary firm, the lesson is narrower. Building makes sense when the process in question is the reason customers choose the business, when no package handles it without heavy customisation, and when the business is prepared to look after the software for as long as it runs. If any of those conditions is missing, the case for building weakens quickly.

Most of what a typical business does is not like that. Payroll, accounting, email, document storage and basic customer records work much the same way in every company, and are governed by the same tax and employment rules. Building those from scratch means paying to solve problems that software suppliers have already solved for thousands of customers.

The costs that come after launch

The purchase price of either option is the least reliable guide to its cost. What matters is what it takes to keep the software running and secure over five or ten years.

Bought software comes with a supplier’s roadmap, and the buyer has to follow it. SAP has told customers that mainstream maintenance for SAP Business Suite 7, the generation of its business software that preceded S/4HANA, ends on 31 December 2027, with optional extended maintenance to the end of 2030, according to SAP. Customers who want to stay supported must plan a move on the supplier’s timetable, not their own.

The same applies on a smaller scale to a cloud accounting package or a booking system. Prices rise at renewal. Features change or disappear, and a supplier can be bought by a competitor and its product folded into another.

A business that has customised a package heavily finds each of those events harder to absorb, because its changes have to be tested and often rewritten.

Custom software has a different set of running costs. Someone has to fix bugs, apply security patches, keep the code working as operating systems and browsers change, and add the features the business will need next year. That work does not stop when the project ends, and it is often the part left out of the original quote.

There is also the question of who holds the knowledge. A system built by one developer or a small agency is only as durable as the business’s access to the people who understand it.

The OMB memo requires agencies to secure rights to the code they pay for and to make sure the code and its documentation are actually delivered throughout development. A private firm commissioning software should ask for the same: ownership of the code, access to the repository where it is kept, and documentation good enough for another developer to take over.

Comparing like with like

Artificial intelligence coding tools have added a new version of the old argument, that if code is cheaper to write, building must be cheaper too. The tools do not change the arithmetic of ownership.

Writing the first version is only the start of what software costs. The maintenance, security work and support described above continue for as long as the system runs, and they are the same whether the first version took a month or a year.

A fair comparison puts both options side by side over the same period, such as five years.

For a package, that means subscription or licence fees for every year, likely increases at renewal, implementation, data migration, training and the internal time the business gives the project. For a build, it means the development itself, hosting, security testing, a yearly maintenance budget and the cost of keeping a developer available. Comparisons that set one year of subscription against the one-off price of a build flatter the build.

Two costs are often missing from both columns. One is the business’s own time: the managers who write requirements, test new versions and answer the supplier’s questions. On a custom build that time is usually larger, because every decision has to be made from scratch.

The other is the cost of leaving. Moving off a package means exporting data in a usable form, retraining staff and running two systems side by side for a while. Moving off a custom system can mean all of that plus finding someone able to read the old code. Pricing the exit at the start, even roughly, tends to change which option looks cheaper.

A test for the decision

Take a hypothetical wholesaler with 60 staff and a pricing model built over decades: volume discounts, customer-specific deals and rebates that the sales team understands and no package handles cleanly. The owner has been quoted for a full custom system covering orders, stock, invoicing and pricing.

A careful decision would start by splitting that system into parts. Invoicing, stock and accounts work the same way in most wholesalers, and are covered by packaged software sold to many of them. Pricing may be the one area that is particular to this business, and even there the first question is whether the rules are a competitive advantage or simply habit.

If the pricing rules win customers, they may be worth building as a separate component, connected to a standard system through the integration interfaces most modern packages provide. If they are habit, the cheaper course is to simplify them and adopt the package’s way of working.

A few questions settle most cases.

Is this process the reason customers buy from the business, or is it administration? Has the business looked at how three or four packages handle it, with its own data, before deciding none will do? Would it be cheaper to change the process than to change the software?

Then the questions about the long run.

Who will maintain the software in five years, and what will that cost each year? Does the business own the code, or only a licence to use it? If the supplier or developer disappeared tomorrow, how long would it take to get the data out and keep trading?

A business that cannot answer the last question has not finished making the decision, whichever way it leans.

Back to Wawi

Lidl’s announcement in 2018 included one more detail. The company described the decision as one in favour of its own system rather than against SAP, and it planned to return to Wawi, the software it had built itself, Computerwoche reported.

Seven years and a reported half a billion euros after it set out to replace the system that fitted its business, Lidl concluded that the system that fitted its business was the one it already had.