Home About Contact
Categories
Text Tools 51 Calculators 42 Converters 31 Developer Tools 64 SEO Tools 29 Image Tools 54 Security Tools 13 Social Media 28 Document Tools 54 Utility Tools 67 Health & Fitness 52 Finance Tools 78 Education & Study 84 Audio & Video 29 Printables & Templates 50 Games & Puzzles 30

Slope Calculator (Line Equation from Two Points)

Find the slope, line equation (y = mx + b), distance, midpoint and angle between two points – with step-by-step working.

Education & Study Free Private

Enter values

What is the Slope Calculator?

Enter two points (x₁, y₁) and (x₂, y₂) to get the slope m, the equation of the line in slope-intercept form (y = mx + b), the distance between the points, the midpoint and the angle of the line.

Great for coordinate geometry homework, graphs and checking gradients in construction (ramps and roofs).

How to use the Slope Calculator

  1. Enter x₁, y₁ and x₂, y₂.
  2. Read the slope, equation and other results with working.

Formulas

  • Slope m = (y₂ − y₁) / (x₂ − x₁)
  • b = y₁ − m·x₁
  • Distance = √((x₂−x₁)² + (y₂−y₁)²)
  • Midpoint = ((x₁+x₂)/2, (y₁+y₂)/2)

This Slope Calculator is 100% free, needs no signup and runs privately in your browser – on phone, tablet or computer.

Last updated: · By NodifyTech