Calculate the change in height from one point to another. For example, if the height at the first point is y1, and the height at the second point is y2, then the change in height is y2-y1.
Calculate the change in distance from one point to the other. For example, if the distance at the first point is x1, and the distance at the second point is x2, then the change in distance is x2-x1.
Divide the result from step 1 by the result from step 2. This yields (y2-y1)/(x2-x1). This is the formal equation for the slope between two points.
Multiply the results from step 3 by 100 to yield the percent grade. The final equation is "% grade = 100*(y2-y1)/(x2-x1)."