Skip to main content

Gradient Calculator

Calculate slope between two points.

Calculate gradient

How to Use

  1. Enter x and y values for both points
  2. Submit the form to compute slope and intercept
  3. Review the line equation and direction

What is gradient?

Gradient (or slope) measures change in y divided by change in x between two points.

Interpreting slopes

  • Positive slope: increasing line
  • Negative slope: decreasing line
  • Zero slope: horizontal
  • Undefined slope: vertical

Frequently Asked Questions

What happens when x values match?
The run is zero, so the gradient is undefined and the line is vertical.
Can I get the line equation?
Yes, the calculator shows y = mx + b when the slope is defined.

Related Calculators

math
Distance Calculator – Calculate Distance Between Two Points

Calculate distance between two points in 2D or 3D space

math
Angle Calculator

Convert angles and explore related properties.

math
Absolute Value Inequalities Calculator

Solve absolute value inequalities with steps