Function Plotter
Plot any function y = f(x) over a range you choose, with its zeros and range.
Enter your values and press Calculate to see the result and the working.
What does this calculator do?
Plots the curve of any mathematical function over a range you set, and reports its zeros within that range along with its minimum and maximum values.
When would you use it?
When studying a function's behaviour, seeing the effect of changing a coefficient, or finding where it crosses the x-axis visually before solving algebraically.
How the formula works
The expression is parsed into a function, evaluated at many x values spread evenly across the range, and the points are joined into a curve.
Points where the function is undefined are dropped automatically — the root of a negative number, the log of zero, a division by zero. Extreme values near asymptotes are also clipped so a single pole does not visually flatten the rest of the curve.
The range you choose changes what you see dramatically: a sine wave looks periodic over a wide range and almost linear over a narrow one near zero. Try more than one range before judging a function's shape.
What does the result mean?
The curve shows the function's behaviour: where it rises and falls, where it crosses the x-axis (the solutions of f(x) = 0), and whether it has turning points inside the range.
The minimum and maximum shown apply to the plotted range only — they are not necessarily the function's global extremes.
Common mistakes
Choosing a range where the function is undefined — plotting sqrt(x) from −10 to −1 — produces an empty chart. The second is exponent notation: both ** and ^ are supported here.
Worked example
A quadratic
The curve y = x², a parabola with its vertex at the origin.
A sine wave
Two full periods of the sine function.
Calculation method
Safe SymPy parsing followed by NumPy evaluation over a uniform grid of points.
Last reviewed: