Slope Intercept Calculator
Enter two points or a linear equation to instantly get the slope, y-intercept, and a visual graph of the line.
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
Enter two points or a linear equation to instantly get the slope, y-intercept, and a visual graph of 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; previous values are cleared to avoid confusion.
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
Related tools
Last updated: 2026-05-23 ·
Reviewed by Nham Vu