Graphing Calculator
Type a function of x and see its shape across any x range.
Use x as the variable: x^2 - 3x + 1, sin(x), 1/x, sqrt(x+2).
The value of a graph is in the shape, and shape is the first thing a table of numbers hides. A cubic looks monotonic in a five-point table and obviously has a local maximum once it is drawn; a reciprocal looks finite until the window is chosen so the pole is visible.
This plots 400 sample points across the window you set and scales the y-axis to the data, with the zero line drawn whenever it falls inside the plot. Narrowing the x range is usually more informative than any zoom control — the interesting features are rarely in the widest window.
How to use it
- Type f(x). Use x as the variable, and brackets around anything that should be evaluated first.
- Set the x range. Start narrow — a window of −5 to 5 shows most polynomial structure.
- Read the y-range and the edge values underneath the plot; a very large span usually means a pole is inside the window.
What sampling cannot show
The curve is a polyline between 400 samples. Between two samples a function can do anything: a narrow spike, a vertical asymptote, a single discontinuity. Where the plot looks vertical, the function is probably undefined at some point inside the window — 1/x at 0 is the standard case.
The y-axis is scaled to the sampled values, which means one extreme value compresses everything else. If the whole plot looks flat with one spike, that spike is a pole rather than a feature, and the range should be narrowed to exclude it.
Reviewed 2026-10-26. This tool runs entirely in your browser — no server, no account, and nothing you generate is stored.
Frequently asked questions
Can I plot more than one function?
Not at once. Plot them separately and compare the shapes against the same x range — the values at the edges and the reported y-range give you the numbers to compare with.
How do I find where the graph crosses zero?
Narrow the x range until the crossing is visible, then read the edge values, which bracket the root. For quadratics, the quadratic formula calculator gives the roots exactly.
Why does the line look broken near a vertical asymptote?
Because each sample is connected to the next, so a jump from a large positive to a large negative value draws a near-vertical line that is not part of the function. That visual artefact is a property of joining samples, not of the function.
Which functions are supported?
Polynomials, roots, exponentials, logarithms, all six trigonometric functions and their inverses, plus min, max, floor, ceil, abs and pow. Unknown names are reported as errors rather than silently ignored.
Related tools
More from Calculators.