It doesn't depend on angle of ascent, it's the energy required to lift a 4000+ lb car 1000 ft. Just figure the mile energy usage and add 6 miles additional/1000 ft. You get back about 4 miles/1000 ft. going down but if you get to zero first, you done. Lets say your planing to arrive at a destination 6000 ft higher with 10 miles remaining. You will use about an extra 36 miles to get there. If you're 40 miles away and have 50 miles remaining, you won't make it. I think the trip energy prediction accounts for it