yCalculator

Gradient Calculator

Last updated: June 2026

Gradient Calculator

Rise
10
Run
5
Gradient / slope
2
Slope / gradient
2
Y-intercept
(0, 0)
X-intercept
(0, 0)
Slope-intercept form
y = 2x + 0
Standard form
-2x + y = 0
Point-slope form
y - 2 = 2(x - 1)

Formula

gradient = slope = rise / run = (y2 - y1) / (x2 - x1)

About this calculator

Gradient Calculator helps students, teachers, and practical users work with coordinate geometry, algebra, graphing, and sequence problems. Use it for UK GCSE-style gradient questions, including rise, run, positive gradients, negative gradients, and vertical lines. The calculator is built for learning as well as quick checking, so it shows the key formula, the main result, and supporting values that help explain the answer.

Gradient Calculator method

The calculator subtracts y-values to find rise, subtracts x-values to find run, then divides rise by run.

  • gradient = rise / run
  • rise = y2 - y1
  • run = x2 - x1

How to use the Gradient Calculator

  1. Enter the points, equation, coefficients, or sequence values requested by the calculator.
  2. Check signs carefully, especially negative coordinates, negative gradients, and standard-form coefficients.
  3. Review the highlighted result first, then use the supporting values to understand how it was found.
  4. Compare the equation forms or formula breakdown if your homework asks for working.
  5. Change one value at a time when comparing different lines, curves, or sequences.
  6. Round only at the final answer unless your worksheet or exam question gives a rounding rule.

Worked examples

Positive gradient

Input: (1, 2) to (5, 10).

Calculation: Rise = 8, run = 4, gradient = 8 / 4.

Result: Gradient = 2.

Negative gradient

Input: (1, 8) to (5, 0).

Calculation: Rise = -8, run = 4.

Result: Gradient = -2.

What this calculator is useful for

A gradient of 2 means that for every 1 unit to the right, the line goes 2 units up.

For UK maths work, the word gradient is often used where US resources say slope. The calculation is the same: rise divided by run, or change in y divided by change in x.

Common notation

NotationMeaning
mSlope or gradient
bY-intercept in y = mx + b
Ax + By = CStandard form of a line
x1, y1Coordinates of the first point
nTerm number in a sequence

When to show extra working

If the answer is for homework, an exam-style question, or a worksheet, include the formula substitution as well as the final value. For example, write the rise and run before simplifying the gradient, or show the completed square when converting a circle equation.

Common mistakes and edge cases

  • A vertical line has undefined slope because the run is zero.
  • A horizontal line has slope 0 and may not have an x-intercept unless it is y = 0.
  • Negative signs in coordinates and equations are the most common source of wrong answers.
  • Equivalent equation forms can look different but describe the same line or curve.
  • Sequence formulas assume the pattern is truly arithmetic or geometric.

Limitations

This calculator is for general educational information only. It follows standard school-level algebra and coordinate geometry methods, but your course, teacher, or software may prefer a specific form, rounding convention, or notation.

  • Check whether your answer must be exact, decimal, fractional, or rounded.
  • Equation parsing supports common typed forms and may not understand every possible algebra layout.
  • For high-stakes engineering, design, or technical work, verify calculations independently.

Frequently asked questions

Is gradient the same as slope?

Yes. In UK maths, gradient is the common term. In many US resources, the same calculation is called slope.

What is y = mx + b?

It is slope-intercept form. m is the gradient and b is the y-intercept.

What happens if the line is vertical?

The gradient is undefined because x does not change, so the run is zero.

Why do equivalent equations look different?

A line can be written in slope-intercept, point-slope, or standard form. The forms are algebraically equivalent.

Should I round the result?

Use exact values where possible and round at the end according to the question instructions.

Related calculators

  • Slope and Y-Intercept Calculator
  • Line Through Two Points Calculator
  • Rate of Change Calculator

What does this mean?

This calculator is designed to help you understand the likely number before you make a decision or start an application.

Your result should be checked against official UK guidance, especially if your circumstances include dependants, exemptions, prior leave, or a complex immigration history.

Treat the figure as a planning tool rather than legal advice. Where the answer affects an application deadline or major payment, speak to an authorised adviser.

Related Math calculators

math calculators

Triangle Calculator

Solve any triangle using SSS, SAS, ASA, AAS, SSA, right triangle, and Pythagorean theorem modes

Calculate ->

math calculators

Area Calculator

Calculate the area of common 2D shapes with formula substitutions and unit conversions

Calculate ->

math calculators

Volume Calculator

Calculate the volume and surface area of common 3D shapes with full working and practical litre conversions

Calculate ->

You might also need

math calculators

Slope and Y-Intercept Calculator

Calculate slope, y-intercept, x-intercept, midpoint, distance, and line equations

Calculate ->

math calculators

Line Through Two Points Calculator

Find the equation of a line through two coordinate points with all common forms

Calculate ->

math calculators

Rate of Change Calculator

Calculate average rate of change between two points or values

Calculate ->