Slope Calculator
Use two coordinates to find the rise, run, slope and equation of a line, with a matching coordinate diagram.
Available languages
How to use this slope calculator
- Enter point 1 · x, point 1 · y, point 2 · x.
- Check the labels and units before comparing the output.
- Read slope and the breakdown. Change one input to see how the result and visual respond.
Formula and method
What the result includes
Use two coordinates to find the rise, run, slope and equation of a line, with a matching coordinate diagram.
A vertical line has no finite slope. Identical points cannot define one unique line.
Worked example
Here is one reproducible example:
- Point 1 · x: 1
- Point 1 · y: 2
- Point 2 · x: 5
- Point 2 · y: 4
Slope: 0.5.
- Rise: 2
- Run: 4
- Line equation: y = 0.5x + 1.5
The example is rounded for readability; calculations use unrounded intermediate values.
Questions about this calculator
What does the slope calculator calculate?
Use two coordinates to find the rise, run, slope and equation of a line, with a matching coordinate diagram.
What assumptions should I check?
A vertical line has no finite slope. Identical points cannot define one unique line.
Can I export my calculation?
Yes. Download CSV exports the result and available calculation table. Save visual SVG exports a sharp vector illustration. Calculations run in your browser.
Found a result that does not match your inputs? Report the inputs and result to support@viewearn.in.