Free online gradient calculator is the best online tool that calculates the gradient of a straight line with two points. Just provide the inputs in the input fields and click on the calculate button then you will get the answers effectively.

Gradient Calculator
1st horizontal coordinate (x1) :
1st vertical coordinate (y1) :
2nd horizontal coordinate (x2) :
2nd vertical coordinate (y2) :
You may set the number of decimal places in the online calculator. By default there are only two decimal places.
Decimal Places


Gradient Calculator: If you are struggling for finding the gradient of a straight line. Take help from our online gradient calculator tool that gives you the result instantly. Just by giving inputs you will get output. In addition to that, you will also know the step-by-step procedure on how to calculate the gradient manually. Check the steps and examples below.

How to Find Gradient of a Straight Line?

A gradient is simply defined as the mathematical way of calculating how fast the line rises and falls. And the notation of the gradient is ''m''. If the line is horizontal then the gradient of a line is 0. And if the line is vertical then the gradient is undefined.

To calculate the gradient we need two points they are (x₁,y₁) and (x₂,y₂). Based on these points we will measure the gradient. The formula of the gradient is,

Gradient (m) = rise / run

Where,

rise = y2 - y1

run = x2 - x1

Now we will see the steps to measure the gradient of a straight line manually using two points. Follow the steps carefully which are given below.

  • Take the two points that are given in the problem.
  • After that, take the first point as (x1,y1) and the second one as (x2,y2).
  • Then, calculate the rise and run by using those two points, rise = y2 - y1, run = x2 - x1.
  • Now, apply the formula of the gradient, m = rise/run.
  • Finally, after solving it we will get the result.

Example:

Question: Find the gradient of a line going through the points (2,3) and (7,4)?

Solution:

Given points (2,3) and (7,4)

(x1,y1)= (2,3)

(x2,y2) =(7,4)

Now we need to find out the rise and run.

rise = y2 - y= 4-3 = 1.

run = x2 - x1 = 7-2 = 5.

Apply the formula of gradient,

Gradient (m) = rise / run

= 1/5 = 0 

Therefore, a gradient is positive and the line is increasing.

If you would know more about maths calculators easily, click on the website onlinecalculator.guide

FAQs on Gradient calculator

1. What is a gradient of a line?

A gradient of a line shows how steep the line is. And it is denoted by the letter m.

2. How do you calculate the gradient?

To calculate the gradient we need two coordinates, (x1,y1) and (x2,y2) and the formula of gradient is, Gradient (m) = rise / run.

3. How to find the gradient of a straight line using the calculator?

A gradient of a straight line is calculated simply by giving the inputs in the input fields and clicking on the calculate button you will get the answer in seconds.

4. What is the website that offers a gradient calculator?

onlinecalculator.guide is the best website that offers a gradient calculator.