About the Slope Calculator
A free tool for finding the slope, intercepts, and equation of a line — with steps and a graph.
What it is
The Slope Calculator finds the slope, y-intercept, x-intercept, and equation of a line from three different starting points: two coordinates, a point plus a slope, or a line equation in slope-intercept or standard form. Every result comes with full step-by-step working and a live graph, so you can see both the numbers and the geometry behind them.
Features
Three input modes
Two points, point + slope, or equation input — switch with a single tab.
Slope-intercept and standard form
Every line is expressed in both y = mx + b and Ax + By = C form.
Exact fraction answers
Slopes and intercepts are simplified to fractions rather than rounded decimals.
Step-by-step working
Slope formula substitution, intercept derivation, and form conversion, labelled clearly.
Special-case handling
Vertical and horizontal lines are explained clearly, never a division-by-zero error.
Live SVG graph
The line, its intercepts, and the input points are plotted and update on every solve.
Copy result
Copy the slope, intercepts, and equation as plain text with one click.
Fully client-side
All computation runs in your browser — no data ever leaves your device.
Why slope matters
Slope describes the rate of change between two quantities, and linear equations built from it show up everywhere — from calculating grades on a road or roof, to modelling cost versus quantity in economics, to describing velocity in physics. Understanding how to find a slope and write a line's equation is one of the foundational skills in algebra.