In mathematics, the gradient (also called slope) of a line describes both its direction and its steepness. It is often denoted by the letter 'm'. A positive gradient means the line goes up from left to right, while a negative gradient means it goes down.