Slope of a Line

Calculate Slope of a Line instantly with the exact formula and a worked example. Free online calculator — no signup, works on mobile.

Slope of a Line

x₁
y₁
x₂
y₂
Slope k
2
Calculate Slope of a Line instantly with the exact formula and a worked example. Free online calculator — no signup, works on mobile.

More about: Slope of a Line

What it calculates

The “Slope of a Line” calculator computes Slope k from 4 parameters: x₁, y₁, x₂, y₂.

A core calculation for studying, engineering tasks, and checking solutions.

Example calculation

With parameters x₁ = 0, y₁ = 0, x₂ = 4, y₂ = 8 the result is 2.

How to use

  1. Enter the parameter values — every field above is adjustable with a slider.
  2. The result and related metrics are calculated automatically as you type.
  3. Use the additional metrics shown (if any) where needed.
  4. Copy the result or bookmark the page.

Related calculators