[Home](https://learningfolio.de5.net/) / [Math](https://learningfolio.de5.net/math/) / [Math glossary](https://learningfolio.de5.net/math/glossary/) / X- and Y-Intercept Formulas: How to Find a Line’s Crossings

[Math glossary](https://learningfolio.de5.net/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.

Written by **Learningfolio Team**

We’re subject-matter experts in math, science, parent support, and education, with 100 years of combined experience. We believe in learning, experimenting, and growing, and we review one another’s work.

## On this page

* [TL;DR](https://learningfolio.de5.net/math/y-intercept/#tldr)
* [Key Points](https://learningfolio.de5.net/math/y-intercept/#key-points)
* [What are the x- and y-intercepts of a line?](https://learningfolio.de5.net/math/y-intercept/#what-are-the-x-and-y-intercepts-of-a-line)
* [How do you calculate intercepts from different equation forms?](https://learningfolio.de5.net/math/y-intercept/#how-do-you-calculate-intercepts-from-different-equation-forms)
* [When do you use the intercept form of a line?](https://learningfolio.de5.net/math/y-intercept/#when-do-you-use-the-intercept-form-of-a-line)
* [What happens at the origin and on horizontal or vertical lines?](https://learningfolio.de5.net/math/y-intercept/#what-happens-at-the-origin-and-on-horizontal-or-vertical-lines)
* [How can you interpret an intercept in a real problem?](https://learningfolio.de5.net/math/y-intercept/#how-can-you-interpret-an-intercept-in-a-real-problem)
* [Six Worked Intercept Examples](https://learningfolio.de5.net/math/y-intercept/#six-worked-intercept-examples)
* [Common Intercept Mistakes](https://learningfolio.de5.net/math/y-intercept/#common-intercept-mistakes)
* [Try It Yourself](https://learningfolio.de5.net/math/y-intercept/#try-it-yourself)
* [Conclusion](https://learningfolio.de5.net/math/y-intercept/#conclusion)
* [Read More](https://learningfolio.de5.net/math/y-intercept/#read-more)
* [Research Behind This Article](https://learningfolio.de5.net/math/y-intercept/#research-behind-this-article)

## TL;DR

**Find a line’s $x$-intercept by setting $y=0$, and its $y$-intercept by setting $x=0$.** For $Ax+By=C$, the intercept values are $C/A$ and $C/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=0$. The **y-intercept** is where it meets the vertical axis, so $x=0$.

For $y=-3x+6$, setting $y=0$ gives $x=2$, so the x-intercept point is $(2,0)$. At $x=0$, the y-intercept point is $(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](https://learningfolio.de5.net/math/coordinate-plane-and-ordered-pairs/) 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](https://learningfolio.de5.net/assets/versioned/line-intercepts-two-and-six.0607a56c28e4.webp)


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=C$ | $C/A$, if $A\ne0$ | $C/B$, if $B\ne0$ |
| $y=mx+b$ | $-b/m$, if $m\ne0$ | $b$ |
| $y-y_1=m(x-x_1)$ | $x_1-y_1/m$, if $m\ne0$ | $y_1-mx_1$ |

For standard form, set $y=0$ to get $Ax=C$. To find the vertical crossing instead, set $x=0$ to get $By=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](https://openstax.org/books/elementary-algebra-2e/pages/4-3-graph-with-intercepts)

## When do you use the intercept form of a line?

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

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

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

For example, intercepts of 5 and $-2$ give $x/5+y/(-2)=1$. Multiply by 10 to get $2x-5y=10$. You can find other forms when the axes do not supply two distinct points. See the [straight-line equation guide](https://learningfolio.de5.net/math/slope-intercept-to-standard-form/) for point-slope and standard form. [OpenStax, Graphing with Intercepts](https://openstax.org/books/prealgebra-2e/pages/11-3-graphing-with-intercepts)

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

| Line | x-axis intersection | y-axis intersection |
| --- | --- | --- |
| $y=2x$ | $(0,0)$ | $(0,0)$ |
| $x=4$ | $(4,0)$ | None |
| $y=-3$ | None | $(0,-3)$ |
| $x=0$ | $(0,0)$ | Entire y-axis |
| $y=0$ | Entire x-axis | $(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](https://learningfolio.de5.net/math/geometry/slope-of-a-line/) explains how to distinguish the horizontal and vertical cases. [OpenStax, Graph Linear Equations in Two Variables](https://openstax.org/books/intermediate-algebra-2e/pages/3-1-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-7t$ dollars after $t$ weeks of fixed spending. The y-intercept 42 gives the initial balance. Solving $B=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=12$.

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

### Example 2

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

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

### Example 3

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

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

### Example 4

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

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

### Example 5

Find the intercepts of $x=-2$.

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

### Example 6

Graph $3x-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)$.
3. At $x=2$, $y=3$. Plot $(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 $y$, so set $y=0$. Leave $x$ 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)$. A line through the origin needs another point or slope to determine its direction.

## Try It Yourself

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

**Answers.** 1. $(5,0)$ and $(0,3)$. 2. $x/6+y/(-3)=1$, equivalent to $x-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

* [Identify parallel lines from their slopes and equations](https://learningfolio.de5.net/math/parallel-lines/)
* [Find the domain and range of a graph](https://learningfolio.de5.net/math/functions-domain-range-and-input-output/)

## Research Behind This Article

1. OpenStax, *Elementary Algebra 2e: Graph with Intercepts*. [OpenStax](https://openstax.org/books/elementary-algebra-2e/pages/4-3-graph-with-intercepts)
2. OpenStax, *Prealgebra 2e: Graphing with Intercepts*. [OpenStax](https://openstax.org/books/prealgebra-2e/pages/11-3-graphing-with-intercepts)
3. OpenStax, *Algebra 1: Find the x- and y-intercepts, Mini-Lesson Review*. [OpenStax](https://openstax.org/books/algebra-1/pages/2-find-the-x-and-y-intercepts-mini-lesson-review)
4. OpenStax, *Intermediate Algebra 2e: Graph Linear Equations in Two Variables*. [OpenStax](https://openstax.org/books/intermediate-algebra-2e/pages/3-1-graph-linear-equations-in-two-variables)
