Tools
Graphing calculator
Online graphing calculator
Plot mathematical functions and explore their graphs with zoom and pan.
x^2sin(x)sqrt(x)log(x)abs(x)2*x + 1exp(x)tan(x)About this tool
Seeing a function drawn out helps you understand it: where it crosses the axes, where it rises, whether it has asymptotes, or how two curves compare. This graphing calculator plots several functions at once, each in its own colour, and handles inequalities too, shading the region that satisfies them. It is useful for revision, lesson planning or checking an exercise at a glance.
Type a function into the y₁ row using x as the variable, such as sin(x) or x^2 - 3. “Add function” gives you more rows. The operator button cycles through =, <, >, ≤ and ≥; the colour swatch changes the colour and the eye icon hides the plot. Drag the graph to pan and use the mouse wheel to zoom. Under View, set the X and Y range by hand or use the zoom presets, and Trace gives you the y value for any x.
The graph is drawn in your browser with the mathjs and Mafs libraries, and your functions are not sent anywhere. log means base-10 logarithm and ln the natural log. It only plots explicit functions of the form y = f(x): implicit curves such as circles, polar coordinates and 3D are not supported. On touch screens, dragging and wheel zoom are unavailable, so change the view with the range fields and presets.
Frequently asked questions
How do I plot two functions to see where they intersect?
Type the first into y₁, press “Add function” and type the second into y₂. Each gets its own colour; zoom in on the crossing and use Trace to check the values.
Can I graph inequalities such as y > x²?
Yes. Press the operator button until > appears, then type x^2. The region that satisfies the inequality is shaded; < and > draw a dashed boundary, while ≤ and ≥ draw a solid one.
Which zoom preset should I use for trig functions?
Trig sets the view from -2π to 2π horizontally and -4 to 4 vertically, which shows a couple of periods of sine, cosine or tangent.
How do I type roots, powers and absolute values?
Use sqrt(x) for square roots, ^ for powers (x^3), abs(x) for absolute value and exp(x) for e to the power x. Always multiply with *, as in 2*x.