Graphing calculator

Plot functions with sliders, roots, intersections, tangents and areas.

Loading the calculator…

How to use it

Type an expression in the list on the left; each line is drawn in its own colour.

  • Functions: x^2 - 4 or y = sin x.
  • Equations in x and y: x^2 + y^2 = 25 draws a circle.
  • Vertical lines: x = 3.
  • Points: (2, 1).
  • Sliders: use a letter like aa in y = a x^2, then press Add a slider: a. Drag it and watch the graph change.

Drag the graph to pan, and scroll or pinch to zoom. Hover over (or touch) a curve to read off coordinates. Click a curve to mark its roots, turning points and intersections with the other curves.

Tangents, derivatives and areas

Open a function's options to add:

  • Derivative, which draws f′(x)f'(x) as a dashed curve.
  • Tangent at x=ax = a, which draws the tangent line y=f(a)+f′(a)(x−a)y = f(a) + f'(a)(x - a) and gives its gradient.
  • Area from aa to bb, which shades the region and gives ∫abf(x) dx\int_a^b f(x)\,dx. Area below the axis counts as negative, as in calculus.

Derivatives are worked out symbolically and areas are computed numerically with adaptive Simpson's rule, accurate to well beyond the digits shown.

Asymptotes and gaps

Where a function isn't defined, such as 1/x1/x at x=0x = 0, tan⁡x\tan x at x=π/2x = \pi/2, or x\sqrt{x} for x<0x < 0, the graph leaves a gap instead of joining the pieces with a false vertical line.

Worked example: Where do a parabola and a line meet?

Plot y=x2−4y = x^2 - 4 and y=x+2y = x + 2. Click the parabola: its roots are at x=±2x = \pm 2, and the curves cross at (−2,0)(-2, 0) and (3,5)(3, 5).

Check by algebra: x2−4=x+2⇒x2−x−6=0⇒(x−3)(x+2)=0x^2 - 4 = x + 2 \Rightarrow x^2 - x - 6 = 0 \Rightarrow (x-3)(x+2) = 0, so x=3x = 3 or x=−2x = -2.

Turn on Area from 0 to 3 for x2x^2 and the calculator shades it and gives ∫03x2 dx=9\int_0^3 x^2\,dx = 9.

Questions

Can I share a graph?
Yes. The page address updates as you edit, so copying the link (or pressing Share) gives someone the same graph.
Does it do 3D or polar graphs?
Not yet. It covers 2D functions, equations in x and y, points and sliders.

Calculations run on your device with exact, tested maths (no AI). Results are for learning and checking work, not certified engineering design.