๐Ÿ“ˆ

Slope Calculator

Find the slope and equation of a line.

Slope Calculator

Enter Point 1 (xโ‚, yโ‚) and Point 2 (xโ‚‚, yโ‚‚); Point 1 + Slope + Distance to solve for Point 2; or Point 1 + Angle ฮธ to solve for Slope. Toggle ยฐ/rad for angle. System-calculated fields use a dashed mint border.

Unit
Results
Enter Point 1 (xโ‚, yโ‚) and Point 2 (xโ‚‚, yโ‚‚); Point 1 + Slope + Distance; or Point 1 + Angle ฮธ to solve.

How to Use the Slope Calculator

The formulas and step-by-step methods are in the article below. Use these cards to choose your workflow.

Workflow Tips

Both Points Given

Enter (xโ‚,yโ‚) and (xโ‚‚,yโ‚‚). The dashboard returns slope (decimal + simplified fraction), distance, angle, and y = mx + b.

Solve for Point 2

Enter Point 1, slope m, and distance d. The tool finds the second point on the line at that distance.

Logic Trace & Plot

Step-by-step substitution into the formulas plus a coordinate plot with Run (ฮ”x) and Rise (ฮ”y) highlighted.

Slope Calculator: Find Slope, Distance, Angle & Line Equation

How to find slope from two points. Free slope calculator with rise over run formula, distance between two points, angle in degrees and radians, and line equation y = mx + b. Solve for missing point from slope + distance.

What This Slope Calculator Does & Who It's For

Calculator Purpose & Ideal Users

  • What You'll Get:
    Slope as decimal and simplified fraction (rise over run), distance via โˆš[(xโ‚‚โˆ’xโ‚)ยฒ+(yโ‚‚โˆ’yโ‚)ยฒ], angle ฮธ in degrees and radians, line equation in slope-intercept form (y = mx + b). Logic Trace shows formula substitution step-by-step; a coordinate plot highlights Run (ฮ”x) and Rise (ฮ”y).
  • Ideal Users:
    Students & algebra/geometry: How to find slope between two points, verify homework, see rise over run. Teachers: Demonstrate the slope formula with a visual plot. Pre-calculus & graphing: Get y = mx + b from two points. Anyone: Quick slope from two points calculator with distance and angle.
  • Scope & Limits:
    2D Cartesian coordinates. Vertical lines (undefined slope) show x = k. Same point returns no result. All calculations run locallyโ€”no data stored.
This slope calculator finds slope, distance, angle, and the line equation from two points (xโ‚,yโ‚) and (xโ‚‚,yโ‚‚). Enter both points for direct computation, or Point 1 plus slope and distance to solve for Point 2. Used in algebra, geometry, pre-calculus, and graphing.

Slope Formula: Rise Over Run & How to Find Slope

The slope of a line is rise over run: vertical change divided by horizontal change. The formula is:
m=y2โˆ’y1x2โˆ’x1m = \frac{y_2 - y_1}{x_2 - x_1}
where (xโ‚,yโ‚) and (xโ‚‚,yโ‚‚) are two points on the line. How to find slope: subtract the y-coordinates (rise), subtract the x-coordinates (run), then divide. Example: (1,3) and (4,9) โ†’ m = (9โˆ’3)/(4โˆ’1) = 6/3 = 2. Positive slope rises left-to-right; negative slope falls. A horizontal line has slope 0; a vertical line has undefined slope (run = 0).

Distance Between Two Points & Angle ฮธ

The distance between two points uses the Pythagorean theorem:
d=(x2โˆ’x1)2+(y2โˆ’y1)2d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}
The angle ฮธ from the positive x-axis is ฮธ = atan2(ฮ”y, ฮ”x) in radians; multiply by 180/ฯ€ for degrees. This calculator returns both when you enter two points.

Slope-Intercept Form: y = mx + b

Slope-intercept form is y = mx + b, where m is the slope and b is the y-intercept. Given two points: (1) find m = (yโ‚‚โˆ’yโ‚)/(xโ‚‚โˆ’xโ‚), (2) then b = yโ‚ โˆ’ mยทxโ‚. For vertical lines (undefined slope), the equation is x = k. This tool shows the line equation automatically.

Solving for a Missing Point from Slope and Distance

Given Point 1 (xโ‚,yโ‚), slope m, and distance d, Point 2 lies at distance d along the line. The unit direction vector is (1/โˆš(1+mยฒ), m/โˆš(1+mยฒ)), so xโ‚‚ = xโ‚ + d/โˆš(1+mยฒ) and yโ‚‚ = yโ‚ + mยทd/โˆš(1+mยฒ). Enter Point 1, slope, and distance in the calculator to get Point 2; the Logic Trace shows the derivation.

Real-World Use: Graphing, Construction & Surveying

Slope appears in graphing linear equations, roof pitch and ramp grade (rise over run as percentage), and surveying (elevation change over horizontal distance). Carpenters use slope for roof design; engineers for road grades. This slope from two points calculator helps students check work and professionals verify coordinates quickly.

Slope Calculator FAQ

? What is the slope of a line?

The slope (m) equals rise over run: m = (yโ‚‚ โˆ’ yโ‚)/(xโ‚‚ โˆ’ xโ‚). Positive slope rises left-to-right; negative slope falls. Vertical lines have undefined slope.

? How do you find the slope between two points?

Use m = (yโ‚‚ โˆ’ yโ‚)/(xโ‚‚ โˆ’ xโ‚). Subtract the y-coordinates (rise), subtract the x-coordinates (run), then divide. Example: (2,5) and (4,9) โ†’ m = (9โˆ’5)/(4โˆ’2) = 2.

? What is slope-intercept form?

y = mx + b, where m is the slope and b is the y-intercept. Given two points, compute m first, then b = yโ‚ โˆ’ mยทxโ‚. Vertical lines use x = k instead.

? How do you find the distance between two points?

d = โˆš[(xโ‚‚โˆ’xโ‚)ยฒ + (yโ‚‚โˆ’yโ‚)ยฒ] (Pythagorean theorem). This calculator also finds distance and the line equation. Enter both points or Point 1 + slope + distance to solve for the second point.
๐Ÿ’ก
Mathematical Reference Note

Calculation Logic: This tool uses standard mathematical algorithms. While we strive for accuracy, errors in logic or user input can result in incorrect data.

Verification: Results should be cross-checked if used for important academic, professional, or personal calculations.

Standard Terms: This tool is provided free of charge and as-is. CalcRegistry provides no warranty regarding the accuracy or fitness of these results for your specific needs.

ยฉ 2026 CalcRegistry Reference Last System Check: FEB 2026Free Online Utility Tools