x-Intercept and y-Intercept

Find where a line crosses the x-axis and y-axis by setting the other variable to zero—essential for graphing and understanding line behavior.

y=0    x-intercept,x=0    y-intercepty = 0 \implies x\text{-intercept}, \quad x = 0 \implies y\text{-intercept}

Solve a problem with x-Intercept and y-Intercept

Type the problem. The solver will use x-Intercept and y-Intercept where x-Intercept and y-Intercept is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What x-Intercept and y-Intercept takes
xx
yy
x-Intercept and y-Intercept
SymbolMeaning
xxThe horizontal coordinate representing position left or right from the origin; the x-intercept occurs where y=0y = 0 and the line crosses the x-axis.
yyThe vertical coordinate representing position up or down from the origin; the y-intercept occurs where x=0x = 0 and the line crosses the y-axis.

When to use it

When you need to locate where a line touches the coordinate axes or sketch a quick graph.

Level

Usually taught in: Algebra I

Worked examples

1. Find both intercepts of a line with small integers

Problem

Find the x-intercept and y-intercept of y=2x+4y = 2x + 4.
  1. 0=2x+40 = 2x + 4

    Set y=0y = 0 in the equation to find the x-intercept.

  2. 4=2x-4 = 2x

    Subtract 44 from both sides to isolate the term with xx.

  3. x=2x = -2

    Divide both sides by 22; the x-intercept is at the point (2,0)(-2, 0).

  4. y=2(0)+4y = 2(0) + 4

    Set x=0x = 0 in the original equation to find the y-intercept.

  5. y=4y = 4

    Simplify; the y-intercept is at the point (0,4)(0, 4).

Answer: x=2 (x-intercept),y=4 (y-intercept)x = -2 \text{ (x-intercept)}, \quad y = 4 \text{ (y-intercept)}

Finding intercepts is the fastest way to graph a line because two points determine a line uniquely. Once you have the x and y-intercepts, you can plot them and draw the line without any other calculations.

2. Find intercepts with a negative result and division by negative

Problem

Find the x-intercept and y-intercept of 2x3y=62x - 3y = 6.
  1. 2x3(0)=62x - 3(0) = 6

    Set y=0y = 0 to find where the line crosses the x-axis.

  2. 2x=62x = 6

    Simplify; 3(0)=0-3(0) = 0.

  3. x=3x = 3

    Divide both sides by 22; the x-intercept is at (3,0)(3, 0).

  4. 2(0)3y=62(0) - 3y = 6

    Set x=0x = 0 to find where the line crosses the y-axis.

  5. 3y=6-3y = 6

    Simplify; 2(0)=02(0) = 0.

  6. y=2y = -2

    Divide both sides by 3-3; remember that dividing by a negative reverses the sign. The y-intercept is at (0,2)(0, -2).

Answer: x=3 (x-intercept),y=2 (y-intercept)x = 3 \text{ (x-intercept)}, \quad y = -2 \text{ (y-intercept)}

This example shows that intercepts can be negative or require division by negative numbers. The method stays the same: set the other variable to zero and solve. Always check your signs when dividing by negative coefficients.

3. Concert ticket sales: finding intercepts in a real context

Problem

A concert venue sells regular tickets at $15 and VIP tickets at $25. Total revenue from one show is $3000. The equation 15r+25v=300015r + 25v = 3000 relates the number of regular tickets rr and VIP tickets vv. Find the r-intercept and v-intercept and interpret them.
  1. 15r+25(0)=300015r + 25(0) = 3000

    Set v=0v = 0 (assuming no VIP tickets are sold) to find how many regular tickets alone would generate the target revenue.

  2. 15r=300015r = 3000

    Simplify 25(0)=025(0) = 0.

  3. r=200r = 200

    Divide both sides by 1515. If only regular tickets were sold, 200200 would be needed to reach $3000 in revenue.

  4. 15(0)+25v=300015(0) + 25v = 3000

    Set r=0r = 0 (assuming no regular tickets are sold) to find how many VIP tickets alone would generate the target revenue.

  5. 25v=300025v = 3000

    Simplify 15(0)=015(0) = 0.

  6. v=120v = 120

    Divide both sides by 2525. If only VIP tickets were sold, 120120 would be needed to reach $3000 in revenue.

Answer: r-intercept: 200,v-intercept: 120r\text{-intercept: } 200, \quad v\text{-intercept: } 120

In real-world problems, intercepts represent extreme scenarios: selling only one type of item. The r-intercept shows what happens if no VIP tickets are sold, and the v-intercept shows what happens if no regular tickets are sold. This helps managers understand the range of possible sales mixes.

Common mistakes

Where x-Intercept and y-Intercept usually goes wrong
Answer came out wrong
To find the x-intercept, set x=0x = 0.
To find the x-intercept, set y=0y = 0 and solve for xx. To find the y-intercept, set x=0x = 0 and solve for yy.
The intercepts of y=3x5y = 3x - 5 are 33 and 5-5.
For the x-intercept, solve 0=3x50 = 3x - 5 to get x=53x = \frac{5}{3}, so the point is (53,0)(\frac{5}{3}, 0). For the y-intercept, substitute x=0x = 0 to get y=5y = -5, so the point is (0,5)(0, -5).
I found the y-intercept of 2x+4y=82x + 4y = 8 to be 44.
Set x=0x = 0: 2(0)+4y=8    4y=8    y=22(0) + 4y = 8 \implies 4y = 8 \implies y = 2. The y-intercept is (0,2)(0, 2).
The mistakeWhy it is wrongThe fix
To find the x-intercept, set x=0x = 0.This is backwards: setting x=0x = 0 gives the y-intercept, not the x-intercept. The x-intercept is on the x-axis where y=0y = 0.To find the x-intercept, set y=0y = 0 and solve for xx. To find the y-intercept, set x=0x = 0 and solve for yy.
The intercepts of y=3x5y = 3x - 5 are 33 and 5-5.Intercepts are points (coordinates), not just numbers. Also, these values do not represent the correct intercepts—you must actually solve by setting one variable to zero.For the x-intercept, solve 0=3x50 = 3x - 5 to get x=53x = \frac{5}{3}, so the point is (53,0)(\frac{5}{3}, 0). For the y-intercept, substitute x=0x = 0 to get y=5y = -5, so the point is (0,5)(0, -5).
I found the y-intercept of 2x+4y=82x + 4y = 8 to be 44.You likely read the coefficient 44 in front of yy or substituted x=4x = 4 into the equation, but to find the y-intercept you must set x=0x = 0 only.Set x=0x = 0: 2(0)+4y=8    4y=8    y=22(0) + 4y = 8 \implies 4y = 8 \implies y = 2. The y-intercept is (0,2)(0, 2).

Tips and when to use something else

  • The x-intercept always lies on the x-axis, so its y-coordinate is always 00; similarly, the y-intercept always lies on the y-axis, so its x-coordinate is always 00. Remembering this can help you catch sign errors.
  • Once you have the two intercepts, you have two points on the line—enough to sketch an accurate graph without making a table of values.
  • For an equation in standard form like 3x+2y=123x + 2y = 12, the intercept method is much faster than slope-intercept form or point-slope form, especially for hand sketches.
  • Not all lines have both intercepts: horizontal lines (like y=5y = 5) have a y-intercept but no x-intercept, and vertical lines (like x=2x = -2) have an x-intercept but no y-intercept.

Frequently asked questions

What if a line does not have an x-intercept or a y-intercept?
Horizontal lines like y=7y = 7 never cross the x-axis, so they have no x-intercept (but they do have a y-intercept at (0,7)(0, 7)). Vertical lines like x=3x = -3 never cross the y-axis, so they have no y-intercept (but they do have an x-intercept at (3,0)(-3, 0)). Every non-horizontal, non-vertical line has both.
Why do we set one variable to zero to find intercepts?
The x-axis is defined by the condition y=0y = 0, and the y-axis is defined by x=0x = 0. To find where a line crosses these axes, we substitute these defining conditions into the equation. This is precisely the intersection of the line with each axis.
Can I find the intercepts just by looking at the graph?
Yes—simply observe where the line crosses each axis and read the coordinates. However, graphical answers may lack precision if the intercepts are non-integer values or if the grid scale is hard to read accurately, so the algebraic method is preferred when you need exact values.
Do two lines with the same intercepts have to be the same line?
Yes, if two distinct lines share the same x-intercept and y-intercept, they must be the same line, because two points uniquely determine a line. However, two different lines can have the same x-intercept (or the same y-intercept alone) as long as they differ in their slopes.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18