Skip to main content

Y-Intercept Calculator

Calculate yintercept instantly with our math tool. Shows detailed work, formulas used, and multiple solution methods. Free to use with no signup required.

Reviewed by Manoj Kumar, Mathematics Educator

Reviewed by Manoj Kumar, Mathematics Educator

Formula

b = y1 - m * x1  (where m = (y2 - y1) / (x2 - x1))

The y-intercept b is found by first computing the slope m from two points, then substituting any known point into y = mx + b and solving for b. From standard form Ax + By = C, the y-intercept is C/B.

Worked Examples

Example 1: Finding Y-Intercept from Two Points

Problem:Find the y-intercept of the line passing through points (2, 5) and (6, 13).

Solution:Step 1: Calculate the slope\nm = (13 - 5) / (6 - 2) = 8 / 4 = 2\n\nStep 2: Use point-slope form with (2, 5)\ny - 5 = 2(x - 2)\ny - 5 = 2x - 4\ny = 2x + 1\n\nStep 3: Read the y-intercept\nb = 1, so the y-intercept is at (0, 1)\n\nVerification: At x = 2: y = 2(2) + 1 = 5. At x = 6: y = 2(6) + 1 = 13.

Result:Y-intercept = 1 | Equation: y = 2x + 1 | X-intercept = -0.5

Example 2: Y-Intercept from Standard Form

Problem:Find the y-intercept and slope from the equation 5x + 2y = 20.

Solution:Step 1: Find y-intercept (set x = 0)\n2y = 20, so y = 10\nY-intercept: (0, 10)\n\nStep 2: Convert to slope-intercept form\n2y = -5x + 20\ny = -2.5x + 10\nSlope = -2.5\n\nStep 3: Find x-intercept (set y = 0)\n5x = 20, so x = 4\nX-intercept: (4, 0)

Result:Y-intercept = 10 | Slope = -2.5 | X-intercept = 4

Frequently Asked Questions

What is the y-intercept and why is it important in algebra?

The y-intercept is the point where a line or curve crosses the y-axis, occurring when x equals zero. In the slope-intercept form y = mx + b, the y-intercept is the value b, giving the coordinate point (0, b). This value is crucial because it represents the starting value or initial condition in many real-world models. For example, in a linear cost function, the y-intercept represents fixed costs before any units are produced. In physics, it might represent initial position or starting temperature. The y-intercept provides a concrete anchor point that, combined with the slope, completely defines a straight line.

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

To find the y-intercept from two points (x1, y1) and (x2, y2), first calculate the slope m = (y2 - y1) / (x2 - x1). Then substitute one point and the slope into y = mx + b and solve for b: b = y1 - m * x1. Alternatively, you can use the point-slope form y - y1 = m(x - x1) and rearrange to slope-intercept form. For example, given points (2, 5) and (4, 9): slope = (9 - 5)/(4 - 2) = 2, then b = 5 - 2(2) = 1, so the y-intercept is 1 and the equation is y = 2x + 1. This method works for any non-vertical line defined by two distinct points.

What is the difference between the y-intercept and the x-intercept?

The y-intercept is where the line crosses the y-axis (x = 0), while the x-intercept is where the line crosses the x-axis (y = 0). To find the y-intercept, set x = 0 in the equation. To find the x-intercept, set y = 0 and solve for x. For the line y = 2x + 6, the y-intercept is 6 (at point (0, 6)) and the x-intercept is -3 (at point (-3, 0), found by solving 0 = 2x + 6). A horizontal line y = c has a y-intercept at c but no x-intercept (unless c = 0). A vertical line x = k has an x-intercept at k but no y-intercept. These two intercepts together can define a line and are often used for quick graphing.

Can a line have no y-intercept or more than one y-intercept?

A vertical line (like x = 5) has no y-intercept because it never crosses the y-axis, running parallel to it instead. Every non-vertical line crosses the y-axis exactly once, so it has exactly one y-intercept. No straight line can have more than one y-intercept because that would require the line to cross the y-axis at two different points, which is impossible for a non-vertical line. However, curves can have multiple y-intercepts if they loop back across the y-axis, though such curves would not pass the vertical line test and would not represent functions. For linear equations, the y-intercept is always unique when it exists.

References

Reviewed by Manoj Kumar, Mathematics Educator ยท Editorial policy