Graphing Calculator

📈 Graph

How to Use This Graphing Calculator

  1. Type your function of x into the f(x) field, using * for multiplication, ^ for powers, and standard function names like sin, cos, sqrt, ln.
  2. Optionally enter a second function g(x) to plot alongside it for comparison.
  3. Adjust the x-min/x-max and y-min/y-max fields to zoom or pan the view, or check "Auto-scale Y" to let the calculator pick a sensible y-range for you.
  4. Click Plot (or just press Enter in a function field) to redraw the graph.

Supported Syntax

This grapher understands standard math notation for a single variable, x:

Symbol / FunctionMeaning
+ − * / ^Add, subtract, multiply, divide, power
sin, cos, tanTrigonometric functions (radians)
asin, acos, atanInverse trigonometric functions
sqrt, ln, log, exp, absSquare root, natural log, base-10 log, eˣ, absolute value
pi, eThe constants π and e

What Does an Asymptote Look Like on the Graph?

Functions like tan(x) or 1/x shoot off toward positive or negative infinity near certain x-values. Rather than drawing a misleading vertical line straight across the canvas at those points, this grapher detects the huge jump in value and simply breaks the line — so you see two separate curve branches, exactly like a proper graphing tool should render an asymptote.

💡

Try graphing tan(x) with the default range to see this in action — you'll see clean vertical gaps near x = ±π/2, ±3π/2, and so on, instead of solid vertical lines.

Plotting Two Functions at Once

Enter a second function in the g(x) field to compare it directly against f(x) on the same axes — useful for visualizing where two curves intersect, comparing a function to its derivative or tangent line, or simply seeing two relationships side by side. f(x) is drawn in blue and g(x) in purple.

Common Mistakes to Avoid

  • Setting x-min greater than or equal to x-max (or the same for y) — the calculator needs a proper range in each direction.
  • Forgetting * for multiplication — write 2*x or 2x, not 2 x run together with a space in a way the parser can't read as multiplication (both actually work here, but explicit * is always safest).
  • Expecting Auto-scale Y to look perfect near a vertical asymptote — it deliberately ignores extreme outlier values so the rest of the curve stays readable.

Frequently Asked Questions

Type it into the f(x) field using standard notation: * for multiplication, ^ for exponents, and function names like sin(x), sqrt(x), or ln(x). For example, enter 3*x^2 - 2*x + 1 or sin(x)*cos(x).

Basic arithmetic (+ − * / ^), the trig functions sin/cos/tan and their inverses, sqrt, ln (natural log), log (base 10), exp (eˣ), abs, and the constants pi and e.

Instead of a misleading straight vertical line, the grapher detects the sudden jump in value near an asymptote and breaks the curve into separate pieces — showing the true shape of functions like tan(x) or 1/x.

Yes — enter a second function in the optional g(x) field and it will be plotted in a different color on the same axes, so you can compare the two directly or find where they intersect.

You can set any x and y range you like by typing new min/max values. Extremely large ranges will show less local detail, and extremely small ranges will show a more zoomed-in view of the curve's local behavior.