How to use the Graphing Calculator
- Type a function of x in each row, for example sin(x), x^2 - 3 or 2x + 1. Add up to six functions.
- Drag the graph to pan. Zoom with the mouse wheel, a pinch, or the zoom buttons. Hover or tap to read the coordinates.
- Put a or b in a function and move the sliders to watch the whole family of curves change.
- Press Find roots & intersections to list every zero and crossing point in view, then download a PNG or copy a share link.
Plot any function of x
This graphing calculator draws curves of the form y = f(x) on a pan-and-zoom grid, like a graphing handheld or an online plotter. Each expression is read by a small purpose-built parser in your browser, so nothing is uploaded and no code is ever executed from your input. You can plot up to six functions at once, each in its own colour, and hide or show them with the checkbox.
The parser follows standard mathematical precedence. That matters, because several common expressions are easy to misread:
| You type | It means | Value / note |
|---|---|---|
| -2^2 | −(2²) | −4, because powers come before negation |
| 2^3^2 | 2^(3²) | 512, because powers group from the right |
| 2x | 2 × x | implicit multiplication |
| 3sin(x) | 3 × sin(x) | works with any function |
| sin(x)^2 | (sin x)² | the square of the sine |
| 1/2x | (1/2) × x | left to right; write 1/(2x) if you mean that |
Trigonometric functions use radians, as in calculus and physics. So sin(x) crosses zero at multiples of π ≈ 3.14159. To work in degrees, convert inside the function: sin(x*pi/180).
Roots and intersections
Press Find roots & intersections to scan the visible x-range. For each curve, the tool looks for places where f(x) changes sign and narrows each one down by bisection until the interval is smaller than about 10⁻¹⁴ of x. It also finds roots where the curve only touches the axis, like x² at x = 0, by minimising |f(x)|. Intersections of two curves are the roots of their difference, f(x) − g(x).
Worked example: with the default curves, y = x² − 3 has roots at x = ±√3 ≈ ±1.732051. y = x² − 3 meets y = x + 2 (a = 1, b = 2) where x² − x − 5 = 0, which gives x = (1 ± √21) / 2 ≈ 2.791288 and −1.791288. These are exactly the values the tool lists.
A sign change across a vertical asymptote, such as tan(x) at π/2 or 1/x at 0, is not reported as a root. The tool checks that |f(x)| is actually close to zero at the candidate point.
Discontinuities and asymptotes
Naive plotters join every pair of neighbouring points, which draws false vertical lines through the asymptotes of tan(x), 1/x or sec(x), and through the jumps of floor(x). This plotter checks every steep segment by bisecting it. If the gap does not shrink as the interval gets smaller, it is a genuine break and the pen is lifted. Points where the function is undefined, such as sqrt(x) for x < 0 or ln(x) for x ≤ 0, are simply left blank.
Exploring families of curves with sliders
The parameters a and b each run from −10 to 10. Some ideas that come up often in Class 11 and 12 maths and in JEE preparation:
- a*(x - b)^2: a stretches or flips the parabola, and b slides its vertex along the x-axis.
- a*sin(b*x): a is the amplitude and the period is 2π / |b|.
- e^(a*x) next to ln(x): compare exponential growth and decay with the logarithm.
- a*x + b: slope and intercept of a straight line. Add a second line to watch the intersection move.
Tips
- Use Copy share link to send the exact graph, including the functions, slider values and view, to a classmate or teacher. Everything is stored in the link itself.
- Download PNG saves the graph at your screen's full resolution, ready for notes or assignments.
- Odd roots of negative numbers are real here: x^(1/3) and cbrt(x) both draw the full cube-root curve.
- For a single numeric answer rather than a graph, use the scientific calculator. To solve a linear system exactly, use the matrix calculator.
Frequently asked questions
How do I graph a function online?
Does the graphing calculator use degrees or radians?
How do I find where two graphs intersect?
Why is there no line through the asymptote of tan(x)?
What do the a and b sliders do?
Can I save or share my graph?
Last reviewed November 2026. Results are estimates for information only — see our disclaimer.