Graphing Calculator
Plot and visualize mathematical functions with this graphing calculator. Supports multiple functions, zoom, pan, and common math operations.
About Graphing Calculator
This graphing calculator lets you plot mathematical functions directly in your browser. Type an expression like x^2, sin(x), or 1/x and see the curve instantly on an interactive canvas.
How to Use the Graphing Calculator
Enter a function using x as the variable. The calculator parses your expression safely and plots it across the visible range. You can add up to five functions at once, each in a distinct color, making it easy to compare curves. Use the preset buttons for quick starts or type your own expressions.
Navigation and Controls
Zoom in and out with the buttons or your mouse wheel. Click and drag to pan the view. The Auto Y-axis feature keeps all plotted values in view, or you can set exact min/max ranges for both axes. Hover over the graph to see coordinates at any point.
Supported Math Functions
The parser handles arithmetic (+, -, *, /, ^), implicit multiplication (like 2x), parentheses, and built-in functions: sin, cos, tan, sqrt, abs, log (base 10), ln, exp, asin, acos, atan, ceil, and floor. Constants PI and E are available too. If you need to solve a specific equation, try the Equation Solver or the Quadratic Formula Calculator for quadratics. Everything runs client-side with no data sent to any server.
Frequently Asked Questions
What functions can I graph?
You can graph any combination of basic operators (+, -, *, /, ^), trigonometric functions (sin, cos, tan), and other common functions like sqrt, abs, log (base 10), ln (natural log), and exp. Constants PI and E are also supported.
How do I plot multiple functions at once?
Click the '+ Add function' button to add up to 5 functions. Each one is plotted in a different color so you can compare them on the same graph.
Can I zoom and pan on the graph?
Yes. Use the Zoom In and Zoom Out buttons, scroll with your mouse wheel, or click and drag to pan around. You can also set exact X and Y ranges in the controls below the graph.
What does auto Y-axis do?
When Auto Y-axis is checked, the calculator automatically adjusts the vertical range so all plotted values are visible. Turn it off to set custom Y min and max values.
Why does my function show a gap?
Gaps appear where the function is undefined or produces infinite values. For example, 1/x has a gap at x=0 because division by zero is undefined, and sqrt(x) has no values for negative x.