Slope Calculator

Calculate slope, angle, percent grade, equation, intercept, and distance using the method you need.

Enter two points
Enter one point and slope
Enter one point and angle
Enter one point and percent grade
%
Slope (m)
Angle
Percent grade
Vertical line?
Line equation
y-intercept
Distance between points
Rise / Run
Reference formulas
Quantity Formula
Slope m = (y₂ − y₁) / (x₂ − x₁)
Angle θ = arctan(m)
Percent grade % = 100 × m
Distance d = √[(x₂ − x₁)² + (y₂ − y₁)²]

Use this Slope Calculator to find slope, angle, percent grade, line equation, y-intercept, and distance from two points or other known line values.

Calculation Method

For two points (x₁, y₁) and (x₂, y₂):

Slope = (y₂ − y₁) ÷ (x₂ − x₁)

Angle = arctan(slope)

Percent grade = slope × 100

Distance = √[(x₂ − x₁)² + (y₂ − y₁)²]

For a non-vertical line:

y = mx + b

Example

For points (2, 3) and (8, 15):

Slope = (15 − 3) ÷ (8 − 2) = 2

Angle = arctan(2) ≈ 63.43°

Percent grade = 200%

Important Note

A vertical line has undefined slope because its horizontal change is zero. Percent grade and angle are not the same measurement; for example, a 100% grade corresponds to a 45° angle.

Source

More of our calculators...

Scientific Calculator

Use this Scientific Calculator to solve advanced math expressions with trigonometry, logarithms, powers, roots, constants, percentages, factorials, and angle modes.

Fraction to Percentage Calculator

Convert fractions to percentages and percentages to simplified fractions. Enter numerator, denominator, or percent to get quick live results.

GCF Calculator

Use this GCF Calculator to find the greatest common factor of two or more whole numbers, with common factors, LCM, positive values, and steps.

Significant Figures Calculator

Use our Significant Figures Calculator to count sig figs, round numbers or expressions, and show decimal, scientific, and E notation.

Proportion Calculator

Use this Proportion Calculator to solve missing values in A/B = C/D, compare two ratios, check proportions, and view cross multiplication steps.

Probability Calculator

Calculate probability, complements, conditional probability, unions, and independent events using formulas, percentages, fractions, and decimals.

Area Calculator

Use this Area Calculator to calculate rectangle, square, triangle, circle, trapezoid, parallelogram, and ellipse area with unit conversion.

Pythagorean Theorem Calculator

Pythagorean Theorem Calculator solves missing sides of a right triangle fast. Use it to find the hypotenuse or any unknown side easily.

Basic Calculator

Use this free basic calculator to solve addition, subtraction, multiplication, division, decimals, percentages, and parentheses-based math expressions.