What you have written is confusing.
I think the expressions have been muddled up.
I hope this information helps.
What is the difference between degrees and percent slope?
The difference in elevation between points is called the rise. The distance between the points is called the run. Thus, percent slope equals (rise / run) x 100. ... Since degree of slope is equal to the tangent of the fraction rise/run, it can be calculated as the arctangent of rise/run.
Slope - Degree, Gradient and Grade Calculator
Engineers Box of tricks