Slope Examples With Step-by-Step Graphs and Solutions

Review 15 fully worked slope problems grouped across positive whole numbers, negative coordinates, fractions and decimals, horizontal and vertical lines, graph reading, and practical word problems. Each problem includes an SVG visual plot and an expandable step-by-step solution.

Written and maintained by the SlopeCalculator.cc Editorial Team · Published · Updated

Whole number coordinate examples

m = ΔyΔx = y₂ − y₁x₂ − x₁

These three introductory problems demonstrate finding slope between points with positive integer coordinates using m = (y₂ − y₁) / (x₂ − x₁).

When both coordinates are positive integers, the math is clean and straightforward. You subtract the x-coordinates and y-coordinates directly. There are no negative signs to flip. This makes whole-number pairs the best place to practice the core formula.

Example 1

Points (1, 3) and (4, 9)

(1, 3) (4, 9)

Both coordinates increase, producing an upward positive slope.

View Step-by-Step Solution ▼

Δx = x₂ − x₁ = 4 − 1 = 3

Δy = y₂ − y₁ = 9 − 3 = 6

m = Δy / Δx = 6 / 3 = 2

The line climbs 2 units for every 1 unit to the right.

Example 2

Points (2, 7) and (5, 16)

(2, 7) (5, 16)

A steeper positive climb with a larger vertical jump.

View Step-by-Step Solution ▼

Δx = x₂ − x₁ = 5 − 2 = 3

Δy = y₂ − y₁ = 16 − 7 = 9

m = Δy / Δx = 9 / 3 = 3

The line climbs 3 units for each 1 unit horizontal step.

Example 3

Points (0, 2) and (6, 5)

(0, 2) (6, 5)

A gentle positive incline with a fractional slope.

View Step-by-Step Solution ▼

Δx = x₂ − x₁ = 6 − 0 = 6

Δy = y₂ − y₁ = 5 − 2 = 3

m = Δy / Δx = 3 / 6 = 1/2 = 0.5

The line climbs 1 unit for every 2 units to the right.

Negative coordinate examples

Subtracting negative coordinates requires remembering that subtracting a negative number is equivalent to adding a positive number: x − (−c) = x + c.

Example 4

Points (−2, 5) and (4, −7)

(−2, 5) (4, −7)

Crosses from quadrant II into quadrant IV with negative slope.

View Step-by-Step Solution ▼

Δx = 4 − (−2) = 4 + 2 = 6

Δy = −7 − 5 = −12

m = Δy / Δx = −12 / 6 = −2

The line drops 2 units for every 1 unit to the right.

Example 5

Points (−5, −3) and (1, 9)

(−5, −3) (1, 9)

Ascends from quadrant III through the axes into quadrant I.

View Step-by-Step Solution ▼

Δx = 1 − (−5) = 1 + 5 = 6

Δy = 9 − (−3) = 9 + 3 = 12

m = Δy / Δx = 12 / 6 = 2

Both differences simplify to positive numbers, yielding m = 2.

Example 6

Points (−3, 4) and (6, −2)

(−3, 4) (6, −2)

Produces a negative rational fraction slope.

View Step-by-Step Solution ▼

Δx = 6 − (−3) = 6 + 3 = 9

Δy = −2 − 4 = −6

m = Δy / Δx = −6 / 9 = −2/3

Dividing by GCD 3 reduces the fraction to −2/3.

Fraction and decimal coordinate examples

Real-world measurements often include fractions or decimals. Use common denominators or clean decimal arithmetic to find the rate of change.

Example 7

Points (1/2, 1) and (7/2, 7)

(1/2, 1) (7/2, 7)

Coordinates share a common denominator of 2.

View Step-by-Step Solution ▼

Δx = 7/2 − 1/2 = 6/2 = 3

Δy = 7 − 1 = 6

m = Δy / Δx = 6 / 3 = 2

Subtracting the common fractions simplifies directly to whole integers.

Example 8

Points (1.5, 2.5) and (4.5, 8.5)

(1.5, 2.5) (4.5, 8.5)

Decimal values that produce whole number differences.

View Step-by-Step Solution ▼

Δx = 4.5 − 1.5 = 3

Δy = 8.5 − 2.5 = 6

m = 6 / 3 = 2

The decimal differences divide cleanly to m = 2.

Example 9

Points (2/3, 1/3) and (8/3, 5/3)

(2/3, 1/3) (8/3, 5/3)

Both horizontal and vertical differences result in fractions.

View Step-by-Step Solution ▼

Δx = 8/3 − 2/3 = 6/3 = 2

Δy = 5/3 − 1/3 = 4/3

m = (4/3) / 2 = 4 / 6 = 2/3

Multiplying by the reciprocal simplifies the answer to 2/3.

Horizontal and vertical line examples

These two special geometric cases illustrate zero slope and undefined slope.

Example 10

Points (3, 8) and (9, 8)

(3, 8) (9, 8)

Both points share the identical y-coordinate (y = 8).

View Step-by-Step Solution ▼

Δx = x₂ − x₁ = 9 − 3 = 6

Δy = y₂ − y₁ = 8 − 8 = 0

m = Δy / Δx = 0 / 6 = 0

The line is completely flat and horizontal with slope 0.

Example 11

Points (6, −1) and (6, 5)

(6, 5) (6, −1)

Both points share the identical x-coordinate (x = 6).

View Step-by-Step Solution ▼

Δx = x₂ − x₁ = 6 − 6 = 0

Δy = y₂ − y₁ = 5 − (−1) = 6

m = Δy / Δx = 6 / 0 (undefined)

Division by zero is undefined. The line is vertical.

Reading slope from a graph examples

When given a visual graph without explicit numbers, identify two grid intersection points (where grid lines cross cleanly) and count rise and run.

Example 12

Graph Intersections at (0, −1) and (3, 5)

Count 3 units right on the grid, then 6 units straight up.

View Step-by-Step Solution ▼

Identify Points: (0, −1) and (3, 5)

Horizontal run: 3 units right

Vertical rise: 6 units up

Slope m = 6 / 3 = 2

Y-intercept is (0, −1), so line equation is y = 2x − 1.

Example 13

Graph Intersections at (−1, 3) and (3, −1)

Count 4 units right on the grid, then 4 units down.

View Step-by-Step Solution ▼

Identify Points: (−1, 3) and (3, −1)

Horizontal run: 3 − (−1) = 4 units right

Vertical drop: −1 − 3 = −4 units down

Slope m = −4 / 4 = −1

The line forms a clean 45-degree downward angle.

Real-world word problem examples

In physical and commercial applications, slope represents speed, elevation grade, fuel efficiency, or production rates. Always track measurement units.

Example 14

Weather Balloon Ascent Rate

A weather balloon launched into the atmosphere is tracked at an altitude of 120 meters after 2 minutes of flight. At 7 minutes, its altitude reaches 420 meters. Find its average vertical climb rate.

View Step-by-Step Solution ▼

Coordinates: (2 min, 120 m) and (7 min, 420 m)

Δt = 7 − 2 = 5 minutes

Δh = 420 − 120 = 300 meters

Rate = 300 / 5 = 60 meters per minute

The balloon ascends at an average vertical speed of 60 meters per minute.

Example 15

Mountain Highway Percent Grade

A newly surveyed section of mountain highway climbs 150 feet vertically across a continuous horizontal distance of 2,500 feet. Find the slope and percentage grade.

View Step-by-Step Solution ▼

Rise = 150 feet | Run = 2500 feet

Decimal slope m = 150 / 2500 = 3 / 50 = 0.06

Percentage = 0.06 × 100% = 6% grade

Incline angle: arctan(0.06) ≈ 3.43 degrees.

Strategies for solving slope problems accurately

You can solve any slope problem by following four simple habits:

  1. Label your points first: Write (x₁, y₁) above your first pair. Write (x₂, y₂) above your second pair. This stops you from mixing up x and y numbers.
  2. Use parentheses around negative numbers: When subtracting a negative value, write it in parentheses: 4 − (−2). This reminds you that two minus signs turn into a plus sign.
  3. Simplify your final fraction: Always reduce fractions to lowest terms. Turn 4/6 into 2/3. Turn −8/4 into −2. Teachers always look for simplified answers.
  4. Do a quick visual check: Look at your graph. Does the line rise to the right? If so, your slope must be positive. Does the line fall to the right? If so, your slope must be negative.

A straight line never bends. The slope stays the exact same between any two points on that line. You can choose any pair of coordinates along the line. You will always get the same slope answer.

Remember that slope is simply rise divided by run. The rise is your vertical step up or down. The run is your horizontal step to the right. Keeping rise over run in mind helps you avoid flipping the fraction upside down.

Ready to test your own coordinates? Use our slope calculator to see full algebraic steps, convert your result to slope-intercept form, or evaluate speed and rate of change. You can also explore the four types of slope in depth.