Sign in Contact

Gradient Calculator

This calculator finds the gradient (slope) of a straight line

A line that slopes up from left to right has a positive gradient

A line that slopes down from left to right has a negative gradient

The gradient of a vertical line is undefined

The gradient of a horizontal line is 0

The notation for a gradient is m

You may also be interested in our Slope Calculator.

Gradient Calculator

Detail Dimensions Comments, Effect of change
x1 First horizontal co-ordinate, affects run and gradient
y1 First vertical co-ordinate, affects rise and gradient
x2 Second horizontal co-ordinate, affects run and gradient
y2 Second vertical co-ordinate, affects rise and gradient
rise Vertical height, affects y2 and gradient
run Horizontal height, affects x2 and gradient
Gradient(m) Gradient size, affects rise and y2
Description

You can refine the calculations by controlling the number of decimal places that the calculator calculates to. The default is 2 decimal places.

You may also be interested in our Slope Calculator.

About the Slope Calculator

This slope calculator includes the following algorithms

  • rise = y2 - y1
  • run = x2 - x1
  • Gradient(m) = rise / run

Popular Math Calculators

People who used the 'Gradient Calculator | Online Math Calculators' also viewed the following math calculators: