Graphing Calculator
Plots up to four y = f(x) functions with a whitelisted parser, splits curves at poles and gaps, and gives a probe, value table and approximate roots.
Functions
Use x as the variable. The graph updates as you type.
Click or drag on the graph to place the probe. With the graph focused: arrow keys pan, + / − zoom, “,” and “.” move the probe, 0 resets.
Probe
Click the graph (or focus it and press “.”) to read values at a point.
Breaks, gaps and roots
- f: one unbroken curve in view. Roots ≈ 0 (approximate).
Curves are sampled, so very narrow features can be missed; roots come from sign changes and are approximations, not exact solutions.
Table of values
| x | f(x) |
|---|---|
| −10 | 100 |
| −8 | 64 |
| −6 | 36 |
| −4 | 16 |
| −2 | 4 |
| 0 | 0 |
| 2 | 4 |
| 4 | 16 |
| 6 | 36 |
| 8 | 64 |
| 10 | 100 |
How to use this calculator
- Type up to four functions of x, e.g. x^2, sin(x), 1/x, sqrt(x). Each has its own colour and line style (solid, dashed, dotted, dash-dot).
- Set the x range; leave “Fit the y range automatically” on or enter your own y limits. Switch Radians/Degrees for trig.
- Click or drag on the graph for the probe, use the buttons or keyboard to pan and zoom, and read exact values in the table below. Download SVG, PNG or the table as CSV.
How it works
Each expression is parsed by a small whitelisted parser (numbers, x, + − × ÷ ^, brackets, standard functions and constants — no code is ever executed). Powers are right-associative and −x^2 means −(x²).
Curves are sampled adaptively within fixed sample, depth and time limits. Where a function is undefined (sqrt of a negative, a division by zero) or jumps (a pole of 1/x or tan x, a step of floor) the line is split rather than joined, and the gaps are listed in words.
Roots come from sign changes refined by bisection and are approximations. Sampling can miss very narrow features — zoom in or choose the detailed budget.
Worked example
x^2 and 1/x on −10 ≤ x ≤ 10. The table of values for x^2 at x = −2, 0, 2 reads 4, 0, 4. 1/x is drawn as two separate branches — undefined at x = 0 and never joined across it — and sqrt(x) has no line at all over negative x.
Common mistakes
- Typing sinx — function calls need brackets: sin(x). The error message points at the exact character.
- Reading 1/2x as 1/(2x): implicit multiplication has the same precedence as ÷, so 1/2x means (1/2)·x. Use brackets.
- Graphing trig in radians when you meant degrees — switch the angle mode.
Frequently asked questions
Why is a curve broken?
Because the function is undefined there or jumps. 1/x has no value at 0, tan(x) has poles, sqrt(x) has no real values below 0 and floor(x) steps. Joining those points would draw lines that are not part of the graph, so the curve is split and the gap is described under the graph.
Radians or degrees?
Trig functions read x in the selected mode. In radians sin(x) repeats every 2π ≈ 6.283; in degrees every 360, so a −10…10 window shows only a tiny piece of a degree-mode sine wave.
Are roots exact?
No. They are found numerically from sign changes and shown to about six significant figures as approximations. A root where the curve only touches zero without crossing can be missed.
Related tools
- Scientific Calculator
- Quadratic Equation Calculator
- Slope Calculator
- Fraction Calculator
- Polynomial Root Calculator
- Exponent (Power) Calculator
Explore more in Maths, Education & Science.
Cite this tool
Zerdly. (2026). Graphing Calculator. Retrieved from https://www.zerdly.com/tools/graphing-calculator/
Tip: Enter any known values to calculate the remaining results.
Designed to run locally in your browser. Tool inputs are not intentionally stored by Zerdly unless stated otherwise.



