Mechanical advantage is calculated by using the formula:

a
Force of Friction/Gravity
b
Normal Force/ Acceleration
c
Length of Slope (L) / Height of slope (H)
d
Height of Slope (H) / Length of Slope (L)

d