Slope Calculator
Find the slope (m = Δy / Δx), angle, distance, and equation of a line passing through two coordinates.
Privacy First: 100% Client-Side Processing
Processed in your browser. Files are never uploaded.
How to Use the Slope Calculator
- 1Enter the coordinates for Point 1 (x₁, y₁).
- 2Enter the coordinates for Point 2 (x₂, y₂).
- 3Review the calculated slope (m), delta y (rise), and delta x (run).
- 4Copy the line equation (y = mx + b) and distance.
Formula & How It Works
Slope Equation
Slope represents the steepness of a line, calculated as the change in the vertical coordinate divided by the change in the horizontal coordinate.
Worked Examples
Standard Line Slope
Input: (2, 3) and (6, 11)
Explanation: m = (11 - 3) / (6 - 2) = 8 / 4 = 2. y-intercept b = 3 - 2(2) = -1.
Horizontal Line
Input: (1, 5) and (4, 5)
Explanation: Rise is 5 - 5 = 0, so slope is zero (horizontal line).
Frequently Asked Questions
What happens if x₁ equals x₂?▼
When x₁ = x₂, the line is vertical and the denominator is zero, resulting in an undefined slope.
What does a negative slope mean?▼
A negative slope indicates that the line falls from left to right.
Does this calculate the distance between the two points?▼
Yes, the Euclidean distance d = √[(x₂ - x₁)² + (y₂ - y₁)²] is automatically computed.
Can I enter decimal coordinates?▼
Yes, coordinates can be positive or negative integers or decimal numbers.
Related Online Tools
Explore complementary calculators and converters with instant client-side execution
Pythagorean Theorem Calculator
Solve right triangle hypotenuse (c) or leg lengths (a, b) using the Pythagorean formula a² + b² = c².
Quadratic Formula Calculator
Solve quadratic equations ax² + bx + c = 0 with discriminant analysis, real roots, and complex numbers.
Average Calculator
Calculate the arithmetic average (mean), median, mode, sum, and count of any dataset.
Factoring Calculator
Find prime factors of integers and factor quadratic or polynomial expressions instantly.
Ratio Calculator
Simplify ratios to lowest terms, solve equivalent proportions, and scale dimensions.
Proportion Calculator
Solve for the unknown variable in any proportion (A/B = C/D) with cross-multiplication steps.
Explore Other Tool Categories
Browse our full collection of 50 free web utilities
Unit Converters
Exact metric & imperial conversions for weight, length, temperature & volume.
Date & Time
Calendar arithmetic, business day intervals, stopwatch & multi-counter.
Home & Construction
Paint coverage, pool volume, topsoil, roof pitch, square footage & materials.
Finance
Discount savings, markup, profit margins, CD returns & overtime pay.