Also the Mountain Flying Bible, Chapter 2 on performance pg 2-19 has a discussion. saying a 4% downslope decreases distance by 19.5% and increases takeoff by 25.5%
Found this article which gives rules of thumbs and some theory
https://www.avweb.com/flight-safety/technique/downwind-or-downhill/