SOLVETUTORMATH SOLVER

Instrument MI-01-682 · Mathematics

y Intercept Calculator

Two points pin down a whole line, including where it crosses the y-axis. Enter both points, and this sheet returns that y-intercept.

Instrument MI-01-682
Sheet 1 OF 1
Rev A
Verified
Type 05 — Algebra SER. 2026-01682

y-intercept

0.00000000

b = y₁ − m·x₁, where m = (y₂−y₁) ⁄ (x₂−x₁)

The working Every figure verified twice
  1. b = 2 − (8 − 2) ⁄ (4 − 1)·1 = 0.00000000
Worksheet log
  1. No entries yet — change an input to log a scenario.

How this instrument works

The y-intercept of a line is the y-value where that line crosses the y-axis — the point where x equals exactly 0. Given any two points a line passes through, the y-intercept can be found in two steps: first compute the slope, m = (y₂ − y₁) ⁄ (x₂ − x₁), the line's constant rate of rise over run; then apply the point-slope relationship y − y₁ = m(x − x₁) at x = 0, which rearranges directly to b = y₁ − m·x₁.

This is the same b that appears in a line's slope-intercept form, y = mx + b — this calculator simply reaches that b starting from two known points instead of starting from an already-known slope and a single point. Once b is found, the line's full slope-intercept equation is completely determined, since m was already computed along the way.

A vertical line — one where both points share the same x-coordinate — has no defined y-intercept in this sense, because it either crosses the y-axis at infinitely many points (if x=0 for both) or never crosses it at all (if x is some other constant), and its slope itself is undefined (a division by zero in the slope formula). Two points must have genuinely different x-coordinates for this calculation to produce a meaningful answer.

b=y1y2y1x2x1x1b = y_1 - \frac{y_2-y_1}{x_2-x_1}\,x_1
(x₁, y₁), (x₂, y₂) — two known points the line passes through; m — the line's slope, computed from those points; b — the y-intercept, where the line crosses the y-axis at x = 0.
  • Enter the first known point's coordinates into the Point 1: x and Point 1: y fields.
  • Enter the second known point's coordinates into the Point 2: x and Point 2: y fields.
  • Read y-intercept: the sheet computes the slope between the two points first, then solves for where the line crosses the y-axis.

Worked example — the line through (1, 2) and (4, 8)

A line passes through (1, 2) and (4, 8). Its slope is m = (8 − 2) ⁄ (4 − 1) = 6 ⁄ 3 = 2, and the y-intercept is b = 2 − 2×1 = 0 — this line passes straight through the origin, crossing the y-axis at exactly y = 0.

Compare a horizontal line through (0, 5) and (3, 5): the slope is m = (5 − 5) ⁄ (3 − 0) = 0, and the y-intercept is b = 5 − 0×0 = 5 — with zero slope, the line's height never changes at all, so its y-intercept is simply its constant y-value, read directly from either point.

Questions

How do you find the y-intercept from two points?

First compute the slope, m = (y₂ − y₁) ⁄ (x₂ − x₁), then apply b = y₁ − m·x₁. This is the point-slope line equation, y − y₁ = m(x − x₁), rearranged and evaluated at x = 0, exactly where the y-axis sits.

What does the y-intercept actually represent?

It's the y-value where the line crosses the y-axis, the point at which x equals exactly 0. In the slope-intercept equation y = mx + b, it's the constant term b, the line's starting height before the slope's effect is added in.

What if the two points share the same x-coordinate?

The line is vertical, and it has no defined y-intercept in the usual sense — its slope is undefined (the slope formula would require dividing by zero), and a vertical line either never crosses the y-axis or lies exactly on top of it, neither of which this formula can meaningfully report.

Is this the same as finding a line's equation from two points?

It's the final piece of that larger task. Finding a line's full equation from two points involves computing both the slope AND the y-intercept; this calculator focuses specifically on the y-intercept half, after computing the slope as an intermediate step.

Can the y-intercept be negative?

Yes — if the line crosses the y-axis below the x-axis, b comes out negative, and the calculation handles that exactly the same way as a positive result, with no special case needed.

References