Slope Intercept Calculator
Enter two points or a linear equation to instantly get the slope, y-intercept, and a visual graph of the line.
Use the Slope Intercept Calculator
Input Mode
Enter values for y = mx + b
Results
Slope (m)
y-intercept (b)
x-intercept
Equation
Graph
Graph will appear here after calculation.
Copied!
Summary
The Slope Intercept Calculator finds the slope (m) and y-intercept (b) of a straight line in the form y = mx + b. You can enter either two coordinate points or an existing linear equation. The tool instantly computes all key values and renders an interactive graph so you can visualize the line.
How it works
- Choose your input mode: "Two Points" or "Equation (y = mx + b)".
- Enter the required values in the input fields.
- Click "Calculate" to compute slope, y-intercept, and line equation.
- Read the results — slope, y-intercept, x-intercept, and equation are all shown.
- The graph updates automatically to plot the line on a coordinate plane.
- Switch modes at any time to calculate from coordinate points or direct equation parameters.
Use cases
- Check homework answers for algebra and pre-calculus problems.
- Quickly graph a line without drawing it by hand.
- Convert two-point form to slope-intercept form for reports.
- Verify the slope of a trend line in data analysis.
- Teach or learn how slope and y-intercept relate visually.
- Find where a line crosses each axis (x-intercept and y-intercept).
Frequently Asked Questions
Last updated: 2026-05-25 · Reviewed by Nham Vu