Custom software or SaaS: a decision framework

Build, buy or compose: a framework that weighs differentiation, integration, exit and five-year cost, with an illustrative cost comparison that shows how the answer can flip.

"Should we build it or buy it?" often has a third answer. Many organisations end up composing: a bought product for the common parts, custom software where the business is different, and integration code holding the two together. The useful question is where each line falls, and what each choice will cost over the years you will live with it.

This framework has four tests: differentiation, fit, integration and exit. Cost comes after them, because a cost model is only as good as the assumptions those tests produce.

Test 1: does this function make you different?

Martin Fowler's distinction between utility and strategic software is a good first cut. In his words, "it's all about whether the underlying business function is a differentiator or not" [1]. For a utility function, he suggests you "buy the package and adjust your business process to match the software"; for a strategic function, "you don't want the same software as your competitors" [1]. He also notes that the risks differ. Utility projects mostly need to avoid catastrophic error, while the biggest risk for strategic work is "not doing something before your competitors do" [1].

Payroll, email and expense claims are utility functions for nearly everyone. The pricing engine of a lender, the scheduling logic of a logistics firm or the claims rules of an insurer may be strategic. Be strict here. Teams often believe their process is more unusual than it is. The UK Government Digital Service makes the same point: "Your project's needs are more likely to be common than unique" [2].

Test 2: will you use the product as designed?

The GOV.UK guidance on purchasing strategy tells teams to decide whether off-the-shelf products "provide the right level of functionality and use them as they were intended". It adds a warning worth putting on the wall: "Even small modifications to OTS software can remove most of the benefits of using it", and changes and workarounds can "restrict you from upgrading or removing them in future" [3]. The GDS technology blog says the same from another angle: "customisation is not only expensive, but can make the product or service harder to maintain or update", and encourages "configuration over customisation" [2].

So the real question for a SaaS option is whether your team will change its process to fit the product. If the answer is "only if the product changes first", you are planning a customisation project inside someone else's software, which tends to combine the costs of building with the constraints of buying.

Test 3: what does it have to connect to?

Integration is where estimates often go wrong. A product that fits on its own may need connections to your identity provider, finance system, data warehouse and two older internal applications. Each connection needs mapping, error handling, monitoring and an owner when the vendor changes an API.

List every system the new capability must read from or write to, and for each one note the direction, the frequency and who owns the other end. If the list is long, that integration layer is a piece of custom software whichever option you choose, and it should appear in every column of the cost model. The GOV.UK guidance on integrating technology asks teams to show "how a new technology will work alongside your existing infrastructure, support model and governance" [4].

Test 4: how do you leave?

Every choice needs an exit plan written before signing, not after. GOV.UK asks teams to have "a plan for the technology if it fails or is discontinued" [4]. For purchases it recommends, where economic, contracts that "include a break clause at a maximum of 2 years which allows you to terminate the contract with minimal exit costs" [3]. That guidance is written for UK public bodies, and private organisations will set their own terms; contract terms are a matter for your legal and procurement advisers.

The practical exit questions are the same for any buyer:

  • Can you export all of your data, including history and attachments, in a documented format?
  • Does the vendor's API let you read everything you would need for a migration?
  • What notice period and price-change terms apply?
  • For custom software, who else could maintain it if the original team left? Is the code, its documentation and its deployment process in your hands?

The decision table

FactorLean towards buyLean towards buildLean towards compose
DifferentiationUtility function, common across the sectorCore to how you competeCommon core with a few differentiating rules or screens
Process fitYou will adapt to the productNo product fits without heavy customisationProduct fits most of it; the gap is well defined
IntegrationFew connections, standard connectors existMany connections to internal systems you ownProduct has a usable API for the gap you will build
Change rateRequirements stableRequirements change monthly with the businessStable core, changing edges
In-house capabilityLittle engineering capacityA team that can own it for yearsEnough capacity to own a small custom module
Data and regulationVendor meets your data-location needsData must stay on infrastructure you controlSensitive part kept in the custom module
ExitClean export and short contract availableYou control code and data from the startSeam between bought and built parts is documented

No single row decides. A function can be strategic and still be bought if the right product exists and you will use it as designed. The table is for making the argument explicit so that the people who disagree can see which row they disagree about.

A worked cost comparison (illustrative)

The figures below are invented for illustration. They are not quotes, benchmarks or prices from any vendor, and they are not from a Daivota project. Change every number to match your situation. Amounts are in Indian rupees, mostly in lakh (one lakh is ₹1,00,000, or 100,000 rupees), over five years, for a hypothetical business application used by 200 staff.

Illustrative assumptions:

  • Buy: a SaaS product at ₹1,500 per user per month (₹36 lakh a year), ₹10 lakh to configure, ₹15 lakh to build integrations plus ₹3 lakh a year to maintain them, a quarter of an administrator's time (₹5 lakh a year), and ₹8 lakh set aside for exit.
  • Build: ₹90 lakh initial build, ₹10 lakh integration, ₹6 lakh a year hosting, ₹40 lakh a year for a small team to maintain and extend it, ₹4 lakh a year for security reviews.
  • Compose: a lower SaaS tier at ₹900 per user per month (₹21.6 lakh a year), ₹35 lakh to build a custom module for the differentiating part, ₹15 lakh a year to run and maintain it, ₹12 lakh integration plus ₹3 lakh a year, ₹5 lakh a year administration, ₹5 lakh exit reserve.
Illustrative five-year cost (₹ lakh)BuyBuildCompose
One-off costs3310052
Recurring costs per year445044.6
Total over 5 years, 200 users253350275

On these numbers, buying is cheapest. Now change the user assumption: the organisation grows and 600 staff need access from year three, and hosting for the built system rises by ₹4 lakh a year from the same point to carry the extra load. Every other line stays as above.

Illustrative five-year cost (₹ lakh)BuyBuildCompose
Total, 200 users then 600 from year 3469362404.6

The subscription line grows with users, and the custom software's costs mostly do not. On these invented numbers, the cheapest option becomes the most expensive: the extra 400 users add ₹216 lakh to buying over years three to five and ₹129.6 lakh to composing, while building adds only the ₹12 lakh of extra hosting. The point is the sensitivity. Before deciding, find the two or three assumptions that move the answer, and test them: user growth, price increases at renewal, the real size of the maintenance team, and how many integrations you will need.

Three cost lines are often left out of these models:

  1. Your own staff time to run the vendor relationship, upgrades and support tickets for a bought product.
  2. The cost of the process changes needed to use a product as designed. These are real costs even when they are the right choice.
  3. Exit: data migration, parallel running and retraining, priced as if you will leave, because at some point you may.

The GOV.UK guidance frames this as understanding "as much of the full cost of building or buying a product as possible", across a product's lifecycle "including building or buying, upgrading, continuous improvement planning and retirement" [3].

Compose without creating a mess

Composition works when the seam between bought and built parts is deliberate. A simple shape:

            +----------------------+
 users ---> | SaaS product (core)  |  configured, not customised
            +----------+-----------+
                       | documented API / events
            +----------v-----------+
            | Integration layer    |  owned by you: mapping, retries, audit
            +----------+-----------+
                       |
            +----------v-----------+      +--------------------+
            | Custom module        | ---> | Your systems of    |
            | (differentiating     |      | record (finance,   |
            |  rules and screens)  |      | warehouse, etc.)   |
            +----------------------+      +--------------------+

Keep the custom module small and clearly bounded. If the product vendor later ships what the module does, you can retire it. If you leave the vendor, the module and integration layer are the parts you keep. When the custom side grows into a product of its own, with many customers or business units, design questions such as tenant isolation in multi-tenant SaaS start to matter. Where the starting point is an old in-house system, the move is often gradual; see modernising a legacy application without a big-bang rewrite.

Questions to settle before deciding

  • Which rows of the decision table are you least sure about, and who can answer them?
  • Have you seen the product used for your process, with your data shapes, rather than in a general demo?
  • Which three assumptions most change the five-year cost, and what happens to the answer if each is 50% worse?
  • Who will own the integration layer in year three?
  • Is the exit plan written down, and has someone checked the export works?

For organisations working through this choice for a specific system, our technology strategy and planning service and custom software and SaaS development service cover both sides of it.

Prepared with AI-assisted research and drafting.

Sources

  1. [1] Martin Fowler, "Utility Vs Strategic Dichotomy", martinfowler.com (bliki), 2010 (updated 2016). https://martinfowler.com/bliki/UtilityVsStrategicDichotomy.html
  2. [2] Amina Omar, Government Digital Service, "To build or to buy – that's the technology question", Technology in government blog (GOV.UK), 2021. https://technology.blog.gov.uk/2021/02/03/to-build-or-to-buy-thats-the-technology-question
  3. [3] Government Digital Service and Central Digital and Data Office, "Define your purchasing strategy" (Technology Code of Practice guidance), GOV.UK, 2026 (last updated). https://www.gov.uk/guidance/define-your-purchasing-strategy
  4. [4] Government Digital Service, "Integrate and adapt technology" (Technology Code of Practice guidance), GOV.UK, 2026 (last updated). https://www.gov.uk/guidance/integrate-and-adapt-technology