DevCalc Logo
DevCalc
Math Calculator

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

Compare Similar Calculators

Percentage Calculator

Calculate percentages, percentage increases, percentage decreases, and proportional fractions instantly. Multi-mode calculator for finding 'What is X% of Y', 'X is what % of Y', and percent change.

View

Fraction Calculator

Calculate fractions instantly. Add, subtract, multiply, divide, simplify fractions, convert fractions to decimals, and solve mixed fraction problems online.

View

Mean Median Mode Calculator

Calculate mean, median, and mode instantly from a set of numbers. Use our free Mean Median Mode Calculator to analyze data, statistics, averages, and distributions quickly and accurately.

View

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.

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

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

Governance and Policy

HAL, NCAP, and ASI Sign MoU for Heritage Site Conservation

The Press Information Bureau announced on October 13, 2026, that Hindustan Aeronautics Limited (HAL), the National Culture Fund (NCAP), and the Archaeological Survey of India (ASI) signed a Memorandum of Agreement (MoA) for heritage site conservation. The collaboration focuses on three key sites: Hampi in Karnataka, the Taj Mahal in Agra, Uttar Pradesh, and Bekal Fort in Kerala. HAL has approved ₹23.60 crore in financial assistance for the financial years 2026-27 to 2028-29. The projects aim to preserve and improve tourist facilities at these UNESCO and heritage sites, promoting sustainable heritage tourism. ASI will provide technical guidance to ensure conservation principles are followed.

3 min read

Mining and Energy

Offshore Mineral Block Auction Compliance Deadlines and Process Details

The Ministry of Mines conducted a stakeholders' conference on October 13, 2026 regarding the auction of two offshore mineral blocks - Sevel Rise-01 and West Sevel Ridge-01 in the Andaman Sea. The Invitation for Tender (NIT) was issued on October 1, 2026. Key dates include: Pre-Bid Conference on November 4, 2026, last date for queries November 13, 2026, tender documents available until December 21, 2026, and bid submission deadline of December 28, 2026. The auction operates under the Offshore Areas Mineral (Development and Regulation) Act, 2002 and the Offshore Areas Mineral (Auction) Rules, 2024. Two composite licenses for polymetallic nodules and crusts containing nickel, cobalt, copper and manganese are up for auction covering a total area of 1,632 square kilometers.

3 min read

Weather Services

MoU Signed Between Ministry of Rural Development and National RUDSETI Academy to Strengthen Rural Skill Development

On 12 October 2026, the Ministry of Rural Development signed a Memorandum of Understanding (MoU) with the National RUDSETI Academy (NAR Academy). The purpose of the agreement was to strengthen training standards and institutional capacity. The agreement was formalised in the presence of Secretary (Rural Development) Shri Rohit Kansal. The MoU was exchanged between Joint Secretary (Rural Skill) Shri S. Shashikumar, representing the Ministry, and Director General Shri Raju N. kori, representing the National RUDSETI Academy. The event was reported by the Press Information Bureau (PIB) Delhi and documented in a press release dated 12 OCT 2026.

3 min read

Embed this calculator

Add the Slope Calculator to your website for free. Keep the attribution link in the widget intact.

The embedded route is excluded from search indexing to prevent duplicate-content pages. The main calculator page remains the canonical source.

AS

Written & maintained by Aditya Singh

Aditya Singh is a software engineer and the founder of DevCalc, based in Uttar Pradesh, India. He builds and maintains every calculator on this site using documented formulas, worked examples, and clearly stated limitations, with careful attention to accuracy. Read more about the author →