Slope Calculator
Enter two coordinate points and instantly get slope, angle, y-intercept, and the line equation in slope-intercept form.
Use the Slope Calculator
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
The slope calculator finds the slope (gradient) of a straight line passing through two coordinate points. It displays the result as both a simplified fraction and a decimal, computes the angle the line makes with the x-axis, derives the y-intercept, and produces the full line equation in slope-intercept form (y = mx + b). All calculations run instantly in your browser with no data sent to any server.
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-05-29 · Reviewed by Nham Vu