I went through a phase of contour counting to check what the various online programs were calculating.
It's very hard work, and the answers vary depending on which scale contour map you use, e.g. 1:25,000 or 1:50,000 etc
I'm certain that I've had answers from Steve S far quicker than he could possibly have done using contour counting, so I'm sure he has a program....