Where the choice starts
The question of "buy or build" often sounds like a debate about preferences: some people lean towards mature products, others towards their own code. But a preference is not an outcome. The GOV.UK guidance on purchasing strategy suggests starting from the need and outcomes for users. The assessment should cover buying, building and a combination, taking into account the whole product lifecycle. The UK government functional standard likewise describes several delivery routes: in-house development, third-party delivery, reuse and their combinations.
Both documents are written for the British public sector. Their contractual requirements and mandatory status cannot be automatically transferred to a private company or another jurisdiction. The general principle of comparison is unharmed by this: first state the need, then compare the ways of meeting it.
Below is a six-step model. It is an original practical synthesis of the sources listed. The sources do not provide a universal formula with fixed weights, and none is given here either.
Three options and two caveats
For the comparison to be fair, the alternatives must be described the same way:
- Off-the-shelf product without substantial changes. The organisation adapts its process to the product.
- Off-the-shelf product with configuration. Standard settings are used, plus extensions and integrations where needed.
- In-house development. The organisation is responsible for the code, operations and evolution.
Two caveats. First, a hybrid is possible: a product for the standard part and a custom component for the narrow part. In that case it is better to assess each part separately, then assess the hybrid as a whole, including integrations between the parts, total costs and end-to-end risks. Only then can it be compared with the other options against the same criteria. Second, the list should include the reuse of existing internal solutions. The functional standard also mentions this option. Reuse may reduce initial costs, but hidden dependencies can increase the total cost of ownership. So assess it with the same criteria as the rest.
A separate word on the boundary between options 1 and 2. Configuration is not prohibited, but it is not free. According to the GOV.UK guidance, configurations and workarounds can increase cost, complicate maintenance and upgrades, and limit future adaptability. The magnitude of the effect depends on the product, architecture, version and how the changes are implemented, so this is a reason to check the specific case, not a general ban.
Step 1. Mandatory guarantees as a filter
First, write down what makes an option unacceptable without it. Usually this is security, reliability, compliance with mandatory requirements, availability, recovery from failures, control over data, and the ability to prove all of it. Options that fail the threshold are excluded before the weighted comparison. Otherwise a high score on other criteria may hide a failure on a critical one.
A shared vocabulary helps. ISO/IEC 25010:2023 defines nine product quality characteristics and is intended, among other things, for quality specification and evaluation throughout the lifecycle. It is convenient to use as a requirements framework, identical for all alternatives. But the standard describes a quality model, not a delivery-choice method. It gives no weights and will not pick the option for you: the characteristics will have to be turned into verifiable requirements and means of confirmation.
The main rule of this step: a guarantee is confirmed by evidence, not implied by the delivery method. A purchased product is not secure "by definition", and in-house development is not reliable "by definition". For purchased software, CISA in its guide for government consumers and in the short fact sheet recommends discussing security practices with suppliers covering the development stages, supply chain, deployment and vulnerability management. Where necessary, requirements are fixed in procurement documentation and the contract. The guide is addressed to US government consumers. Supplier information is only part of the evidence, and the sufficiency of verification depends on the criticality of the system, the threats and your organisation's requirements.
For in-house development, the same list of questions turns inward: who is responsible for vulnerabilities, how the component supply chain is arranged, how deployment and recovery are carried out. It should be described just as concretely.
Step 2. Identical criteria for all options
For options that pass the filter, the criteria must be shared. A working set, based on the sources listed above:
| Criterion | What is checked |
|---|---|
| Fit to need | What share of confirmed requirements is met without workarounds |
| Security and reliability | What is confirmed by evidence beyond the mandatory threshold |
| Changeability and integration | Lead time for an agreed change after go-live, compatibility and configuration constraints |
| TCO | Full cost on a single horizon (step 3) |
| Timing | Time to working state and operational readiness |
| Operability | Whether there is a team and the competencies to run and maintain the solution |
| Vendor lock-in | Portability, exit terms, dependence on the roadmap |
| Consequences of error | Likelihood and consequences of failure scenarios (step 4) |
What matters is not the number of rows but that each option is scored on each of them and that every score rests on evidence. A "good" with no reference to a pilot, document or calculation does not count.
Step 3. TCO on a single horizon
Comparing the cost of buying as one figure and the cost of building as another is meaningless. The Sourcing Playbook emphasises whole-life cost comparison, determining the cost of ownership over the period of use and a should-cost model for different delivery options. GAO-20-195G guidance describes full-lifecycle cost estimation, documenting assumptions, and analysis of sensitivity, risk and uncertainty. These are cost-estimation practices for programmes and programme initiatives, not a pricing methodology for a specific enterprise product.
In practice, several rules follow:
- One horizon and one currency for all options; the period is stated explicitly.
- One list of cost items: licences or development, implementation, integrations, data migration, training, the internal team, infrastructure, upgrades and maintenance, security, transition and decommissioning.
- Explicit assumptions and exclusions. If internal resources are not counted, that must be written down.
- A range instead of a point. A "from and to" estimate is more honest than a single figure with false precision.
The organisation sets the horizon and the boundaries of the calculation. The sources do not establish a normative period, so there are no "standard" five or ten years here.
Step 4. The price of error
This criterion is most often replaced by intuition. It is worth leaning on the familiar logic of risk: NIST SP 800-39 describes risk assessment through likelihood and consequences, and NIST SP 800-37 Rev. 2 refines risk as a function of likelihood and impact. The applicability and granularity of such an assessment are determined by the organisation in its own context.
A caveat: "the price of error" as a separate criterion for choosing a delivery option is an adaptation of risk management, not a formula from these documents. There should be no universal number here. Start with a list of scenarios:
- the system failed during a critical period;
- an error in a calculation or in the data reached a client or a regulator;
- a vendor update broke the configuration;
- a key developer left, and knowledge of the system lives only with them;
- the vendor changed terms or ended support.
For each scenario, assess the consequences and likelihood on a scale shared across the options. Start with a set of scenarios applicable to all options, then add those specific to each implementation. Define in advance which combinations of likelihood and consequences correspond to low, medium and high risk. If scenarios can occur simultaneously and amplify the damage, assess that combination as a separate line.
First check each scenario for admissibility. For admission, the full possible damage is assessed, including recovery costs, even when those costs are already counted in TCO. An option with risk above the accepted threshold is sent back for rework with controls. For the remaining options, a score can be assigned based on the most serious remaining risk. For example, if an organisation accepts all three levels in the process under consideration, low, medium and high can be pre-mapped to scores of 5, 3 and 1. On this scale, one high risk gives 1 point, while several medium ones give 3, unless a joint-scenario check changes the score. This example is an editorial rule for comparison and can be replaced by an organisation-agreed scale.
Step 5. Testing assumptions in a pilot
First mark every mandatory requirement as confirmed, violated or not yet verified. An option with an established violation is removed from the current comparison. An option with too little information can be admitted to a limited pilot, provided the pilot itself satisfies the rules of access, data handling and acceptable risk. Its place in the final comparison is determined after verification: the results first go back into the mandatory-guarantees filter and then refine the scores and cost ranges.
Before the final decision, it is useful to turn assumptions into observations. GOV.UK recommends, where possible, testing the product configuration first and trying integrations and difficult scenarios in a small pilot. The same principle applies to all options, including a prototype of in-house development. Take the hardest scenario, not a demonstration one, and look at integration, user experience, security and the limits of configuration. Pilot results are recorded as evidence for the scores from step 2 and for the TCO assumptions.
Step 6. A transparent decision and a robustness check
After the guarantees filter, the remaining options are compared on a shared scale and weights, with the grounds for the weights recorded. The weights depend on the specific task, the acceptable risk, the organisation's strategy and the pilot data; the sources provide no universal numbers.
Before the pilot, define for each criterion a scale with observable thresholds. For TCO, the approved budget for the chosen horizon can serve as the reference. Suppose the upper bound of the cost range fits within the budget and the margin is sufficient by the accepted threshold. Then the option scores 4. If even the lower bound exceeds the budget within a pre-agreed tolerance, the option scores 2. For the other scores, fix their thresholds in advance. When the range crosses a boundary, keep both possible scores and check whether the choice changes. Record the grounds for the score next to it, such as the pilot budget sheet or the measured time to change a rule.
To count each effect exactly once, upgrade costs are allocated to TCO. Changeability is measured by the lead time of a changed rule, and risk by the likelihood and consequences of failure. In the weighted table, each financial or non-financial effect is counted once. For example, upgrade costs appear in TCO, the change lead time in changeability, and the likelihood and remaining consequences of failure in risk. For the comparative risk score, use consequences not already assigned to another criterion. Admissibility is determined separately on the full risk assessment from step 4. If scores use the same evidence, such as a pilot of an upgrade, record separately which measured effect belongs to each criterion.
Equally important is checking whether the leader changes when key assumptions about cost, timing or risk change. GAO specifically recommends sensitivity analysis and analysis of risk and uncertainty in cost estimation.
A hypothetical example (an illustration of the arithmetic, not data from any project). Suppose two options are compared: a configured product and in-house development. Scores on a 1-5 scale and weights are set arbitrarily. The two options are already admitted, and five criteria are chosen to show the arithmetic of weighting. In a real decision, the risk score calculated by the rule above is also included in the common matrix.
| Criterion | Score: configured product | Score: development | Weights A, % | Weights B, % |
|---|---|---|---|---|
| Fit to need | 3 | 5 | 30 | 20 |
| Changeability | 3 | 5 | 20 | 15 |
| TCO | 4 | 2 | 25 | 40 |
| Vendor lock-in | 2 | 4 | 10 | 10 |
| Operability | 4 | 2 | 15 | 15 |
Under weights A the totals are: configured product 3.3, development 3.7. Under weights B the configured product gets 3.45 (0.60 + 0.45 + 1.60 + 0.20 + 0.60), development — 3.25. The leader changed only because the weights were redistributed, which means the decision is fragile. The conclusion from such a picture is not "we pick the winner" but finding out which assumptions determine the result and testing exactly those.
Practical heuristics
These are guides, not rules, and they only work after the mandatory guarantees are passed:
- An off-the-shelf product is more often suitable for a common need that the market already meets and where differences from competitors create no value.
- Configuration is appropriate when the required behaviour is achieved with standard settings. If workarounds have to be invented, that is a signal to recalculate TCO and upgrade risk.
- In-house development is justified when the need is unique or the market does not cover a key part of it, and the organisation is able to maintain the solution throughout its lifecycle. Without that capability, attractive changeability turns into debt.
Decision record template
The outcome of the choice is worth writing up briefly so it can be revisited:
- The need and the expected outcome for users.
- The chosen option and the rejected alternatives, with reasons.
- The mandatory guarantees passed and the evidence.
- TCO: horizon, currency, range, assumptions, exclusions.
- Key risks and error scenarios with their level.
- Pilot results and the sensitivity of the conclusion.
- Conditions for revision and exit: what would have to change for the decision to become wrong.
The model does not guarantee the right choice. It makes the choice verifiable: it shows what the choice rests on and what happens if one of the assumptions turns out to be wrong.