The gradient of a straight line indicates how steep the line is. The gradient is calculated by taking the rise over the run between two points on the line. When the equation of a line is written in the form y=mx+c, the gradient m represents the slope and c represents the y-intercept. The gradient can be found by taking the difference of the y-coordinates and dividing by the difference of the x-coordinates between two points.