X Y Intercept Calculator

Find the x-intercept and y-intercept of a linear equation and display the crossing points on each axis.

Share this calculator

Standard form: Ax + By = C

(4, 0)

X-intercept

(0, 2)

Y-intercept

-0.5

Slope (m)

y = -0.5x + 2

Slope-intercept form

x + 2y = 4

Standard form

Also in Functions

Algebra

X-intercept and Y-intercept finder

The x-y intercept calculator finds where a linear equation crosses the x-axis and y-axis. Enter the equation coefficients to get both intercepts and their coordinates.

How intercepts are found

The y-intercept is the point where the line crosses the y-axis, found by setting x = 0 and solving for y. The x-intercept is the point where the line crosses the x-axis, found by setting y = 0 and solving for x.

For the equation Ax + By = C: the y-intercept is (0, C/B) and the x-intercept is (C/A, 0), provided the relevant coefficient is not zero.

y-intercept: (0, C/B)

Set x = 0 in Ax + By = C.

x-intercept: (C/A, 0)

Set y = 0 in Ax + By = C.

Special cases

A horizontal line (B coefficient only) has a y-intercept but no x-intercept unless the line is y = 0. A vertical line (A coefficient only) has an x-intercept but no y-intercept unless the line is x = 0. Lines through the origin have both intercepts at (0, 0).

Frequently asked questions

Can a line have no x-intercept?

Yes. A horizontal line like y = 5 never crosses the x-axis, so it has no x-intercept.

How many intercepts does a linear equation have?

A non-horizontal, non-vertical line always has exactly one x-intercept and one y-intercept. Horizontal lines have only a y-intercept, and vertical lines have only an x-intercept.

What if both intercepts are at the origin?

Lines passing through the origin, like y = 2x, have both their x-intercept and y-intercept at (0, 0).

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.