elevation gain formula. There are any references about elevation gain formula in here. you can look below.