Activity health

Activity Center > Activities

The health of an activity is assessed using two indices: SPI and CPI (See SPI and CPI thresholds for more details).


CPI calculated as follows:


1. If Hours left = 0:


2. If Hours left > 0:



SPI is calculated using the formula:




StartDate, EndDate, Progress, EstimatedHours, HoursLeft, and ActualHours are activity parameters, and

CurrentDate is the current date.



StartDate, EndDate, Progress, EstimatedHours, HoursLeft, and ActualHours are activity parameters, and CurrentDate is the current date.



Activity whose start date is today has SPI=1 even if its progress is zero.



"Definitely bad" index


SPI is 'definitely bad' when the end date is in the past.


CPI is 'definitely bad' when Actual Hours > Estimated Hours and Hours left = 0.



Health color coding


The chart explains the color coding being used to show what health a given activity has:



CPI/SPI Values

Color Code


Both indices are at or above their thresholds.

Healthy activity (when one of the indices is good and the other is unavailable*, or both SPI and CPI are good)

One index is below and the other is above its threshold or N/A.

Activity is at moderate risk (CPI is good and SPI is bad, or vice versa)

Both indices are below their thresholds.

Activity is at high risk (both CPI and SPI are below the threshold, or either SPI or CPI is definitely bad (DB))


* The conditions under which SPI and CPI are not calculated (not available) are given in the notes below.



Calculating CPI and SPI individually


Use 'Allow calculating CPI and SPI individually' (Settings > General > Advanced settings > Project Health (Earned Value Analysis) settings) to make sure one of the indices is calculated when the other one is unavailable.




The default threshold for both CPI and SPI is 1.


The threshold is a value you set to match CPI and SPI against.


Generally, the higher the threshold the stricter your requirement for activity cost or schedule performance is.


However, setting the thresholds needs to be done with care. For example, 'having a CPI that is very high (in some cases, very high is only 1.2) may mean that the plan was too conservative, and thus a very high number may in fact not be good, as the CPI is being measured against a poor baseline. Management or the customer may be upset with the planners as an overly conservative baseline ties up available funds for other purposes, and the baseline is also used for manpower planning.' (a Wikipedia article on EVA).


If an activity has no Estimated Hours and/or Actual Hours, CPI is not calculated at all. Such an activity is 'green', if its SPI is above the threshold. If SPI is below the threshold, the activity is 'yellow' (at risk) if it is on schedule, or 'red' (troubled) otherwise.


Only activities with the following characteristics are used in the calculation:



Activity's start date is less than the current date so the activity is current.


Activity's status Is open or equal to open - those with a status equal to completed or on hold are not included in the calculation