DevCalc Logo
DevCalc

Work through the method

Slope Calculator

Calculate the slope of a line between two points instantly. Use our free Slope Calculator to determine slope, rise, run, and line characteristics in coordinate geometry.

Slope Calculator

Calculate the slope between two points instantly. Find rise, run, line direction, and understand the steepness of a line using the slope formula.

Point A

Point B

Slope Formula

m = (y₂ - y₁) / (x₂ - x₁)

The slope measures the steepness and direction of a line. It is calculated by dividing the change in y-values (rise) by the change in x-values (run).

Example Calculation

Input: Point A (2, 3), Point B (6, 11)

Output: m = (11 - 3) / (6 - 2) = 8 / 4 = 2

Common Uses

  • • Coordinate Geometry
  • • Algebra
  • • Mathematics
  • • Graph Analysis
  • • Engineering
  • • Physics
  • • Education
  • • Linear Equations

How the Slope Calculator Works

1

Enter First Point

Input the x and y coordinates of the first point.

2

Enter Second Point

Input the x and y coordinates of the second point.

3

Calculate Slope

Apply the slope formula using the rise and run between points.

4

View Results

See slope value, rise, run, and line direction instantly.

Questions about this calculator

Slope measures the steepness and direction of a line. It represents how much the y-value changes for every unit change in the x-value.

Slope is calculated by dividing the difference in y-coordinates by the difference in x-coordinates between two points.

A positive slope means the line rises from left to right.

A negative slope means the line falls from left to right.

A slope is undefined when the x-coordinates are equal, creating a vertical line.

The slopes of two perpendicular non-vertical lines are negative reciprocals of each other (m₁ · m₂ = -1), meaning one slope is the inverted negative value of the other.

Find the slope between two points

Enter the coordinates of two distinct points. The calculator reports the rise, run, slope, and line type. Coordinates may be positive, negative, or decimal values.

Slope formula

Slope m = (y₂ - y₁) / (x₂ - x₁), often described as rise over run. For points (2, 3) and (6, 11), the rise is 8 and the run is 4, so m = 8 ÷ 4 = 2.

Reading the answer

  • A positive slope rises from left to right.
  • A negative slope falls from left to right.
  • A zero slope describes a horizontal line.
  • If both x-coordinates are equal, the run is zero and the vertical line's slope is undefined.

Common input mistake

Subtract coordinates in the same order in both parts of the formula. Switching the order for only x or only y changes the sign incorrectly. If the two entered points are identical, both rise and run are zero and they do not determine a unique line.

Learn more

Latest helpful articles

Recent guides and verified updates selected for this calculator.

View all articles

Transportation

Inland Waterways Development: Traffic Growth, Safety Milestones & New River Lighthouses on NW-2

Inland waterways in India are expanding rapidly, with freight traffic growing from 2.9 crore metric tonnes in 2014-15 to 21.8 crore metric tonnes in 2025-26 at a CAGR of 20.13%. National Waterway-2 on the Brahmaputra River now features India's first river-based lighthouses for 24/7 navigation. Digital platforms provide real-time depth and weather data, enhancing navigation safety across 32 operational waterways spanning 20,187 km.

3 min read

Environment

India's Ramsar Site Tally Reaches 103 with New Additions

India's Ramsar site tally reaches 103 with new wetland additions Sukhna Lake in Chandigarh and Sauj Jheel in Uttar Pradesh. The Ministry of Environment, Forest and Climate Change announced the milestone on October 15, 2026, strengthening the nation's commitment to wetland conservation and biodiversity.

2 min read

Governance

Special Campaign 6: Progress, citizen-centric initiatives and compliance deadline (31 Oct 2026)

Special Campaign 6 entered its implementation phase on 2 October 2026 and runs until 31 October 2026. The third review meeting chaired by DARPG Secretary saw 600+ officers from 84 ministries review progress. Key citizen-centric initiatives include India Post's DigiPost, e-waste collection drives, waste-to-prosperity art installations, and dedicated one-day campaigns across ministries. Innovations span digital services e-waste management record disposal and community participation. The campaign is promoted widely through social media and PIB releases.

3 min read