Usually, it's the total elevation gain over the ride. So, you go up - and it adds to the number. You go down, it doesn't subtract. For 50 miles, I'd say that's middle of the road.

CA