Slope Calculator
Enter two coordinate points and instantly get slope, angle, y-intercept, and the line equation in slope-intercept form.
Enter Two Points
Quick Examples
Enter two points and click Calculate
Results will appear here
Slope (Gradient)
—
Decimal
—
—
Fraction
—
Angle (degrees)
Y-Intercept (b)
—
Line Equation
—
Step-by-Step Solution
Copied!
Summary
Enter two coordinate points and instantly get slope, angle, y-intercept, and the line equation in slope-intercept form.
How it works
- Enter the x and y coordinates for your first point (x1, y1).
- Enter the x and y coordinates for your second point (x2, y2).
- Click "Calculate" or press Enter — results appear instantly.
- Slope is shown as a simplified fraction (rise/run) and a decimal.
- Angle with the x-axis is computed via arctangent of the slope.
- The y-intercept and full slope-intercept equation are displayed.
Use cases
- Verify homework answers for algebra and geometry problems.
- Find the gradient of a road or ramp given two elevation points.
- Determine the slope of a trend line between two data points.
- Calculate the angle of inclination for engineering or construction projects.
- Derive the equation of a line through two known points.
- Check the steepness of a hill using GPS coordinates.
- Solve coordinate geometry problems quickly during exam prep.
- Understand rise-over-run intuitively with the fraction form.
Frequently Asked Questions
Last updated: 2026-06-13 ·
Reviewed by Nham Vu