Math glossary

X- and Y-Intercept Formulas: How to Find a Line’s Crossings

Find x- and y-intercepts from standard, slope-intercept, or point-slope form. Check lines through the origin and horizontal or vertical cases.

TL;DR

Find a line’s xx-intercept by setting y=0y=0, and its yy-intercept by setting x=0x=0. For Ax+By=CAx+By=C, the intercept values are C/AC/A and C/BC/B respectively when the denominators are nonzero.

Key Points

  • An intercept point lies on one of the coordinate axes.
  • The coordinate that is zero identifies which axis contains the point.
  • An intercept value names one coordinate. An intercept point gives both coordinates.
  • Intercept form needs two distinct, nonzero axis crossings.
  • Use slope or another point when both intercepts coincide at the origin.

What are the x- and y-intercepts of a line?

The x-intercept is where the line meets the horizontal axis. Every point on that axis has y=0y=0. The y-intercept is where it meets the vertical axis, so x=0x=0.

For y=−3x+6y=-3x+6, setting y=0y=0 gives x=2x=2, so the x-intercept point is (2,0)(2,0). At x=0x=0, the y-intercept point is (0,6)(0,6). When a question asks only for intercept values, you can give 2 and 6, with their axes named. On a graph, check the axis labels and the scale before reading either coordinate. The coordinate plane guide explains this difference between axes and coordinates.

The line y equals negative three x plus six crosses the axes at two comma zero and zero comma six
Every point on the horizontal axis has height zero. Every point on the vertical axis has horizontal coordinate zero.

How do you calculate intercepts from different equation forms?

Given form x-intercept value y-intercept value
Ax+By=CAx+By=C C/AC/A, if A≠0A\ne0 C/BC/B, if B≠0B\ne0
y=mx+by=mx+b −b/m-b/m, if m≠0m\ne0 bb
y−y1=m(x−x1)y-y_1=m(x-x_1) x1−y1/mx_1-y_1/m, if m≠0m\ne0 y1−mx1y_1-mx_1

For standard form, set y=0y=0 to get Ax=CAx=C. To find the vertical crossing instead, set x=0x=0 to get By=CBy=C. The point-slope formulas follow by substituting those same zeros. For a question that gives a table, look for the first-coordinate or second-coordinate zero. If a table does not include either row, use the given linear rule or infer it from two distinct points. OpenStax, Graph with Intercepts

When do you use the intercept form of a line?

If the line meets the x-axis at (a,0)(a,0) and the y-axis at (0,b)(0,b) with a≠0a\ne0 and b≠0b\ne0, write

xa+yb=1.\frac{x}{a}+\frac{y}{b}=1.

At (a,0)(a,0), the first term becomes 1. At (0,b)(0,b), the second term becomes 1. That checks both crossings. If A,B,CA,B,C are all nonzero, divide Ax+By=CAx+By=C by CC and use a=C/Aa=C/A and b=C/Bb=C/B to derive the formula.

For example, intercepts of 5 and −2-2 give x/5+y/(−2)=1x/5+y/(-2)=1. Multiply by 10 to get 2x−5y=102x-5y=10. You can find other forms when the axes do not supply two distinct points. See the straight-line equation guide for point-slope and standard form. OpenStax, Graphing with Intercepts

What happens at the origin and on horizontal or vertical lines?

Line x-axis intersection y-axis intersection
y=2xy=2x (0,0)(0,0) (0,0)(0,0)
x=4x=4 (4,0)(4,0) None
y=−3y=-3 None (0,−3)(0,-3)
x=0x=0 (0,0)(0,0) Entire y-axis
y=0y=0 Entire x-axis (0,0)(0,0)

When both intercepts name the origin, you have only one point to graph. Use the slope to plot another. A line that coincides with an axis has infinitely many points in common with that axis. The slope guide explains how to distinguish the horizontal and vertical cases. OpenStax, Graph Linear Equations in Two Variables

How can you interpret an intercept in a real problem?

Suppose the balance left on a prepaid card is B=42−7tB=42-7t dollars after tt weeks of fixed spending. The y-intercept 42 gives the initial balance. Solving B=0B=0 gives an x-intercept of 6 weeks. It answers when the card runs out within this model. An intercept can lie outside the meaningful range of a situation, so check whether a negative time or an impossible quantity makes the mathematical crossing unusable.

Six Worked Intercept Examples

Example 1

Find both intercepts of 2x+3y=122x+3y=12.

  1. Set y=0y=0 to get x=6x=6.
  2. Set x=0x=0 to get y=4y=4.
  3. The points are (6,0)(6,0) and (0,4)(0,4).

Example 2

Find both intercepts of y=4x−10y=4x-10.

  1. At x=0x=0, y=−10y=-10.
  2. At y=0y=0, solve 4x=104x=10 to obtain x=5/2x=5/2.
  3. The points are (5/2,0)(5/2,0) and (0,−10)(0,-10).

Example 3

Find intercepts for y−5=−2(x−1)y-5=-2(x-1).

  1. At x=0x=0, the right side is 2 and y=7y=7.
  2. At y=0y=0, solve −5=−2(x−1)-5=-2(x-1) to get x=7/2x=7/2.
  3. The points are (7/2,0)(7/2,0) and (0,7)(0,7).

Example 4

Write a line with x-intercept −4-4 and y-intercept 3.

  1. Use x/(−4)+y/3=1x/(-4)+y/3=1.
  2. Multiply by 12 to obtain −3x+4y=12-3x+4y=12.
  3. Substituting either intercept makes the left side 12.

Example 5

Find the intercepts of x=−2x=-2.

  1. At y=0y=0 the point is (−2,0)(-2,0).
  2. Every point on the y-axis requires x=0x=0.
  3. The vertical line has no y-intercept.

Example 6

Graph 3x−2y=03x-2y=0 using its intercept and one more point.

  1. Setting either coordinate to zero forces the other to zero.
  2. The only intercept point is (0,0)(0,0).
  3. At x=2x=2, y=3y=3. Plot (2,3)(2,3) and draw through both points.

Common Intercept Mistakes

Mistake 1: Setting the named coordinate to zero

For an x-intercept, the missing height is yy, so set y=0y=0. Leave xx to solve for.

Mistake 2: Dividing by a zero coefficient

A horizontal line can have no x-intercept or coincide with the entire x-axis. Substitute zero into the original equation before deciding which.

Mistake 3: Counting the origin twice when graphing

Both axes cross at (0,0)(0,0). A line through the origin needs another point or slope to determine its direction.

Try It Yourself

  1. Find the intercepts of 3x+5y=153x+5y=15.
  2. Write a line with x-intercept 6 and y-intercept −3-3.
  3. What are the intercepts of y=0y=0?

Answers. 1. (5,0)(5,0) and (0,3)(0,3). 2. x/6+y/(−3)=1x/6+y/(-3)=1, equivalent to x−2y=6x-2y=6. 3. The y-axis intersection is the origin, and the line coincides with the x-axis.

Conclusion

  • Set the other coordinate to zero and solve for the named intercept.
  • Use the coordinate pair when drawing or checking the graph.
  • Switch to a point-and-slope method when the crossings coincide.

Read More

Research Behind This Article

  1. OpenStax, Elementary Algebra 2e: Graph with Intercepts. OpenStax
  2. OpenStax, Prealgebra 2e: Graphing with Intercepts. OpenStax
  3. OpenStax, Algebra 1: Find the x- and y-intercepts, Mini-Lesson Review. OpenStax
  4. OpenStax, Intermediate Algebra 2e: Graph Linear Equations in Two Variables. OpenStax