Gradient Calculator

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

You may also be interested in our Slope Calculator.

Gradient Calculator
DetailDimensions
x1
y1
x2
y2
Rise
Run
Gradient (m)
Description
[ 1 Votes ]

About the Gradient Calculator

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

  • 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: Gradient size, affects rise and y2

You may also be interested in our Slope Calculator.

Slope Calculator Formula

This slope calculator includes the following formulas

rise = y2 - y1
run = x2 - x1
Gradient = rise / run

Math Calculators

You may also find the following Math calculators useful.