Question: what is the formula for calculating a gradient?
Answer: The gradient can be found by finding how much the line goes up - the rise, and dividing it by how much the line goes down - the run. Hence, the equation for the gradient = rise / run, or gradient = change in y / change in x.