Slope and Line Calculator
Find a line’s slope and y-intercept from two Cartesian points. Check the horizontal and vertical differences used in the calculation.
- Free
- No sign-up
- Runs in your browser
Someone shared this result with you. It was made with Slope and Line Calculator, free on VISU, no sign-up.
Result
Enter the required values to see your result. Use the example to try the complete calculation.
Vertical lines have no finite slope and are reported explicitly. Identical points do not determine a unique line. Coordinates are Cartesian, not map locations.
How this calculation works
Slope and Line Calculator
Find a line’s slope and y-intercept from two Cartesian points. Check the horizontal and vertical differences used in the calculation.
Units and limits
Vertical lines have no finite slope and are reported explicitly. Identical points do not determine a unique line. Coordinates are Cartesian, not map locations.
Formulas
- Calculation
- m = (y2 − y1)/(x2 − x1); b = y1 − m × x1
Give your project a place to be found
Use VISU Link to bring your project links together on one page. This calculator remains free and works without an account.
Discover VISU LinkHow to use it
- Choose the operation when available and enter your own values in the labelled fields.
- Check the units and the limits explained below before interpreting the answer.
- Read the result and its details. Copy it or download a result card; no account is required.
Examples
Worked example
Points (1,2) and (4,8) give slope 2 and intercept 0.
Another case
Points (0,5) and (2,5) form a horizontal line with slope 0.
Add this tool to your site
Put this tool on your blog, store or club site. It runs inside your page, free, with no account, and a small "by VISU" credit line under it.
Questions
What does this tool calculate?
Find a line’s slope and y-intercept from two Cartesian points. Check the horizontal and vertical differences used in the calculation.
Which inputs and units should I use?
Vertical lines have no finite slope and are reported explicitly. Identical points do not determine a unique line. Coordinates are Cartesian, not map locations.
Can I check a worked example?
Points (1,2) and (4,8) give slope 2 and intercept 0.
Are my input values uploaded or stored?
No. The calculation runs in this browser. Typed values are not sent to analytics, placed in the page URL or saved by the calculator. Copying or downloading is an action you choose.
Do I need an account or a paid plan?
No. The calculation, example, result copy and result card are available without registration. VISU services are an optional next step.
