Formula:
The Slack Time (S) for an activity is calculated by:
S = LF - EF
or
S = LS - ES
Where:
LF = Late Finish Time
EF = Early Finish Time
LS = Late Start Time
ES = Early Start Time
Slack time represents the maximum amount of time an activity can be delayed without delaying the overall project completion.