Account

What new tool do you want?

Math & Education

Graphing Calculator (Online Function Plotter)

Plot functions online — graph up to six equations at once, zoom and pan, and hover to read values. Supports trig, logs, roots, powers and absolute value. Free and instant.

How to use

  1. 1Type a function of x, like x^2 - 3 or sin(x).
  2. 2Add more functions to compare them.
  3. 3Scroll to zoom, drag to pan and hover to trace values; download a PNG.

Frequently asked questions

What functions are supported?

Arithmetic, powers (^), sqrt, abs, exp, log (natural), log10, sin/cos/tan and their inverses, plus constants pi and e.

Why does 1/x have a gap?

Vertical asymptotes are detected and not joined, so the graph doesn't draw a false line across them.

Can it solve equations?

Hover where curves cross the x-axis or each other to read approximate solutions, or use our Equation Solver for exact answers.

Why 1/x doesn't draw a false line through its gap

A naive plotter that just connects consecutive sample points with straight lines will draw a steep diagonal line straight across x = 0 when graphing 1/x, because the point just to the left (say x = −0.001, y = −1000) and the point just to the right (x = 0.001, y = 1000) get joined even though the function is undefined in between. This tool detects that kind of jump — a vertical asymptote — and breaks the line there instead of connecting across it, so the graph correctly shows two separate branches rather than one misleading diagonal streak.

A concrete example: comparing a function and its derivative visually

Graphing y = x^2 - 3 alongside y = 2x (its derivative) side by side on the same axes lets you see where the parabola is momentarily flat — at x = 0, the line y = 2x crosses zero exactly where the parabola y = x² − 3 reaches its minimum at (0, −3). Plotting up to six functions at once makes this kind of visual comparison possible without re-graphing each one separately, which is the main reason to use multiple function slots rather than one.

What hovering gives you, and what it doesn't

Hovering traces the curve and reads off an approximate coordinate at your cursor position, which is useful for spotting roughly where two curves intersect or where a function crosses the x-axis — but it's reading pixels, not solving equations, so the value shown is only as precise as your mouse position and the screen resolution. For an exact answer — say, the precise x where x² − 3 = 0 — the Equation Solver computes it symbolically instead of visually.

A steep jump is left as a gap

A point on the curve is skipped, and the line breaks, when the height is not a real number, when it sits more than 20 screen-heights off the page, or when it jumps by more than one and a half screen-heights from the point just before it. That last rule is what keeps 1/x from drawing a line through zero: the points on either side are real numbers, and they are simply too far apart to connect. Major grid lines sit about 80 pixels apart, then snap to a step such as 1, 2, 5, or 10. The numbers you see while hovering use about six digits, and they switch to scientific notation at 100,000 or for nonzero values smaller than 0.001.

Zoom stops at half a pixel per unit and at 20,000

The graph opens centered on the origin, with 50 pixels for each unit, and the home button puts it back there. The zoom buttons multiply or divide that scale by 1.5. Scrolling zooms toward the point under the pointer. The view will not go finer than 20,000 pixels per unit, or coarser than half a pixel per unit. You can start a formula with y = or f(x) =, and that prefix is ignored. Each formula is tried once, at x = 1.2345, before anything is drawn, so a typo shows as an error under the box. You can keep up to six formulas. The page starts with sin(x), x^2/4 - 2, and 1/x, and those formulas are remembered on this device. PNG saves the graph you see as graph.png.

Related tools

More: Math & Education