Plot any function of x directly in your browser - polynomials, trig functions, roots, and combinations of them.
Graphing Calculator
LiveHow it works
Entering "x^2 - 3*x + 2" plots a parabola crossing the x-axis at x=1 and x=2, with its minimum point visible between them.
Step-by-step guide
- Type an expression in terms of x - like "x^2", "sin(x)", or "2*x + 1".
- Adjust the X range to zoom in or out on the part of the graph you want to see.
- The graph updates automatically as you type.
Supported syntax
Use * for multiplication (write "2*x", not "2x"), ^ for exponents, and standard parentheses for grouping. Supported functions: sin, cos, tan, sqrt, abs, log (base 10), and ln (natural log). The constants pi and e are also available. Trig functions use radians, not degrees.
Common mistakes
Frequently asked questions
Can I graph more than one function at once?
This version plots one function at a time - change the expression to see a different curve on the same axes.
Why does part of my graph look cut off or missing?
Functions with a division by zero or a negative square root at certain x-values (like 1/x at x=0) naturally have gaps or breaks at those points - the graph correctly leaves those points out rather than connecting across them.
Is my expression sent anywhere?
No - the entire graph is calculated and drawn directly in your browser. Nothing you type is sent to a server.
Related calculators
See the full list of Math calculators, or try: