Enter two points — or a point and a slope — and instantly get the slope, the y-intercept, and the equation of the line in slope-intercept form (y = mx + b), plus the angle, percent grade, and a graph. Every step is shown as you type.
The slope of a line measures its steepness — how much it climbs or falls for each step sideways. It is the single number that defines a straight line's direction, written m. Two equivalent pictures help: a ratio you compute, and a triangle you can see.
Three moves take you from two points to the slope every time.
Subtract the first point's y from the second's. This is the vertical distance between the points.
Subtract the x-values in the same order. This is the horizontal distance — keep the order consistent with the rise.
The quotient is the slope. If the run is zero, the line is vertical and the slope is undefined.
Slope on its own describes steepness. Slope-intercept form describes the whole line: m is the slope you just found and b is the y-intercept, the height where the line crosses the y-axis. The calculator writes the equation for you in both modes — enter two points, or a point and a slope, and read the finished equation straight off the result.
The same rise-over-run procedure handles positive, negative, zero, undefined, and fractional slopes — switch between them to watch the arithmetic change.
Both points climb — the slope is positive and the line rises left to right.
Every straight line falls into one of four cases. The sign and size of the slope tell you the line's direction and steepness before you even plot it.
Slope is a rate of change, so it appears anywhere one quantity grows or shrinks against another — far beyond the math classroom.
A handful of facts make slope problems faster and connect them to the equation of a line.
Slope, the angle of incline, and percent grade are three names for the same steepness. Type any one to convert to the others, or scan the table for common road, ramp, and roof values.
| Slope | Ratio | Angle | Grade | Where you see it |
|---|---|---|---|---|
| 0 | 0 | 0° | 0% | Flat / level |
| 0.05 | 1/20 | 2.86° | 5% | ADA ramp max |
| 0.0833 | 1/12 | 4.76° | 8.33% | Wheelchair ramp |
| 0.1 | 1/10 | 5.71° | 10% | Steep road |
| 0.125 | 1/8 | 7.13° | 12.5% | — |
| 0.1667 | 1/6 | 9.46° | 16.67% | — |
| 0.25 | 1/4 | 14.04° | 25% | — |
| 0.3333 | 1/3 | 18.43° | 33.33% | — |
| 0.5 | 1/2 | 26.57° | 50% | 6:12 roof pitch |
| 1 | 1/1 | 45° | 100% | 45° — 12:12 roof |
| 2 | 2/1 | 63.43° | 200% | — |
| 3 | 3/1 | 71.57° | 300% | — |
Almost every wrong answer comes from one of these slips. Knowing them is half of avoiding them.

Slope-intercept form is y = mx + b, where m is the slope and b is the y-intercept. This guide shows how to find the equation from a graph, two points, or a point and slope, graph it, and convert standard form.

The volume of a cylinder is V = πr²h, where r is the radius of the circular base, h is the height, and π ≈ 3.14159. This guide shows why the formula works, walks through a full numerical example, and covers diameter inputs and unit conversions.

The distance between two points is d = √((x₂−x₁)² + (y₂−y₁)²). It comes straight from the Pythagorean theorem: the horizontal and vertical gaps between the points are the two legs of a right triangle, and the distance is the hypotenuse.