Loading…

How to use Slope & Line Equation

Enter two points and the calculator returns the slope, the y-intercept and the full y = mx + b line equation with steps.

Frequently asked questions

How is slope calculated?

Slope m = (y₂−y₁)/(x₂−x₁), the rise divided by the run between the two points.

What if the line is vertical?

A vertical line has an undefined slope because the run (x₂−x₁) is zero; the calculator reports this.

Does it give the line equation?

Yes — it returns the slope-intercept form y = mx + b along with the slope and intercept.

More Math Calculators

Angle Calculator
Triangle, supplementary, and complementary angles.
Arc Length Calculator
Arc length and sector area from radius and angle.
Golden Ratio Calculator
Golden dimensions from one measurement.
Coordinate Line Properties
Slope, distance, midpoint, and equation together.
Circle Calculator
Full circle report from radius, diameter, circumference, or area — solves all four properties at once with formulas.
Triangle Solver (SSS)
Solve a triangle from three sides: Heron area, perimeter, all three interior angles, and equilateral/isosceles/scalene type.
Sphere Calculator
Sphere volume, surface area, diameter, and great-circle circumference from the radius with exact formulas.
Cylinder Calculator
Cylinder volume, base area, lateral surface, and total surface area from radius and height with formulas.
Cone Calculator
Cone volume, slant height, lateral surface, base area, and total surface area from radius and height.
Ellipse Calculator
Ellipse area, Ramanujan perimeter, eccentricity, and focal distance from the two semi-axes.
Regular Polygon Calculator
Regular polygon interior/exterior angle, perimeter, apothem, area, and circumradius from side count and length.
Trapezoid Calculator
Trapezoid area, median (midsegment), and perimeter from the two parallel sides, height, and legs.

← View all Math CalculatorsBrowse all 1,100+ tools →