X intercept calculator

Enter an equation to find x-intercepts, real roots, and graph markers for quadratic, polynomial, and other functions.

x [−10, 10] · y [−6, 6]
Interactive function graph with x-intercept markersThe graph shows the entered function and markers at its real x-intercepts. Drag to pan and use the controls to zoom.xy

y = x² − 4x + 3

Drag to pan or use the wheel and zoom controls to explore the function and its roots.

ABOUT THE TOOL

What does an x-intercept mean?

An x-intercept is a point where the graph meets the x-axis. Its x-coordinate is a real root of the function, so solving f(x) = 0 gives the intercepts.

HOW TO USE IT

  1. Enter a function of x.
  2. Read the real roots and intercept points.
  3. Use the graph markers to check each result.
  4. Try polynomial, trig, exponential, or no-root examples.

What are x-intercepts?

X-intercepts are the points where a graph reaches y = 0 and meets or touches the x-axis. The corresponding x-values are called roots or zeros. This calculator accepts common algebraic, trigonometric, exponential, logarithmic, and custom functions, then searches for real solutions in the visible graph range.

How to find an x-intercept

Set the function equal to zero and solve for x. For quadratic and cubic polynomials, the calculator uses the equation structure to find real roots. For functions such as sine, cosine, exponential, logarithmic, and higher-degree expressions, it combines graph sampling with numerical refinement. Up to 10 distinct real roots are shown.

Roots and graph behavior

A graph may cross the x-axis, touch it at a repeated root, or never reach it. “No real roots” means the function has no real zero in the searched range. Use the graph, root markers, and calculation summary together to distinguish a crossing from a touch and to check whether a domain restriction affects the result.

Roots, zeros, and x-intercepts

To find an x-intercept, set y or f(x) equal to zero. The solution is the root value x, while the plotted point is (x, 0). A graph can cross the axis at a simple root or touch and turn around at a repeated root. Quadratics can be solved with factoring, completing the square, or the quadratic formula; higher-degree and non-polynomial functions may require numerical methods. The graph and numerical result should be read together.

X intercept calculator example

For f(x) = x² − 4x + 3, factoring gives (x − 1)(x − 3) = 0, so the x-intercepts are (1, 0) and (3, 0). Enter the expression without the y = prefix, inspect the root markers, and compare the results with the factored equation. For a polynomial x intercept calculator example such as x² + 4, the “no real roots” result is correct because the graph stays above the x-axis.

X intercept calculator example

For y = x² − 5x + 6, factoring gives (x − 2)(x − 3), so the x-intercepts are (2, 0) and (3, 0). For y = (x − 2)², the graph touches the axis at (2, 0) and turns around instead of crossing. Compare these examples in the calculator to see why a repeated root is still an x-intercept even though the curve does not pass through the axis.

Check roots against the domain

A numerical root is useful only when it belongs to the function’s real domain. For example, log(x − 1) has a possible zero when x − 1 = 1, giving x = 2, but values at x ≤ 1 are not real inputs for the logarithm. Use the graph and expression together, especially for rational, logarithmic, and trigonometric equations with gaps or repeated solutions.

COMMON QUESTIONS

Frequently asked questions

What is the difference between a root and an x-intercept?

A root is the x-value where f(x) = 0. The matching point on the graph is the x-intercept, written as (x, 0).

Can a function have no x-intercepts?

Yes. If it never reaches y = 0 in the searched range, the calculator shows “No real roots.”

How many roots can I see?

The calculator displays up to 10 distinct real roots so the results stay readable.

Does this work for sine and cosine?

Yes. The calculator searches for real zeros of trigonometric, polynomial, exponential, logarithmic, and custom expressions.

Is an x-intercept always a root?

Yes. The x-coordinate of an x-intercept is a real solution of f(x) = 0, provided the function is defined there.

Can a graph touch the x-axis without crossing it?

Yes. An even-multiplicity root, such as the root of (x − 2)², touches the axis and reverses direction.

Why might a numerical graph miss a root?

A root can be outside the visible range, very close to another root, or hidden near a discontinuity. Use zoom controls and the equation’s algebraic form to confirm it.