Online Graphing Calculator
This online graphing calculator plots mathematical functions on an interactive coordinate plane. Type an expression in terms of x and the graph appears instantly — no "enter" needed, nothing to install.
It is built for students, teachers, and anyone exploring how functions behave. Plot polynomials like x^2 and 2x^3 - 5x + 1, trig curves such as sin(x) and cos(x), exponentials, logarithms, roots, absolute values, and rational functions like 1/x — then zoom, pan, and read exact coordinates as you move the cursor.
How to Use the Graphing Calculator
Enter a function
Type an expression using x as the variable, for example x^2, sin(x), 2x^3 - 5x + 1, sqrt(x), or exp(-x^2). The graph plots automatically as you type.
Add more functions
Use Add function to plot more curves — up to six at once. Each gets its own color, and you can click the color dot to cycle through the palette.
Insert symbols quickly
Focus an input field to reveal the symbol bar, then click to insert π, √, powers like x² and x³, |x|, eˣ, ln, and parentheses — handy on mobile. Or open Examples to load one of 11 preset functions.
Explore and export
Scroll to zoom, drag to pan, and hover to read the exact (x, y) coordinates. Use the toolbar to reset the view, toggle the grid, expand to full width, or export the graph as a PNG.
Features
Real-Time Plotting
Graphs render as you type, with a short debounce that keeps the interface smooth even during fast edits.
Multiple Functions with Color Coding
Plot up to six functions at once, each in a distinct color. Click a function's color dot to cycle through the palette.
Mathematical Expression Preview
A live KaTeX preview under each input shows your expression in proper notation, with real superscripts and square-root symbols.
Interactive Graph Controls
Scroll to zoom, drag to pan, and hover to read precise coordinates — with mouse, trackpad, or touch (pinch to zoom).
Symbol Quick-Insert Bar
Insert π, √, exponents, |x|, eˣ, ln, and parentheses with one tap — especially useful where special characters are hard to type.
Preset Examples
Start fast with 11 built-in functions spanning polynomials, trigonometry, logarithms, exponentials, and rational curves.
Expand Mode
Switch to full-width mode for maximum graph space, then press Esc or the button again to return to the normal layout.
Export as PNG
Download the current graph as a high-resolution (2x) PNG with axes, grid, and every plotted curve — ready for homework or slides.
Private by Design
All parsing and plotting happen in your browser. Nothing is uploaded and no usage data is collected.
Frequently Asked Questions
How do I plot a function on this graphing calculator?
Type an expression in terms of x into an input field, for example x^2 or sin(x). The curve appears automatically as you type — there is no button to press.
How do I enter an equation like y = x^2 or y = sin(x)?
Enter only the right-hand side — the part after y =. So for y = x², type x^2; for y = sin(x), type sin(x). Use the caret ^ for exponents (x^3, x^(1/2)), and you can rely on implicit multiplication, so 2x means 2·x.
Can I plot quadratic, trig, and exponential functions?
Yes. Supported functions include sin, cos, tan, asin, acos, atan, log (natural), ln, exp, sqrt, abs, ceil, floor, and round, along with constants pi and e, the operators + − × ÷ ^, and parentheses for grouping. That covers quadratics, trigonometry, exponentials, logarithms, roots, and rational functions.
How do I graph multiple equations at once?
Use Add function to create more input fields — up to six functions in total. Each is drawn in its own color so you can compare them, and you can hide any curve with its visibility toggle.
How do I zoom and pan the graph?
Scroll the mouse wheel over the area you want to magnify, or use the zoom buttons in the toolbar. Click and drag to pan across the plane, and on touch devices pinch to zoom. Use Reset view to return to the default −10 to 10 range.
Why does my function show "Invalid function"?
This means the expression could not be parsed — usually unmatched parentheses, an unsupported function name, or a typo. Check the brackets and spelling, or load one of the Examples to see the correct syntax.
Can I plot implicit equations like x² + y² = 1?
Not yet. The calculator plots explicit functions of the form y = f(x). Implicit equations and parametric curves are not currently supported.
Can I save or share my graph?
Yes. Use Export PNG in the toolbar to download a high-resolution (2x) image of the current view, complete with axes, grid, and every plotted curve — ready to print or embed in a document.
Does it work on mobile devices?
Yes. The layout is responsive and supports touch gestures — pinch to zoom and drag to pan. The symbol bar is especially handy on phones for inserting special characters without switching keyboards.
No comments yet. Be the first to comment!