Back to the HAI WASH Impact Model

HAI WASH Impact Model: methodology

Version of 1 November 2026. This document describes exactly what the model at apps.washways.org/HAIcostModel calculates, where every input comes from, and how far the results can be trusted. Formulas match the code in src/model/. Numbered references are listed at the end.

1. Purpose and scope

The model estimates, for one country and one year:

It is a planning and advocacy tool. It gives transparent, reproducible scenario estimates that can be challenged and adapted. It does not replace HAI surveillance, facility audits or a costed national plan, and its outputs are estimates, not measurements.

The economic framing (direct cost, productivity loss and mortality valuation of HAIs caused by inadequate WASH in health care facilities) follows the World Bank analysis by Hutton, Chase and Kennedy Walker [1]. The model is a port of an Excel model of Malawi (2015–2025), which remains the source of the reference series and the ward rates.

2. How the calculation works

Country data ─► admissions by ward ─► infections ─► deaths ─► share linked to WASH and IPC
                                                                     │
                       unit costs, output per worker, VSL ──────────►│
                                                                     ▼
                                              burden today  ─►  burden with the improvement
                                                                     │
                                       programme cost estimate ─────►│
                                                                     ▼
                                                     avoided burden, benefit-cost ratio

Every step is computed for each year from 2015 to 2025. Results are reported for the chosen focus year (default 2025). Two scenarios are run: today and with the improvement. They differ only in the share of the burden linked to WASH and IPC (section 7).

3. Data sources

All country data are loaded from public APIs that can be called from a web browser. Each source fails independently; when a series is missing, the step that needs it falls back to an assumption, and the result is marked.

Source and accessSeries usedUsed for
World Bank Indicators APIPopulation; GDP per capita; GDP per employed person; CPI inflation; current health expenditure per capita; hospital beds per 1,000; employment-to-population ratio; crude birth rateAdmissions, unit costs, productivity, GDP, IPC wages, facility births
UNICEF data warehouse (SDMX API): WHO/UNICEF JMPShare of hospitals with basic water, sanitation, hygiene and health care waste services; share of facilities with basic environmental cleaningSuggested WASH-conditions answer; programme cost
UNICEF data warehouse (SDMX API): UN IGMENeonatal deaths from sepsis, meningitis/encephalitis and lower respiratory infectionCap on newborn-unit deaths
UNICEF data warehouse (SDMX API): MNCHShare of births in a health facilityFacility births
UN SDG Global Database (SDG API)SDG 3.d.2: share of bloodstream infections due to E. coli resistant to 3rd-generation cephalosporins, and due to MRSA (WHO GLASS); SDG 3.d.1: IHR capacity for IPC (WHO e-SPAR, C9)AMR share; IPC capacity context
WHO Global Health Observatory (WHO xMart public API)Hospitals per 100,000 population (DEVICES00)Number of hospitals
WHO European Health for All database (bundled, refreshed yearly)Acute care hospital discharges per 100 people (HFA_536); average length of stay (HFA_540)Admissions in the 53 countries of the WHO European Region
Ministry of Health, MalawiMaster Health Facility Registry, February 2023 (via HDX)Number of hospitals in Malawi (98)
Ministry of Health, MalawiHarmonised Health Facility Assessment 2018–19: 10.07 inpatient beds per 10,000 people, reported in the Joint Annual Review 2023–24 [15]Hospital beds in Malawi, replacing the World Bank's 2011 figure

The older WHO GHO OData API is deprecated and returned server errors throughout development, so WHO data are taken from UNICEF, the UN SDG database and WHO's xMart API instead.

Observation years. Where a series has no value for the year being modelled, the nearest earlier observation is used; a later one is used only if it is at most two years ahead. The observation year is shown in every tooltip and in the export.

Built-in data. The app ships with a snapshot of Malawi's data so the first screen shows real figures at once, and with data for 131 low- and middle-income countries for the Countries tab. Both are rebuilt from the same APIs by scripts in tools/. When a country is open, its data are refreshed live in the background.

Without any country data the model runs on the built-in Malawi reference series (2015–2025) scaled by the current settings, and every result carries an "Indicative estimate" banner. These results must not be presented as country-specific.

4. Step 1: admissions by ward

Total admissions

Admissions = Population × Admissions per 1,000 people / 1,000

Admissions per 1,000 is seeded from the best available source, limited to 20–220:

  1. Measured discharges. Where the WHO European Health for All database reports acute care hospital discharges (47 countries), admissions per 1,000 = discharges per 100 × 10.
  2. Beds and measured stay. Where it reports only the average length of stay:

``text Admissions per 1,000 = Beds per 1,000 × 365 × 72% occupancy / measured average stay ``

  1. Beds and default stay. Elsewhere the same formula uses a 4.8-day stay.

The 72% occupancy and the 4.8-day default are assumptions. Without the measured data, the default stay overstated admissions in countries with long stays: Tajikistan, for example, reached the 220 limit, against 104 measured discharges per 1,000.

Malawi. Bed density comes from the 2018–19 Harmonised Health Facility Assessment (1.0 per 1,000) instead of the World Bank's 2011 figure (1.3), giving 55 admissions per 1,000. The Ministry's routine data report a bed occupancy of only 23.1% for 2023–24 [15]. That figure cannot be reconciled with about 670,000 facility births a year, so the model keeps 72% occupancy; the true number of admissions should be checked against national HMIS data.

Ward split. Admissions are divided between four wards: surgery, medicine, maternity and the newborn unit. When births data are available (the default):

Facility births         = Population × Crude birth rate / 1,000 × Share of births in a facility
Maternity admissions    = Facility births
Newborn-unit admissions = Facility births × 12%   (assumption; replace with HMIS data)
Surgery + medicine      = Total admissions − Maternity − Newborn unit   (at least 25% of the total)

Surgery and medicine keep the ratio of the chosen case-mix profile (general, maternal and newborn, referral or custom). Without births data, or when the "Ward admissions basis" lever is set to case-mix shares, all four wards are fixed shares of the total.

5. Step 2: infections

Each ward has a baseline HAI incidence per admission: surgery 15%, medicine 10%, maternity 8%, newborn unit 18%. These relative rates come from the original Excel model. They are calibrated so that their admission-weighted average equals a published pooled estimate for the country's region:

CountriesPooled HAI frequencySource
Sub-Saharan Africa12.9% (95% CI 8.9–17.4), 41 studiesMelariri et al. 2024 [2]
Other low- and middle-income countries15 per 100 patientsWHO global report on IPC 2024 [3]
High-income countries7 per 100 patientsWHO global report on IPC 2024 [3]
Calibration factor = Pooled frequency / (Σ ward admissions × baseline incidence ÷ Σ ward admissions)
Ward infections    = Ward admissions × min(Baseline incidence × Calibration factor × Incidence multiplier, 95%)

Point prevalence is used as an approximation of the share of admissions that acquire an infection. The earlier pooled estimate of 15.5 per 100 patients in developing countries (220 studies) by Allegranzi et al. [4] and the African estimate by Abubakar et al. [14] are consistent with these values. The incidence multiplier (1.0 by default) is set by the Simple-mode answer about WASH conditions (section 9). Setting the pooled-frequency lever to 0 switches calibration off.

6. Step 3: deaths

Ward HAI deaths = Ward infections × min(Baseline case fatality × CFR multiplier, 95%)
                  × (1 + AMR share × (AMR fatality uplift − 1))

Baseline case fatality: surgery 5%, medicine 4%, maternity 3%, newborn unit 18% (original Excel model). The AMR fatality uplift is 1.5. The AMR share is seeded as the mean of the two SDG 3.d.2 resistance percentages, limited to 5–95%. Resistance adds substantially to deaths from bacterial infection [5], but surveillance coverage is often thin, so the seeded share is indicative.

Newborn-unit cap. Newborn-unit HAI deaths cannot exceed 50% (adjustable) of the country's neonatal deaths from sepsis, meningitis and lower respiratory infection (UN IGME). Without this cap the model gave 4,472 attributable newborn-unit deaths for Malawi in 2025, more than the 3,741 national neonatal deaths from those causes; with it, 1,309. Neonatal infection risk in developing-country hospitals is known to be high [6], but it cannot exceed the national total. The cap also applies in the uncertainty analysis.

7. Step 4: the share linked to WASH and IPC, and the improvement

Attributable infections = Infections × Attribution
Attributable deaths     = Deaths × Attribution
Improved scenario       : Attribution × (1 − Prevention gain)

Attribution (default 70%) is the share of the HAI burden linked to weak WASH and IPC. A systematic review of 144 studies found that 35–55% of HAIs are preventable by IPC interventions, mostly in high-income settings [7]; higher values are assumed where basic WASH is missing. Prevention gain (default 30%) is the share of that attributable burden the improvement removes. Hand hygiene [13] and the WHO core components of IPC [12] are the main evidence base for these improvements. Both levers are set by Simple-mode answers and can be edited in Expert mode. Because the improvement scales only the attributable share, every measure (infections, deaths, each cost) falls by the same percentage, and the non-attributable burden is unchanged.

8. Step 5: costs

All costs are attributable costs in current US dollars.

Direct medical cost = Infections × (Bed-day cost × Extra length of stay + Treatment cost per HAI) × Attribution
Productivity loss   = Infections × Sick days after discharge × Productivity factor × Daily output per worker × Attribution
Mortality valuation = Attributable deaths × Value of a statistical life (VSL)
Total burden        = Direct + Productivity + Mortality
InputHow it is set
Bed-day costHealth expenditure per capita × population × 38% inpatient share ÷ occupied bed days (beds × population × 365 × 72%), limited to $5–$1,000
Treatment cost per HAI65% of the bed-day cost
Cost base yearObservation year of the health expenditure series used (2015 for the reference values)
Cost profileBed-day and treatment multipliers for lean (0.82, 0.78), baseline (1.0) or tertiary (1.3, 1.4) facilities
Extra length of stay6 days per HAI (assumption)
Sick days after discharge5 days (assumption)
Productivity factorEmployment-to-population ratio (World Bank), treating each sick day of an employed person as a lost day of output
Daily output per workerGDP per employed person ÷ 365
VSLReference case (default): US VSL of 160 × US GDP per capita, transferred with income elasticity 1.5, at least 20 × local GDP per capita [8]. Alternatives in Expert mode: a multiple of GDP per capita or of GDP per employed person

Inflation. Unit costs are moved from the cost base year to each analysis year, deflating before it and inflating after it. The default uses US consumer price inflation, because outputs are in US dollars. The alternatives are local CPI inflation, capped at 50% a year and shown for comparison only, or no adjustment.

Mortality valuation can be switched off ("health-system costs only"). Deaths are then still counted but not given a money value.

Value of a statistical life. The default follows the reference case for global benefit-cost analysis by Robinson, Hammitt and O'Keeffe [8]:

VSL = max(160 × US GDP per capita × (GDP per capita / US GDP per capita) ^ 1.5,  20 × GDP per capita)

US GDP per capita is the World Bank series for the same year, bundled with the app. For low-income countries the floor applies: Malawi's VSL is 20 × GDP per capita, about US$13,400. A middle-income country with GDP per capita of US$20,000 gets about 75 ×. Elasticity and floor are Expert levers; Robinson et al. use an elasticity of 1.0 as their sensitivity case.

Until November 2026 the default was 85 × GDP per capita, taken from the original Excel model. That roughly quadrupled the mortality valuation of low-income countries and put Malawi's burden at 3.26% of GDP. Even with the reference case, mortality is the largest part of the burden (61% for Malawi), so quote direct medical cost separately in budget discussions.

9. Simple mode and Expert mode

The two modes run the same model on the same inputs, and switching never changes a number. Simple mode sets levers through four questions:

QuestionAnswerLevers set
What kind of facilities?District and general hospitalsCase mix general, cost profile baseline
Maternity and newborn servicesCase mix maternal, cost profile lean
Large referral hospitalsCase mix referral, cost profile tertiary
WASH and IPC conditions today?Mostly in placeAttribution 50%, incidence multiplier 0.9
Partly in placeAttribution 70%, incidence multiplier 1.0
Largely missingAttribution 85%, incidence multiplier 1.15
How ambitious is the improvement?ModestPrevention gain 15%; water and hand hygiene package
SubstantialPrevention gain 30%; full WASH package
ComprehensivePrevention gain 45%; WASH plus IPC staff package
How to count lives lost?Health-system costs onlyMortality valuation off
Include lost incomeVSL = 20 × GDP per employed person
Include a full value of lifeVSL from the reference case: transfer with elasticity 1.5, at least 20 × GDP per capita

The default answers reproduce the default scenario exactly.

Suggested WASH answer. Until the user answers the second question, the answer is suggested from JMP data. The hospital WASH index is the mean share of hospitals with basic water, sanitation, hygiene, cleaning and waste services; the all-facility figure is used where the hospital figure is missing, which is usual for cleaning. An index of 75% or more suggests "Mostly in place", 45–75% "Partly in place", and below 45% "Largely missing". Service levels follow the JMP ladders [9].

Expert mode exposes every lever, editable ward rates and case-mix shares, the inflation basis, uncertainty and sensitivity analysis, saved scenarios and the full workbook export. Values edited in Expert mode show a "customised" notice in Simple mode, with an option to revert to the answers.

10. Step 6: programme cost and benefit-cost ratio

Unless the user enters a cost from a costed plan, the annual programme cost is estimated from API data and published unit costs.

Number of hospitals, best available source first:

  1. a national registry count (built in for Malawi: 98) or the user's own figure;
  2. WHO hospitals per 100,000 × current population (137 countries, 2013 data). The figure is rejected only if it implies fewer than 15 or more than 1,000 beds per hospital, and flagged for checking outside 30–400;
  3. World Bank beds ÷ median beds per hospital for the income group (low 133, lower-middle 113, upper-middle 174, high 275), derived from World Bank beds and WHO hospital density across 123 countries.

For Malawi, WHO density gives 88 hospitals, within 10% of the registry. OpenStreetMap data were tested and rejected because they tag 204 Malawi facilities as hospitals, most of them health centres.

Cost per hospital in 2020 US$, median hospital costs from Chaitkin et al. [10], Table 3. Sanitation uses the septic option.

ServiceCapitalRunning cost per year
Water4,5002,000
Sanitation18,0002,050
Hand hygiene2,5001,500
Health care waste21,0004,250
Hospitals to upgrade = Hospitals × (1 − share with basic service)              per service, JMP
Capital              = Hospitals to upgrade × capital cost × US price factor (2020 → focus year)
Annual cost          = Capital × capital recovery factor (10 years, 5%) + Hospitals to upgrade × running cost
IPC staff            = Beds ÷ 250 × GDP per capita × 4                         comprehensive package only

One trained IPC professional per 250 beds is the WHO minimum requirement [11, 12]; the wage multiple of 4 × GDP per capita is an assumption. The package follows the ambition answer.

This is a lower-bound cost. It covers WASH infrastructure, its upkeep and IPC staff, but not environmental cleaning, training, consumables or programme management, so the benefit-cost ratios are upper bounds.

Benefit-cost ratio (all burden)    = Avoided total burden ÷ Annual programme cost
Benefit-cost ratio (health system) = Avoided direct medical cost ÷ Annual programme cost
Net benefit                        = Avoided total burden − Annual programme cost
Cost per death averted             = Annual programme cost ÷ Avoided deaths

The health-system ratio is the conservative figure to quote. When no cost can be estimated or entered, the app shows the break-even cost instead: the highest annual cost at which the improvement still pays for itself. All figures are for one year, with no discounting beyond the capital annualisation.

11. Uncertainty and sensitivity

Monte Carlo. The focus year is simulated 4,000 times by default. The run is seeded, so results can be reproduced, and the seed is written to the export. In each draw the today and improved scenarios use the same sampled values:

ParameterDistributionRange around the current value
Incidence multiplierPERT0.75× to 1.25×
CFR multiplierPERT0.75× to 1.25×
AttributionPERT0.7× to 1.2×, at most 99%
AMR sharePERT0.8× to 1.2×, at most 99%
Extra length of stayTriangular0.55× to 1.45×, at least 1 day
Sick days after dischargeTriangular0.6× to 1.4×, at least 1 day
Unit costsTriangular0.8× to 1.2×
VSLTriangular0.75× to 1.25×

Mean, median and the 5th and 95th percentiles are reported for infections, deaths, total burden, avoided burden and avoided deaths. The intervals reflect only these parameters, not uncertainty in the data or the model structure.

Sensitivity (tornado). Each numeric lever is moved 25% down and up with everything else fixed. Levers are ranked by how much the result changes, which shows which assumptions to check first.

12. Comparing countries

The Countries tab runs the model for 131 low- and middle-income countries with the user's current choices. Every country-specific value (admissions, unit costs, resistance share, pooled HAI frequency, hospital count, and the WASH answer unless the user set it) is reseeded from that country's own data. A figure typed for one country is never reused for another.

Countries can be ranked by measures relative to their size (default: deaths avoided per 100,000 people), or by totals, which favour large countries:

MeasureFormula
Deaths or infections avoided per 100,000 peopleAvoided ÷ population × 100,000
Deaths avoided per 1,000 admissionsAvoided deaths ÷ admissions × 1,000
Burden avoided, % of GDPAvoided burden ÷ (population × GDP per capita)
Health-system spending avoided, % of health spendingAvoided direct cost ÷ (health expenditure per capita × population)
Burden avoided per personAvoided burden ÷ population
Benefit-cost ratios, hospital WASH indexAs in the single-country model

The page defaults to low and lower-middle income countries, because the ward rates come from low-resource settings and overstate upper-middle income countries. Countries with more than 3 beds per 1,000 people and no measured WHO Europe hospital data are hidden by default, because their bed-derived admissions are likely overstated. Every "partial data" tag explains which data are missing, what the model does instead, and where the data are published. Deaths avoided per 1,000 admissions and the share of health spending are the measures least affected by the admissions estimate.

13. Worked example: Malawi, 2025

Default answers (general hospitals, partly in place, substantial, full value of life) and the built-in data of 1 November 2026.

QuantityValue
Admissions per 1,000 (from 1.0 beds per 1,000, 2018–19 assessment)55
Total admissions1,221,887
Facility births, equal to maternity admissions670,428
Calibration factor (to 12.9%)1.32
All HAIs157,623
HAIs linked to WASH and IPC110,336
Deaths linked to WASH and IPC5,828 (newborn unit 1,309, capped)
Value of a statistical life20 × GDP per capita (floor applies)
Direct medical costUS$45.9 million
Productivity lossUS$4.1 million
Mortality valuationUS$78.3 million
Total burdenUS$128.3 million (0.86% of GDP)
Avoided by the improvement33,101 infections, 1,748 deaths, US$38.5 million
Health-system spending avoidedUS$13.8 million
Programme cost (98 hospitals)US$3.0 million capital; US$0.93 million a year
Benefit-cost ratio14.8 : 1 health system; 41 : 1 all burden

Fewer beds mean fewer admissions but a higher cost per bed day, because the same inpatient spending is spread over fewer bed days. Direct medical cost is therefore almost unchanged by the bed figure.

14. How the results compare with published estimates

This model (Malawi 2025)Published
HAI frequency12.9% of admissions (calibrated)12.9% sub-Saharan Africa [2]; 15 per 100 LMIC [3]; 15.5 per 100 developing countries [4]
Economic burden0.86% of GDP1.14% of GDP, Eastern and Southern Africa, 2022 [1]
Benefit-cost ratio14.8 (health system); 41 (all burden)5.8 for comprehensive WASH and waste management, all economic costs [1]

The model's burden is now close to, and slightly below, the World Bank regional estimate. Its benefit-cost ratios remain much higher, mainly because the programme cost leaves out cleaning, training, supplies and management, while the World Bank costs a comprehensive programme. Treat the ratios as upper bounds and test their sensitivity to attribution and prevention gain before quoting them.

15. Provenance tags

Every input carries a tag shown in the interface and the export: API direct (loaded from a data source), API + assumption (derived from data with a stated assumption), Simple mode choice, Manual override and Reference default. Tooltips give the formula, the inputs and their observation years.

16. Exports

17. Limitations

18. Before using results in a report

  1. Confirm the country, focus year and that the data are loaded.
  2. Check the hospital count, admissions and bed-day cost against national figures.
  3. Choose the VSL approach deliberately; consider "health-system costs only" for budget audiences.
  4. Run the uncertainty analysis and quote the 90% interval, not only the point estimate.
  5. Run the sensitivity analysis to see which assumptions drive the result.
  6. Replace the programme-cost estimate with a costed plan where one exists.
  7. Export the workbook and keep it with the report.

References

  1. Hutton G, Chase C, Kennedy Walker R. Costs of health care associated infections from inadequate water and sanitation in health care facilities in Eastern and Southern Africa. Policy Research Working Paper 10708. Washington, DC: World Bank; 2024. documents1.worldbank.org/curated/en/099428002212438578/pdf/IDU1fd9af37311cfe143471843c1e9de76a93d7e.pdf
  2. Melariri H, Freercks R, van der Merwe E, et al. The burden of hospital-acquired infections (HAI) in sub-Saharan Africa: a systematic review and meta-analysis. EClinicalMedicine 2024;71:102571. doi:10.1016/j.eclinm.2024.102571. PMID 38606166.
  3. World Health Organization. Global report on infection prevention and control 2024. Geneva: WHO; 2024. www.who.int/publications/i/item/9789240103986
  4. Allegranzi B, Bagheri Nejad S, Combescure C, et al. Burden of endemic health-care-associated infection in developing countries: systematic review and meta-analysis. Lancet 2011;377(9761):228–41. doi:10.1016/S0140-6736(10)61458-4. PMID 21146207.
  5. Antimicrobial Resistance Collaborators. Global burden of bacterial antimicrobial resistance in 2019: a systematic analysis. Lancet 2022;399:629–55. doi:10.1016/S0140-6736(21)02724-0. PMID 35065702.
  6. Zaidi AK, Huskins WC, Thaver D, et al. Hospital-acquired neonatal infections in developing countries. Lancet 2005;365(9465):1175–88. doi:10.1016/S0140-6736(05)71881-X. PMID 15794973.
  7. Schreiber PW, Sax H, Wolfensberger A, et al. The preventable proportion of healthcare-associated infections 2005–2016: systematic review and meta-analysis. Infect Control Hosp Epidemiol 2018;39(11):1277–95. doi:10.1017/ice.2018.183. PMID 30234463.
  8. Robinson LA, Hammitt JK, O'Keeffe L. Valuing mortality risk reductions in global benefit-cost analysis. J Benefit Cost Anal 2019;10(Suppl 1):15–50. doi:10.1017/bca.2018.26. PMID 32968616.
  9. WHO/UNICEF Joint Monitoring Programme. Progress on WASH in health care facilities: 2023 data update. 2024. washdata.org/reports/jmp-2024-wash-hcf
  10. Chaitkin M, McCormick S, Alvarez-Sala Torreano J, et al. Estimating the cost of achieving basic water, sanitation, hygiene, and waste management services in public health-care facilities in the 46 UN designated least-developed countries: a modelling study. Lancet Glob Health 2022;10(6):e840–49. doi:10.1016/S2214-109X(22)00099-7. PMID 35397226.
  11. World Health Organization. Minimum requirements for infection prevention and control programmes. Geneva: WHO; 2019. www.who.int/publications/i/item/9789241516945
  12. Storr J, Twyman A, Zingg W, et al. Core components for effective infection prevention and control programmes: new WHO evidence-based recommendations. Antimicrob Resist Infect Control 2017;6:6. doi:10.1186/s13756-016-0149-9. PMID 28078082.
  13. Allegranzi B, Pittet D. Role of hand hygiene in healthcare-associated infection prevention. J Hosp Infect 2009;73(4):305–15. doi:10.1016/j.jhin.2009.04.019. PMID 19720430.
  14. Abubakar U, Amir O, Rodríguez-Baño J. Healthcare-associated infections in Africa: a systematic review and meta-analysis of point prevalence studies. J Pharm Policy Pract 2022;15(1):99. doi:10.1186/s40545-022-00500-5. PMID 36494700.
  15. Ministry of Health, Malawi. Joint Annual Review report, 2023–24 financial year. Lilongwe: Ministry of Health; 2024. health.gov.mw/storage/resources/Annual%20Report%202023-24%20FY_FINAL_06122024docx%201.pdf

Journal references were checked against their PubMed records, and web links were checked, on 1 November 2026.