Slope Calculator
Slope = (y₂ − y₁) ÷ (x₂ − x₁)(4−0)÷(3−0)=4÷3≈1.333
Free online tool
Enter the coordinates of two points to find the slope (gradient) of the line.
Instant calculation
Enter the coordinates of two points to find the slope (gradient) of the line.
Your numbers stay in this browser. Nothing is uploaded or saved.
Three clear steps
Type the x and y coordinates of the first point.
Type the x and y coordinates of the second point.
Calculate to see the slope and line equation.
The formula
Rise over run. The slope represents the steepness and direction of a line.
Slope = (y₂ − y₁) ÷ (x₂ − x₁)(4−0)÷(3−0)=4÷3≈1.333
Check the method
Each example follows the same formula used by the calculator.
(4−0)÷(3−0)=4÷3≈1.333≈ 1.333 (4/3)Common questions
The Slope Calculator helps you calculate the slope of a line passing through two points. Enter your values and select Calculate to get an instant result.
Rise over run. The slope represents the steepness and direction of a line.
Example: Slope of line through (0,0) and (3,4)? — ≈ 1.333 (4/3).
No. All calculations run locally in your browser. Your inputs and results are never uploaded, stored or shared with anyone.
Yes. The Slope Calculator is completely free. No account, sign-up or payment is required. It works on mobile, tablet and desktop.
Continue calculating