Function grapher

Plot y = f(x) on an interactive canvas — zoom, pan, and read the value at any point.

Plotted in this browser — the expression never leaves the page.

Same grammar as the scientific calculator — operators + - * / ^, postfix ! and %, parentheses, functions sqrt cbrt abs floor ceil round exp ln log log2 logb sin cos tan asin acos atan atan2 sinh cosh tanh mod hypot min max ncr npr, and constants pi e tau. The variable is x; write 2*x, not 2x. Angles are in radians here. Gaps mark x values where f(x) is undefined or too large to show.

How to use

  1. Type an expression in x.
  2. Set the x range and plot.
  3. Drag to pan; inspect values at the cursor.

What it supports

Same expression grammar as the scientific calculator (+ − × ÷ ^ ! %, functions like sqrt/ln/sin, constants pi/e/tau). The variable is x — write 2*x, not 2x. Radians only. Gaps mark x where f(x) is undefined or off-scale.

Related tools

Related guides