# Gradients and intercepts

**Gradients of straight-line graphs**

A **gradient** of a line in a graph is the measure of the steepness of the line. This can be positive, negative or zero if it is flat. For example:

**Calculating gradients**

The gradient of a graph can be worked out using the following formula:

Therefore the following coordinate pairs are inserted into the formula as follows:

(*x*1, *y*1) and (*x*2, *y*2)

** The general equation of a straight line**

The equation of a straight line is *y* = *mx* + *c*

*m* = the gradient

*c* = where the line crosses the *y*-axis

**Rearranging equations into the form ***y* = *mx* + *c*

*y*=

*mx*+

*c*

In scenarios where the equation of a straight line graph is not given in the form *y* = *mx* + *c, *then the equation should be re-arranged to be converted to this form.

Once it is converted to the *y* = *mx* + *c* form, the gradient and the *y* intercept can be determined.