Home › Calculators › Graphing Calculator

Graphing Calculator

Type one or more functions of x and see them plotted instantly. Zoom, pan, hover to read exact coordinates, and get every intersection point and a table of values.

Last updated:

Functions y = f(x)

Try 2x^2 - 3, sin(x)/x, sqrt(abs(x)), ln(x), e^(-x^2), 1/x or tan(x). Implicit multiplication like 3x or 2sin(x) works.

Hover or tap the graph to read coordinates. Drag to pan, scroll or pinch to zoom.

Intersection points in view

    Table of values

    Advertisement
    Advertisement

    How to use the Graphing Calculator

    1. Type a function of x in the first row, for example x^2 - 4 or 2sin(x).
    2. Add more functions with + Add function. Pick a color with the round swatch, and use the eye button to show or hide a graph.
    3. Press Plot (or just keep typing, the graph updates live).
    4. Explore the graph: drag to pan, scroll or pinch to zoom, and hover or tap to read coordinates. Reset view returns to −10…10.
    5. Read the intersections listed under the graph, and set x from, x to and step to build a table of values you can copy.

    Supported functions and syntax

    TypeMeaningExample
    + − * /Add, subtract, multiply, divide3x - 1, x/2
    ^Power (right to left: 2^3^2 = 2^9)x^3, 2^x, e^(-x^2)
    sqrt, cbrt, absSquare root, cube root, absolute valuesqrt(x + 4)
    sin cos tan, sec csc cotTrigonometry in radians2sin(3x)
    asin acos atan, sinh cosh tanhInverse and hyperbolic functionsatan(x)
    ln, log, log(x, b), expNatural log, log base 10, log base b, e^xlog(x, 2)
    floor ceil round signRounding and signfloor(x)
    pi, eConstants π ≈ 3.14159 and e ≈ 2.71828sin(pi x)

    Write -x^2 to mean −(x²): powers are applied before the minus sign, exactly as in algebra. Use brackets whenever you are unsure, for example (-x)^2.

    Finding where two graphs intersect: a worked example

    Two graphs meet where their y-values are equal. For y₁ = x² and y₂ = x + 2, set them equal: x² = x + 2, so x² − x − 2 = 0. This factors as (x − 2)(x + 1) = 0, giving x = 2 and x = −1. Substituting back into y₂ gives the points (2, 4) and (−1, 1), which is exactly what the calculator lists for the default functions.

    The tool does the same thing numerically for any pair of functions: it looks at the difference d(x) = y₁(x) − y₂(x) across the visible range, spots every place where d changes sign, and then halves the interval again and again (the bisection method) until the crossing is pinned down. That is why it also works for equations you cannot solve by hand, such as cos(x) = x, whose only solution is x ≈ 0.739085.

    Reading a graph: key features to look for

    FeatureWhat it meansHow to find it here
    x-intercepts (roots)Values of x where f(x) = 0Add the function y = 0 and read the intersection points
    y-interceptThe value f(0)Hover at x = 0 or start the table at 0
    Vertical asymptoteThe graph shoots off to ±∞, e.g. 1/x at x = 0Look for a break in the curve
    Maximum / minimumHighest or lowest point in a regionZoom in and hover; the table with a small step narrows it down
    PeriodDistance after which a curve repeats, 2π for sin(x)Compare x-values of matching peaks

    Transformations of a function

    Plotting a base function next to a changed version is the fastest way to understand transformations. Starting from y = f(x): f(x) + k moves the graph up by k, f(x − h) moves it right by h, a·f(x) stretches it vertically by a factor a (and flips it when a is negative), and f(b·x) squeezes it horizontally by a factor b. Try x^2, (x - 3)^2 + 1 and -0.5x^2 together to see all three at once.

    Frequently asked questions

    How do I type powers, roots and logarithms?

    Use ^ for powers (x^3, 2^x), sqrt(x) for square roots, cbrt(x) for cube roots, abs(x) for absolute value, ln(x) for the natural logarithm, log(x) for log base 10 and log(x, b) for any base. Constants pi and e are built in.

    Do I need to type the multiplication sign?

    No. Implicit multiplication works, so 2x, 3x^2, 2sin(x), x(x - 1) and 4pi are all understood. You can still type * if you prefer.

    Are angles in degrees or radians?

    Trigonometric functions use radians, which is the standard for graphing. To graph sine of x degrees, type sin(x*pi/180).

    How are intersection points found?

    The calculator samples the difference between each pair of visible functions across the current view, finds every sign change and then narrows each one down by bisection to about 15 significant digits. Touching points where the graphs meet without crossing are found by a minimum search. Only points inside the current view are listed, so zoom out to find more.

    Why is there a gap in the graph of tan(x) or 1/x?

    Those functions have vertical asymptotes where they jump from very large positive to very large negative values. The plotter detects these jumps and lifts the pen instead of drawing a misleading vertical line.

    Why does my function show nothing for some x values?

    Values outside a function's domain are skipped, for example sqrt(x) for negative x or ln(x) for x ≤ 0. The table shows – for those x values.

    Can I save or share the graph?

    Press Download PNG to save the current view as an image. Your functions are remembered in this browser, so they are still there next time you open the page.

    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

    Scientific CalculatorTrig, logs, powers and more in your browser.Standard Deviation CalculatorStandard deviation, variance, mean, median, mode and quartiles.Average CalculatorMean, weighted average, median, sum, min and max of any list.Percentage CalculatorWork out percentages, increases and decreases.3D Graphing CalculatorPlot z = f(x, y) surfaces and 3D parametric curves; rotate, zoom, add contours, save PNG.Asymptote CalculatorFind vertical, horizontal and slant asymptotes and holes of a function, with graph and reasoning.Completing the Square CalculatorRewrite ax² + bx + c in vertex form a(x − h)² + k step by step and solve it.Coordinate Plane Graph PaperPrint XY coordinate grids with numbered axes: range, scale and 1, 4, 6 or 9 grids per page.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.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.Synthetic Division CalculatorDivide polynomials by x − c (synthetic table) or any polynomial (long division) with steps.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.Eigenvalue and Eigenvector CalculatorEigenvalues (real or complex), eigenvectors and the characteristic polynomial of a square matrix.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.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.X and Y Intercept CalculatorFind the x- and y-intercepts of lines, curves and functions with steps and a graph.Line Intersection CalculatorFind where two lines cross from equations, points or slopes, with parallel checks and a graph.Linear Programming SolverSolve max/min linear programs with the simplex method: tableau steps and a 2-variable graph.Modular Exponentiation CalculatorCompute a^b mod m for huge numbers with square-and-multiply steps (BigInt).Modular Inverse CalculatorFind a⁻¹ mod m with the extended Euclidean algorithm, step by step, for huge numbers too.Nth Term CalculatorFind the nth term formula of a sequence: arithmetic, geometric, quadratic or cubic.Partial Fraction Decomposition CalculatorSplit a rational function into partial fractions with the setup, equations and solution.Perpendicular Line CalculatorEquation of the perpendicular and parallel line through a point, with distance and a graph.Polar Graphing CalculatorGraph polar equations r = f(θ): roses, cardioids, spirals, with a θ range slider and PNG export.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.Inequality CalculatorSolve linear, quadratic, rational and absolute value inequalities with steps and a number line.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.
    See all 74 Algebra & Calculus Calculators →