Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Graph plotter

Plot up to four functions of x, zoom and trace, and get the zeros, highs and lows, crossings and a table of values in words and numbers.

Key points on screen

    Table of values

    How to use

    1. Type up to four formulas in x, for example x^2 - 3, 2sin(x) or (x+1)(x-2). Each graph has its own line style: solid, dashed, dotted and dash-dot.
    2. Move around: drag the graph, use the mouse wheel to zoom, or the buttons. Fit height makes all graphs fit from top to bottom.
    3. Point at the graph (or tap it) to trace: the value of every graph at that x is shown under it.
    4. Under the graph, Key points lists zeros, where it crosses the y-axis, highs and lows and where graphs meet, for what is on screen. The Table of values gives exact numbers.

    You can write: + - * / ^, brackets, 2x for 2 × x, pi and e, and sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, sec, csc, cot, sqrt, cbrt, abs, ln, log (base 10), log2, exp, floor, ceil, round, sign.

    Keyboard and touch

    Arrow keys (graph focused)Move the view
    + / -Zoom in / out
    , / .Move the trace line left / right
    TouchDrag to move, tap to trace; use the buttons to zoom

    Tips

    • -x^2 means −(x²). For (−x)² write (-x)^2.
    • 2^3^2 is 29 = 512: powers are worked out from the right, as in maths books.
    • Graphs such as tan(x) and 1/x have breaks (asymptotes). The plotter does not join across them, and does not count them as zeros.
    • To solve an equation like x³ = 2x + 1, plot x^3 and 2x + 1; the points where they meet are the solutions.

    About this tool

    Formulas are read by our own small parser, never run as code. Each graph is drawn from two points per pixel. Zeros are found where the sign changes and narrowed down by halving the interval 80 times; a sign change with no real zero (a pole or a jump) is left out. Highs and lows are found where the slope changes sign and narrowed down with a golden-section search.

    Results are computed in ordinary double-precision numbers (about 15 significant digits). Key points only cover what is on screen; zoom out to find more. Nothing you type leaves your device.

    See you tomorrow!

    A fresh daily puzzle every morning, and new tools added every month.

    Browse every product