Calculators.Life Calculator
Math

X and Y Intercept Calculator

Input Parameters

Scenarios
The coefficient A in Ax + By = C, or slope m in y = mx + b, or a in ax² + bx + c
The coefficient B in Ax + By = C, or y-intercept b in y = mx + b, or b in ax² + bx + c
The constant C in Ax + By = C, or constant c in ax² + bx + c (unused in y = mx + b)

Computed Results

X-Intercept(s)
(0.5, 0)
Y-Intercept(0, 0.2857)
Step-by-Step SolutionFor x-intercept, set y = 0: 4x + 7(0) = 2 => 4x = 2 => x = 0.5. For y-intercept, set x = 0: 4(0) + 7y = 2 => 7y = 2 => y = 0.2857.

This calculator determines the exact coordinate points where a line or curve crosses the x-axis and y-axis. By selecting your equation format and entering the coefficients, you can quickly find the intercepts and review the step-by-step algebraic solution used to solve for them.

Practical Use Cases

Finding the intercepts of an equation is a fundamental step in algebra and coordinate geometry. Common applications include:

How to Use the Calculator

Follow these steps to calculate the intercepts of your equation:

  1. Select the Equation Form: Choose between Standard Linear (Ax + By = C), Slope-Intercept (y = mx + b), or Quadratic (y = ax² + bx + c).
  2. Enter the Coefficients: Input the corresponding numerical values for A, B, and C (or m, b, and c). Negative numbers and decimals are supported.
  3. Review the Intercepts: The calculator will display the coordinate points for the x-intercept(s) and the y-intercept.
  4. Check the Steps: Read the step-by-step solution to see exactly how the algebraic substitution was performed.

Formulas and Calculation Method

An x-intercept occurs where the graph crosses the horizontal x-axis, meaning the y-value is exactly 0. A y-intercept occurs where the graph crosses the vertical y-axis, meaning the x-value is exactly 0. The calculation method depends on the form of the equation.

Standard Linear Form (Ax + By = C)

To find the x-intercept, set y to 0 and solve for x:

x = C ÷ A

To find the y-intercept, set x to 0 and solve for y:

y = C ÷ B

Slope-Intercept Form (y = mx + b)

To find the x-intercept, set y to 0 and solve for x:

x = −b ÷ m

The y-intercept is simply the constant term, b. The coordinate is (0, b).

Quadratic Form (y = ax² + bx + c)

The y-intercept is always the constant term, c. To find the x-intercepts, set y to 0 and use the quadratic formula:

x = (−b ± √(b² − 4ac)) ÷ 2a

The term inside the square root (b² − 4ac) is the discriminant. If it is positive, there are two x-intercepts. If it is exactly zero, there is one x-intercept. If it is negative, the curve does not cross the x-axis (no real roots).

Verified Scenario Walkthroughs

Scenario 1: Slope-Intercept Form with a Negative Slope

Suppose you have the equation y = -3x + 6.

Result: The x-intercept is (2, 0) and the y-intercept is (0, 6). To find the x-intercept, the calculator sets y = 0, resulting in 0 = -3x + 6, which simplifies to -3x = -6, or x = 2.

Scenario 2: Quadratic Equation with Two Real Roots

Suppose you have the quadratic equation y = x² - 5x + 6.

Result: The x-intercepts are (3, 0) and (2, 0), and the y-intercept is (0, 6). The discriminant is calculated as (-5)² - 4(1)(6) = 25 - 24 = 1. Because the discriminant is greater than 0, there are two real roots.

Inputs and Outputs

FieldTypeDescription
Equation FormInputThe mathematical format of your equation (Standard Linear, Slope-Intercept, or Quadratic).
Coefficient AInputThe value for A in Ax + By = C, m in y = mx + b, or a in ax² + bx + c.
Coefficient BInputThe value for B in Ax + By = C, b in y = mx + b, or b in ax² + bx + c.
Constant CInputThe value for C in Ax + By = C, or c in ax² + bx + c.
X-Intercept(s)OutputThe coordinate point(s) where the graph crosses the x-axis (y = 0).
Y-InterceptOutputThe coordinate point where the graph crosses the y-axis (x = 0).
Step-by-Step SolutionOutputThe algebraic steps taken to isolate the variables and solve for the intercepts.

Frequently Asked Questions

What is an x-intercept?

An x-intercept is the point where a line or curve crosses the horizontal x-axis on a graph. At this exact point, the y-value is always zero.

Can an equation have no x-intercepts?

Yes. A horizontal line (where the slope is zero) that does not lie on the x-axis will never cross it. Additionally, a quadratic equation (a parabola) will have no real x-intercepts if its vertex is above the x-axis and it opens upward, or below the x-axis and opens downward. This occurs when the discriminant is negative.

How do I find the y-intercept of a quadratic equation?

In the standard quadratic form y = ax² + bx + c, the y-intercept is always the constant term 'c'. This is because setting x to 0 eliminates the ax² and bx terms, leaving only y = c.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.