Slope Calculator
Find the slope between two points as a fraction and decimal, plus the line equation y = mx + b, distance, midpoint and angle. Free online slope calculator.
Found it useful? Share Slope Calculator
Free, no sign-up, works in the browser — send it to a friend or add it to your site.
Related tools
- Circle CalculatorCalculate a circle's area, circumference, diameter and radius from any one value. Free online circle calculator with the formulas A = πr² and C = 2πr.
- Pythagorean Theorem CalculatorFind the missing side of a right triangle with this free online Pythagorean theorem calculator, plus angles, area, perimeter and exact square-root answers.
- Quadratic Equation SolverSolve ax² + bx + c = 0 with step-by-step working: discriminant, real or complex roots, vertex and axis of symmetry. Free online quadratic formula calculator.
- Bra Size CalculatorCalculate your bra size from underbust and bust measurements with this free online bra size calculator. Get US, UK, EU, French and Australian sizes.
- Carpet CalculatorCalculate how much carpet you need with this free online carpet calculator. Get square yards or square metres with waste, roll length and total cost.
- Concrete Block CalculatorCalculate how many concrete blocks you need for a wall with this free online concrete block calculator. Get courses, mortar bags, waste and total block cost.
Part of the toolkit
How to use Slope Calculator
- 1Enter the coordinates of two points (x₁, y₁) and (x₂, y₂)
- 2Read the slope as a simplified fraction and decimal, and the line equation in slope-intercept form
- 3See the rise and run, distance, midpoint, angle and y-intercept, then copy the result
Frequently asked questions
What is the slope formula?▾
m = (y₂ − y₁) / (x₂ − x₁) — the rise divided by the run. For (1, 2) and (4, 8): (8 − 2) / (4 − 1) = 6 / 3 = 2.
How do I find the equation of the line?▾
Use slope-intercept form y = mx + b: compute m, then b = y₁ − m·x₁. For (1, 2) and (4, 8), b = 2 − 2·1 = 0, so y = 2x.
What does an undefined slope mean?▾
The line is vertical (x₁ = x₂), so the run is 0 and division by zero is undefined. Its equation is x = constant. A horizontal line has slope 0.
How is the distance between two points calculated?▾
d = √((x₂ − x₁)² + (y₂ − y₁)²). For (1, 2) and (4, 8): √(9 + 36) = √45 ≈ 6.708.
Embed Slope Calculator on your website▾
Paste this snippet into your page. The embedded tool runs in your visitor's browser and shows a small “Powered by clkr.work” link.