Math & Basic

Function Grapher

Plot y = f(x) and see roots and intersections instantly.

Examples

Drag to pan, scroll or pinch to zoom. Tap the graph to read values.

Key points (visible range)

    Popular next tools

    What is the function grapher?

    Type y = expression to plot it instantly. Overlay up to four functions; the tool finds x-intercepts, y-intercepts and intersections in the visible range. Drag to pan, scroll or pinch to zoom, and save the graph as a PNG.

    Input syntax

    Use ^ for powers (x^2, 2^x), implicit multiplication (2x, 3(x+1)), sqrt, abs, sin, cos, tan (radians), ln, log, log(x, base), exp, floor, ceil, round, pi and e.

    How are roots and intersections found?

    The visible x range is sampled finely for sign changes, then each bracket is narrowed by bisection. Intersections are roots of f(x) − g(x). Discontinuities such as 1/x at 0 are excluded; touching roots like x² at 0 may be missed.

    Example — a parabola and a line

    y = x² − 4 and y = 2x + 1 meet where x² − 2x − 5 = 0, at x = 1 ± √6 ≈ 3.4495 and −1.4495.

    Do I have to type the multiplication sign?
    No. 2x, 3(x+1) and 2sin(x) all work. For letters next to each other, such as x*sin(x), keep the * to be safe.
    Are trig functions in degrees or radians?
    Radians. For degrees, type sin(x*pi/180).
    A root or intersection is missing.
    Only the visible range is searched, so pan or zoom out. Roots where the curve only touches the axis, like x² at 0, can be missed.
    Can I save the graph as an image?
    Press the save button (⤓) at the top right to download the current view as a PNG.
    Can I draw vertical lines or circles?
    Only y = f(x) is supported. Draw the circle x² + y² = 4 as y = sqrt(4 − x^2) and y = −sqrt(4 − x^2).