331+ free tools. No sign-up. No hidden fees. Explore the toolkit

Graphing Calculator

A graphing calculator turns an equation into a picture. Plot up to four functions on an interactive grid — no sign-up, no download, and nothing leaves your browser. Type a function of x, such as x^2 or sin(x), and the curve appears instantly.

Drag the graph to pan, use the zoom buttons or your mouse wheel, and read off roots, intercepts and values at any x below the graph.

Use x, pi, e, + − * / ^, parentheses, and sin cos tan asin acos atan log ln sqrt abs exp. Writing 2x works the same as 2*x. Log is base 10; ln is the natural log.

Your browser does not support the canvas element, which this graphing calculator needs to draw the graph.

Enter any x to read each function's value there.

Values at x = 2

Save to Pinterest
Note: This calculator evaluates functions numerically — it plots points and finds roots by scanning, it does not do symbolic algebra. Roots are accurate to about 6 decimal places, and only roots inside the current x-range are listed. Functions are never executed as code: every expression is read by a small built-in parser, so a typo shows an error instead of breaking the page.

How It Works

A graphing calculator turns an equation into a picture. You type a function of x — a rule that gives one y value for every x — and the calculator evaluates that rule at hundreds of x positions across the visible range, then joins the points into a smooth curve. Where the curve crosses the x-axis, the function equals zero: those crossings are the roots. Where it crosses the y-axis, x is zero: that point is the y-intercept. A system of equations — several equations to solve at once — is usually handled with matrices, not a graph.

Under the hood, your expression is read by a small parser that understands numbers, the variable x, the constants pi and e, the operators + − * / and ^, parentheses, and the functions sin, cos, tan, asin, acos, atan, log, ln, sqrt, abs and exp. The parser builds the calculation step by step — it never runs your text as code — so a mistake like a missing bracket produces a clear error message instead of a crash, and the other functions keep plotting.

Roots are found numerically. The calculator samples the function in fine steps across the visible x-range and watches for a sign change — a step where the value flips from positive to negative or the other way round. Each sign change brackets a root, and bisection (repeatedly halving the bracket) pins the root down to about 6 decimal places. A root exactly at a sampled point is caught directly. Because the search only covers the visible range, widen the x limits if a root you expect is missing from the table.

Discontinuities are handled too. A function like 1/x shoots off towards infinity near x = 0, and tan(x) has vertical jumps; the plotter breaks the curve wherever the value jumps by more than five times the visible y-range in a single step, so you see the two separate branches instead of a misleading vertical line.

Worked Example

Plot f(x) = x² − 4 — type x^2 - 4 in the first box and clear the others. It is a parabola opening upwards. At x = 3, the value is 3² − 4 = 9 − 4 = 5. At x = 0, the value is 0 − 4 = −4, so the y-intercept is (0, −4). The roots are where x² − 4 = 0, which factors as (x − 2)(x + 2) = 0, giving x = −2 and x = 2 — exactly the two crossings the calculator lists in the roots table.

Try a second function to see how curves compare: g(x) = sin(x). At x = π/2 (about 1.5708) it reaches 1, its highest point, and it crosses the x-axis at 0, ±π, ±2π and so on — within the −10 to 10 window you will see seven crossings: −3π, −2π, −π, 0, π, 2π and 3π (about ±9.4248, ±6.2832, ±3.1416 and 0). A number sequence can be pictured the same way — one point per term — and the shape of the points shows the pattern at once.

Assumptions

Sources: No external data is used on this page — every figure is calculated from the expressions you enter. Last reviewed: 15 November 2026.

Built and tested by SumKitTool — see how we check our numbers.

How to Use This Calculator

Type a function in any of the four boxes and press Plot (or Enter). The graph redraws as you type, so you can experiment freely — change x^2 to x^3 and watch the curve change shape. Drag the graph to pan it, use the zoom buttons or the mouse wheel to zoom, or type exact limits in the x and y boxes for a precise window. Reset view returns to −10 to 10 on both axes.

Below the graph, the value-at-x box shows every plotted function's value at the x you choose, and the table lists each function's y-intercept and all roots found inside the current x-range. If an expression cannot be read, an error message names the problem and the other functions still plot — fix the typo and the curve comes back.

Tips and Practical Advice

Graphing is the fastest way to build intuition for how a function behaves.

Frequently Asked Questions

How do I plot a function on this graphing calculator?

Type a function of x, such as x^2 or sin(x), into one of the four function boxes and press Plot — or just press Enter. The curve draws instantly on the grid. You can plot up to four functions at once, each in its own colour, and the legend below the graph shows which colour belongs to which function.

What functions and symbols can I type?

You can use x, the numbers pi and e, the operators + − * / and ^ (power), and parentheses. Supported functions are sin, cos, tan, asin, acos, atan, log (base 10), ln, sqrt, abs and exp. Writing 2x works the same as 2*x. Anything the calculator cannot read — such as a missing bracket — shows a clear error message instead of a broken graph.

How does the calculator find roots and intercepts?

It scans the visible x-range in small steps and looks for places where the curve crosses the y = 0 line, then refines each crossing with bisection until it is accurate to about 6 decimal places. The y-intercept is simply the value of the function at x = 0. Only roots inside the current x-range are listed, so widen the range if a root is missing.

Can I zoom and pan the graph on a phone?

Yes. Drag the graph with one finger to pan, use the Zoom in and Zoom out buttons, or type exact x and y limits in the range boxes. On a computer you can also use the mouse wheel over the graph to zoom. The Reset view button returns to the standard −10 to 10 window.

Related hub: Math Calculators — browse all 64 math calculators in one place.

Last updated: