Method
Slope m = (y₂ − y₁)/(x₂ − x₁), and y-intercept b = y₁ − mx₁, giving y = mx + b.
Math worksheet
Find rise, run, slope, intercept, angle and the equation of the line through two coordinate points.
The calculation runs locally. Exact-integer tools avoid floating point; decimal and transcendental tools report rounding limits.
Method and verification guide
Slope m = (y₂ − y₁)/(x₂ − x₁), and y-intercept b = y₁ − mx₁, giving y = mx + b. The calculator keeps the intermediate values visible so you can reproduce the answer independently.
Slope m = (y₂ − y₁)/(x₂ − x₁), and y-intercept b = y₁ − mx₁, giving y = mx + b.
Positive slope rises left-to-right, negative slope falls, zero slope is horizontal, and equal x-values form a vertical line.
A vertical line has undefined slope and cannot be written in y = mx + b form.
Everything runs in this browser. Inputs are not sent to an external calculator.
Displayed values may be rounded for readability while calculations use full floating-point precision unless the tool explicitly uses exact integers.
A vertical line has undefined slope and cannot be written in y = mx + b form.
Simple by design
Use realistic values in each field. You can change them anytime.
The formula runs locally, so there is no account or waiting time.
Treat the answer as a practical estimate for your next decision.