Slope Calculator
Slope, y-intercept, line equation, and distance between two points. Vertical lines are flagged.
Rated 4.7 out of 5 based on 340 reviews
How to use Slope Calculator
- Enter x1, y1, x2. Leave a field blank only when the page says the value is missing.
- Read the result rows under the form. Errors appear in the status line. Nothing is uploaded.
- Rounding follows IEEE floating point in this browser unless the page says it uses integers or BigInt.
Slope Calculator
Slope
| Computes | Slope, y-intercept, line equation, and distance between two points. Vertical lines are flagged. |
|---|---|
| Includes | Slope |
| Includes | Equation |
| Includes | Distance |
| Engine | geometry |
| Upload | None |
| Advice | Arithmetic only |
What Slope Calculator is
m = (y2 − y1) / (x2 − x1). If x2 = x1 the slope is undefined (vertical). Otherwise y = mx + b with b = y1 − m x1.
The formula runs in this tab. CZNull does not receive the numbers.
How this page computes
Distance is √((x2−x1)² + (y2−y1)²), also on distance.
Entities and related jobs
Slope, y-intercept, line equation, and distance between two points. Vertical lines are flagged. Named features: Slope, Equation, Distance.
See also Distance Between Two Points, Pythagorean Theorem Calculator, Rectangle Calculator, Percentage Calculator, Scientific Calculator, Fraction Calculator.
Use cases
Graphs, roofs, and ramps. Grade percent is 100 × rise/run, which is 100m for a non-vertical line.
Limits
Invalid input appears in the status line. IEEE floating point applies unless a row says otherwise. CZNull does not receive the numbers.