Function Graph Plotter
Free online function graph plotter. Plot one or more mathematical functions like sin(x), x^2, and exp(x) on an interactive canvas with zoom, pan, and a customizable axis range. Supports trigonometric, exponential, and logarithmic functions with no sign-up. 100% client-side and offline.
Loading tool...
What is Function Graph Plotter?
A Function Graph Plotter is a free online tool that visualizes one or more mathematical functions on an interactive canvas. Enter expressions in terms of x, such as sin(x), x^2, or exp(x), and the tool draws the curve instantly. You can zoom with the mouse wheel, pan by dragging, set exact axis ranges, and compare up to eight functions at once. A safe built-in expression engine handles trigonometric, exponential, and logarithmic functions without using eval or external libraries, and everything runs locally in your browser.
Key Benefits
- Plot multiple functions simultaneously with distinct colors
- Zoom and pan interactively or set exact axis bounds
- Safe expression engine supports a wide range of math functions
- High-resolution rendering with adaptive sampling near asymptotes
- Runs fully offline with no data uploads
Common Use Cases
- •Visualize functions for math homework and classroom demos
- •Compare several curves to find intersections and behavior
- •Explore trigonometric, exponential, and logarithmic graphs
- •Inspect function behavior near asymptotes and discontinuities
- •Quickly check the shape of a formula before coding it
How to Plot a Function
- Enter a function: Type a function in terms of x, such as sin(x) or x^2, into the first expression field. The graph appears instantly.
- Add more functions (optional): Click Add to plot additional functions. Each gets its own color and a visibility toggle for easy comparison.
- Zoom and pan: Scroll the mouse wheel to zoom in or out, and drag the canvas to pan across the graph.
- Adjust the view: Use the View Bounds fields to set exact X and Y ranges, or click Reset to return to the default view.
Key Features
- Plot up to eight functions at once, each with its own color and visibility toggle.
- Interactive zoom and pan via mouse wheel, drag, and manual axis range inputs.
- Safe built-in expression engine supports +, -, *, /, ^, %, parentheses, and constants pi, e, and tau.
- Includes sin, cos, tan, asin, acos, atan, sinh, cosh, sqrt, abs, exp, log, log10, floor, ceil, and round.
- High-resolution adaptive sampling renders clean curves even near asymptotes.
- Runs 100% client-side and offline, so your formulas never leave your device.