Graphing Calculator
Plot y = f(x) on a 2D graph. Expressions use the same safe parser as the scientific calculator — no eval, and no Desmos or TI firmware.
Enter a function
Graph
How to use Graphing Calculator
- Type an expression in xExamples: x^2, 2x+1, sin(x), exp(-x^2). Implicit multiplication such as 2x is allowed.
- Set the x range and angle modeTrigonometric functions follow degree or radian mode, the same as the scientific calculator.
- Pan or zoom the viewDrag to pan. Use the buttons or the mouse wheel to zoom. Domain errors such as 1/x at zero are skipped.
Limits and how it works
- One 2D function of x per graph in this version.
- Not a computer-algebra system and not a graphing-calculator emulator.
- Domain errors are omitted rather than approximated.
How expressions are evaluated
This page reuses the scientific calculator’s shunting-yard parser. It does not call eval or the Function constructor. Supported operations include +, −, ×, ÷, ^, parentheses, and functions such as sin, cos, tan, asin, acos, atan, ln, log (base 10), exp, sqrt, abs, floor, and ceil, plus the constants pi and e. Trigonometric functions honor the degree or radian setting. The variable is x.
This is a 2D function plot, not a copy of Desmos and not a TI-84 emulator. It does not use those brands or firmware.
Frequently asked questions
Can I plot more than one function?
Version 1 plots one expression. You can change the expression and the window as much as you want.
Why is a point missing?
The parser skips values that are not finite, such as division by zero or the log of a negative number.
Is anything uploaded?
No. The expression and the graph stay in your browser.
Related tools
All toolsScientific Calculator
Trigonometry, logs, factorials and expressions, in degrees or radians.
Percentage Calculator
Calculate percentages, percent change, discounts, and markups fast.
Average Calculator
Mean, median, mode and range, or a weighted average.
Fraction Calculator
Add, subtract, multiply and divide fractions, and convert decimals.