I'm looking for a simple tool that lets you put in AT mile point A and mile point B, and it will tell you the cumulative elevation gain for that section? e.g., a single day of hiking, or for a section hike.

If one doesn't exist yet, I'm happy to write one.

Thanks