Free Tool
QALY Calculator
Calculate quality-adjusted life years (QALYs) for two scenarios from the utility and duration of each health state, with or without discounting, and see the QALYs gained by the new scenario.
The calculator opens with the hypothetical worked example below.
Default 3.5%. Enter 0 for no discounting. First year undiscounted.
Scenario A · comparator
Health state 1
Health state 2
Scenario B · new
Health state 1
Health state 2
Results
| Scenario | Undiscounted QALYs | Discounted QALYs |
|---|---|---|
| Current care | 1.550 | 1.513 |
| New treatment | 2.500 | 2.405 |
| QALYs gainedNew treatment minus Current care | 0.950 | 0.892 |
Discounted at 3.5% a year; the first year is not discounted and partial years count pro rata. Totals cover 2.5 years for Current care and 3.5 years for New treatment.
Show the calculation for each health state
Current care
| Health state | Years | Utility | Undiscounted | Discounted |
|---|---|---|---|---|
| Stable disease | 0–1.5 | 0.7 | 1.050 | 1.038 |
| Progressed disease | 1.5–2.5 | 0.5 | 0.500 | 0.475 |
New treatment
| Health state | Years | Utility | Undiscounted | Discounted |
|---|---|---|---|---|
| Stable disease | 0–2.5 | 0.8 | 2.000 | 1.946 |
| Progressed disease | 2.5–3.5 | 0.5 | 0.500 | 0.459 |
Educational tool. This calculator is for learning and quick checks. It is not a substitute for a full economic model, which handles time, uncertainty and the methods an HTA body requires, or for an HTA submission. Calculations run in your browser and the numbers you enter are not stored.
Method
How the calculation works
A QALY combines length and quality of life in one number: one year in full health counts as 1 QALY, and a year in a health state with a utility of 0.5 counts as 0.5 QALYs. Each health state contributes its utility multiplied by the time spent in it.
- ui
- Utility of health state i, on a scale where 1 is full health and 0 is a state equivalent to being dead. Negative values describe states valued as worse than dead. This calculator accepts −0.594 to 1.
- di
- Time spent in health state i, in years. States follow one another: the first starts at year 0, the next when the previous one ends.
- yi,t
- The part of year t (the interval from t − 1 to t) spent in state i, between 0 and 1.
- r
- Annual discount rate, for example 0.035 for 3.5%. With r = 0, discounted and undiscounted QALYs are equal.
Discounting convention used on this page
Annual discounting with the first year undiscounted. Time is split into years counted from the start of the analysis: year 1 runs from 0 to 1, year 2 from 1 to 2, and so on. Year t (t = 1, 2, 3, …) is weighted by 1 ÷ (1 + r)t − 1, and partial years count pro rata. The first year therefore has a weight of 1, the second 1 ÷ (1 + r), the third 1 ÷ (1 + r)², and so on.
QALYs gained are the QALYs of scenario B minus those of scenario A, worked out separately for undiscounted and discounted values. The same convention is used in the discounting calculator, and the QALYs gained can be fed into the ICER calculator.
Worked example
Worked example (hypothetical)
Current care: 1.5 years with stable disease (utility 0.7), then 1 year with progressed disease (utility 0.5). New treatment: 2.5 years with stable disease (utility 0.8), then 1 year with progressed disease (utility 0.5). Discount rate 3.5% a year. All values are hypothetical and are the default inputs of the calculator above.
Undiscounted
- Current care: 0.7 × 1.5 + 0.5 × 1 = 1.05 + 0.5 = 1.550 QALYs
- New treatment: 0.8 × 2.5 + 0.5 × 1 = 2.0 + 0.5 = 2.500 QALYs
- QALYs gained: 2.500 − 1.550 = 0.950
Discounted at 3.5%
Year weights: year 1 = 1, year 2 = 1 ÷ 1.035 = 0.9662, year 3 = 1 ÷ 1.035² = 0.9335, year 4 = 1 ÷ 1.035³ = 0.9019.
- Current care, stable (years 0 to 1.5): 0.7 × (1 + 0.5 × 0.9662) = 1.038
- Current care, progressed (1.5 to 2.5): 0.5 × (0.5 × 0.9662 + 0.5 × 0.9335) = 0.475
- Current care total: 1.038 + 0.475 = 1.513 QALYs
- New treatment, stable (0 to 2.5): 0.8 × (1 + 0.9662 + 0.5 × 0.9335) = 1.946
- New treatment, progressed (2.5 to 3.5): 0.5 × (0.5 × 0.9335 + 0.5 × 0.9019) = 0.459
- New treatment total: 1.946 + 0.459 = 2.405 QALYs
- QALYs gained: 2.405 − 1.513 = 0.892
Discounting reduces the gain from 0.950 to 0.892 QALYs because the extra benefit of the new treatment arrives in later years, which carry lower weights.
In practice
How HTA bodies use this
HTA bodies that use cost-utility analysis measure health benefit in QALYs and compare technologies by the cost per QALY gained. Utilities usually come from a generic preference-based questionnaire such as the EQ-5D, converted to utilities with a country-specific value set; check the methods guide of the agency you work with for its preferred instrument and value set. QALYs are discounted at the rate that guide sets, and the discounting calculator lists published rates with links to their sources.
In a submission, QALYs do not come from fixed durations. They come from an economic model, such as a Markov or partitioned survival model, that follows a cohort through health states cycle by cycle, accounts for mortality and applies within-cycle corrections. This calculator shows the arithmetic underneath those models.
Utilities, QALYs and where the numbers come from are covered in Module 6: Measuring Health Outcomes, and discounting in Module 5: Health Economics Fundamentals.
- BlogWhat Is a QALY? The Quality-Adjusted Life Year Explained
- BlogEQ-5D Explained: Questionnaire, Value Sets and Utility Values
- BlogMarkov Models in Health Economics: A Practical Guide
- BlogICER: The Incremental Cost-Effectiveness Ratio and Thresholds
- Course · Module 6Measuring Health Outcomes
- Course · Module 5Health Economics Fundamentals
FAQ
Frequently asked questions
More free tools