How is the progress/prediction graph calculated?

With the calculations below, we provide an "achievable" end-of-season goal to keep runners motivated.

the calculation explanation here