Formula for gradient = dy/dx ; which are perpendicular measurements,
gradient equals (change in vertical height) divided by (change in horizontal distance).
But it doesn't really make that much difference for small angles like 10%. See what I mean by drawing a 90° triangle with a 10cm horizontal base and 1cm vertical height. Measure the hypotenuese (diagonal) and compare it to the 10cm base.