Home › Calculators › X and Y Intercept Calculator

X and Y Intercept Calculator

Type any equation in x and y, or a function y = f(x), and get every x-intercept and y-intercept as exact values with the working shown. For straight lines you also get the slope and the slope-intercept, standard and intercept forms, and every result is marked on an interactive graph.

Last updated:

Examples:

Type any equation such as 4x − y = 8, y = x² − 9 or x²/4 + y²/9 = 1. Without an equals sign the input is read as y = f(x). Supported: + − * / ^, implicit multiplication (2x, 3(x+1)), sqrt, cbrt, abs or |x|, ln, log, exp, sin, cos, tan, pi, e.

x-intercepts
–
y-intercepts
–

Step-by-step

Graph

x-intercept y-intercept

Advertisement
Advertisement

How to use the X and Y Intercept Calculator

  1. Type the equation, such as 2x + 3y = 6, y = x^2 - 4x + 3 or x^2 + y^2 = 25, or tap one of the examples. A plain expression like x^2 - 9 is read as y = x² − 9.
  2. Or switch to Two points and enter the coordinates of two points on a line.
  3. Press Find intercepts (or Enter).
  4. Read the intercepts in the two result cards, written as points (a, 0) and (0, b).
  5. Follow the steps to see how each intercept is found, and check the graph, where x-intercepts are orange and y-intercepts green.

What intercepts are and how to find them

An intercept is a point where a graph meets an axis. Every point on the x-axis has y = 0, and every point on the y-axis has x = 0, so the rule is the same for any equation:

  • x-intercepts: put y = 0 into the equation and solve for x. Each answer a is the point (a, 0). These are also called the zeros or roots of a function.
  • y-intercepts: put x = 0 into the equation and solve for y. Each answer b is the point (0, b). For a function this is just f(0).

The point (0, 0) is both an x- and a y-intercept when the graph passes through the origin.

Intercept shortcuts for common equations

Equationx-intercept(s)y-interceptExample
Slope-intercept y = mx + b (m ≠ 0)(−b/m, 0)(0, b)y = 2x − 6 → (3, 0) and (0, −6)
Standard form Ax + By = C(C/A, 0)(0, C/B)4x + 5y = 20 → (5, 0) and (0, 4)
Intercept form x/a + y/b = 1(a, 0)(0, b)x/3 + y/2 = 1 → (3, 0) and (0, 2)
Horizontal line y = knone (unless k = 0)(0, k)y = 4 → only (0, 4)
Vertical line x = h(h, 0)none (unless h = 0)x = −2 → only (−2, 0)
Quadratic y = ax² + bx + c(−b ± √(b² − 4ac))/(2a), if b² − 4ac ≥ 0(0, c)y = x² − 4x + 3 → (1, 0), (3, 0) and (0, 3)
Factored y = a(x − r)(x − s)(r, 0) and (s, 0)(0, a·r·s)y = 2(x − 1)(x + 4) → (1, 0), (−4, 0), (0, −8)
Circle x² + y² = r²(−r, 0) and (r, 0)(0, −r) and (0, r)x² + y² = 25 → (±5, 0) and (0, ±5)
Rational y = (x − p)/(x − q)(p, 0), if p ≠ q(0, p/q), if q ≠ 0y = (x − 2)/(x + 1) → (2, 0) and (0, −2)
Exponential y = a·bˣ + kone if −k/a > 0, else none(0, a + k)y = 2ˣ − 8 → (3, 0) and (0, −7)

Tips for checking your answers

  • Plug the point back in. An x-intercept (a, 0) must satisfy the original equation with x = a and y = 0. If it does not, an arithmetic step went wrong.
  • Use intercepts to sketch a line quickly. Two intercepts are two points, so marking them and joining them with a ruler draws the whole line. This fails only for lines through the origin, where both intercepts are the same point and you need one more point.
  • Watch the domain. A function like y = √(x + 4) − 1 or y = ln(x) may not be defined at x = 0, and then it has no y-intercept at all.
  • Repeated roots touch the axis. In y = (x − 2)², the root x = 2 appears twice, so the parabola touches the x-axis at (2, 0) and turns back without crossing it.

Frequently asked questions

How do you find the x-intercept?

Set y = 0 in the equation and solve for x. Each solution a gives an x-intercept at the point (a, 0). For 2x + 3y = 6, setting y = 0 gives 2x = 6, so the x-intercept is (3, 0).

How do you find the y-intercept?

Set x = 0 and solve for y. Each solution b gives a y-intercept at (0, b). For 2x + 3y = 6, setting x = 0 gives 3y = 6, so the y-intercept is (0, 2). In y = mx + b form the y-intercept is simply b.

Can a function have more than one y-intercept?

No. A function gives exactly one y-value for each x, so it can cross the y-axis at most once (and not at all if x = 0 is outside its domain). Curves that are not functions, such as the circle x² + y² = 25, can have two y-intercepts: (0, −5) and (0, 5).

How many x-intercepts can a quadratic have?

Zero, one or two, decided by the discriminant b² − 4ac. If it is positive the parabola crosses the x-axis twice, if it is zero it touches the axis once at its vertex, and if it is negative it never reaches the x-axis.

What are the intercepts of a horizontal or vertical line?

A horizontal line y = k has the y-intercept (0, k) and no x-intercept unless k = 0, in which case it is the x-axis itself. A vertical line x = h has the x-intercept (h, 0) and no y-intercept unless h = 0.

What is the intercept form of a line?

A line that crosses the axes at (a, 0) and (0, b), with a and b not zero, can be written as x/a + y/b = 1. For example, 2x + 3y = 6 divided by 6 becomes x/3 + y/2 = 1, so the intercepts are 3 and 2.

Why does the calculator say an answer is approximate?

Equations such as 2^x = x + 3 or cos(x) = x have no simple exact solution, so the roots are found numerically and shown with six decimal places. Whenever a root is a whole number, a fraction, a simple radical from a quadratic or a multiple of π, the exact value is shown instead.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Slope Intercept Form CalculatorGet y = mx + b from two points, a point and slope, or standard form, with steps and a graph.Graphing CalculatorPlot multiple functions with zoom, pan, intersections and a value table.Quadratic Equation SolverSolve ax² + bx + c = 0 with exact roots, steps, vertex and a parabola graph.Point Slope Form CalculatorLine equation in point-slope form from a point and slope or two points, plus y = mx + b.Exponent CalculatorRaise any number to a power, including negative and fractional exponents.Logarithm CalculatorCalculate log in any base, ln, log10, log2 and antilog with change-of-base steps.Matrix CalculatorAdd, multiply, invert and row-reduce matrices up to 5×5 with exact fractions and steps.Prime Number CheckerCheck if a number is prime, factor it with a factor tree and list primes in a range.GCF and LCM CalculatorFind the GCF and LCM of two or more numbers with Euclid steps and prime factorization.Cubic Yard CalculatorConvert length, width and depth in any unit to cubic yards, cubic feet, m³ and material weight.Factorial CalculatorExact n! up to 5000! with digit count, trailing zeros and double factorial.Prime Factorization CalculatorFind prime factors in exponent form with a factor tree, divisor count and divisors list.Modulo CalculatorCalculate a mod n and the quotient, with floored, truncated and Euclidean rules.Exponential Growth CalculatorExponential growth and decay: final amount, rate or time, discrete or continuous.Linear Regression CalculatorLeast-squares line of best fit: slope, intercept, r, r², predictions and a scatter plot.System of Equations SolverSolve 2×2, 3×3 and 4×4 linear systems with exact fractions and step-by-step working.Cubic Equation SolverSolve ax³ + bx² + cx + d = 0 for real and complex roots with steps and a graph.Summation CalculatorEvaluate sigma notation: sum any expression in n from a to b with partial sums and a chart.Arithmetic Sequence CalculatorFind the n-th term, sum and full list of an arithmetic sequence, or d from two terms.Geometric Sequence CalculatorFind the n-th term, sum and infinite sum of a geometric sequence, or r from two terms.Fibonacci CalculatorExact n-th Fibonacci number (BigInt), sequence lists, Fibonacci check and golden ratio.Factors CalculatorAll factors and factor pairs of a number, prime factors, divisor count and perfect check.Depth of Field CalculatorNear and far focus limits, depth of field and hyperfocal distance for any camera or lens.Crop Factor CalculatorCrop factor, full-frame equivalent focal length and aperture, and field of view for any sensor.Completing the Square CalculatorRewrite ax² + bx + c in vertex form a(x − h)² + k step by step and solve it.Derivative CalculatorSymbolic derivative of any f(x) up to 5th order, with steps, slope at a point and a graph.Exposure Value CalculatorEV from aperture, shutter and ISO, or solve any missing setting with sunny 16 presets.Factoring Trinomials CalculatorFactor trinomials and polynomials: GCF, ac method, difference of squares, cubes, with steps.Integral CalculatorDefinite integral of f(x) from a to b with adaptive Simpson, area graph and antiderivative.Least Common Denominator CalculatorFind the LCD of two or more fractions and rewrite them as equivalent fractions, with steps.Limiting Reactant CalculatorFind the limiting reactant, theoretical yield and leftover excess from an equation.Parabola CalculatorVertex, focus, directrix, axis, intercepts and graph of a parabola from its equation.Polynomial Root FinderFind all real and complex roots of a polynomial up to degree 10, with the factored form.Prime Number List GeneratorList all primes in a range or the first N primes with a fast sieve; copy or download the list.Quadratic Regression CalculatorFit y = ax² + bx + c (or up to degree 6) to x, y data with R², predictions and a graph.Scatter Plot MakerPaste X,Y pairs for a scatter plot with trendline, equation, r and R². Download PNG.Synthetic Division CalculatorDivide polynomials by x − c (synthetic table) or any polynomial (long division) with steps.3D Graphing CalculatorPlot z = f(x, y) surfaces and 3D parametric curves; rotate, zoom, add contours, save PNG.Polar Graphing CalculatorGraph polar equations r = f(θ): roses, cardioids, spirals, with a θ range slider and PNG export.Polynomial CalculatorAdd, subtract, multiply, divide and evaluate polynomials; see roots, degree and a graph.Polynomial Long Division CalculatorDivide polynomials with the full long division layout, quotient, remainder and steps.Scale Factor CalculatorScale factor between similar figures, plus scaled lengths, areas (k²) and volumes (k³).Set CalculatorUnion, intersection, difference and complement of up to 4 sets, with a Venn diagram and counts.Table of Values CalculatorMake an x/y table for any function with a start, end and step, then plot it or copy CSV.Algebra CalculatorSimplify, expand and factor algebraic expressions with exact answers and step-by-step working.Determinant CalculatorDeterminant of a 2×2 to 8×8 matrix with exact fractions and cofactor or row-reduction steps.Differential Equation SolverSolve first- and second-order ODEs step by step, with initial conditions, an RK4 check and a graph.Domain and Range CalculatorFind the domain and range of a function in interval notation, with steps and a graph.Eigenvalue and Eigenvector CalculatorEigenvalues (real or complex), eigenvectors and the characteristic polynomial of a square matrix.Equation SolverSolve any equation for x: exact roots, complex roots, numeric answers, steps and a graph.Inequality CalculatorSolve linear, quadratic, rational and absolute value inequalities with steps and a number line.Inverse Function CalculatorFind the inverse f⁻¹(x) of a function with steps, domain restrictions and a graph.Laplace Transform CalculatorLaplace transform of f(t) with the table rule used for each term and the region of convergence.Limit CalculatorEvaluate limits at a point or at infinity, one-sided or two-sided, with steps, table and graph.Linear Interpolation CalculatorInterpolate or extrapolate y for any x from two points or a data table, with steps and a plot.Matrix Inverse CalculatorFind the inverse of a 2×2 to 8×8 matrix in exact fractions with Gauss–Jordan or adjugate steps.Partial Derivative CalculatorPartial derivatives ∂/∂x, ∂/∂y, second and mixed orders with steps, gradient and Hessian.RREF CalculatorRow reduce any matrix to RREF with exact fractions, every row operation, pivots and rank.Stem and Leaf Plot MakerMake stem-and-leaf plots (standard, split stems or back-to-back) with a key; copy or save PNG.Taylor Series CalculatorTaylor and Maclaurin polynomials of any f(x) to order n, with exact coefficients and a graph.Antilog CalculatorInverse logarithm (antilog) in base 10, e, 2 or any base, with steps and scientific notation.Asymptote CalculatorFind vertical, horizontal and slant asymptotes and holes of a function, with graph and reasoning.Cramer's Rule CalculatorSolve 2x2 and 3x3 linear systems by Cramer's rule with every determinant shown step by step.Dot Plot MakerMake a dot plot or line plot from data or a frequency table; download PNG or SVG.Exponential Regression CalculatorFit y = a·bˣ or y = a·e^(kx) to data with r², predictions, residuals and a plot.Extended Euclidean Algorithm CalculatorFind gcd(a, b) and Bézout coefficients x, y with the full step-by-step division table.Factor Tree GeneratorDraw the prime factor tree of any number as a printable diagram, with exponent form and steps.Function Composition CalculatorFind f(g(x)), g(f(x)), f + g, f · g and f / g with values at a point and domains.
See all 74 Algebra & Calculus Calculators →