Online Graphing Calculator

: Plot several functions on a graph that pans and zooms, with roots, intersections and maxima and minima found for you, a table of values, PNG or SVG download and a share link
Functions
f1
f2
Table of values

Type y = f(x), such as x^2 - 2, 3sin(2x), e^-x, sqrt(x), |x|, log_2(x). x = 3 draws a vertical line; a domain in braces draws a piece: x^2 {x < 0}.

2 rows
Graph

Drag to move, scroll or pinch to zoom, tap a point for its coordinates. Keyboard: arrow keys move, + and − zoom, 0 resets the view.

Points in view

No roots, intersections or turning points in this part of the graph. Pan or zoom out to look further.

Table of values

xf1f2
−5−1101.91785
−4−521.5136
−3−18−0.28224
−2−2−1.81859
−12−1.68294
000
1−21.68294
221.81859
3180.28224
452−1.5136
5110−1.91785
2 graphs · 0 points

An online graphing calculator for functions of x. Type one function per row, such as x^2 - 2, sin(x) or 1/x, and each is drawn in its own colour on a graph you can drag and zoom. The calculator finds the roots, the y-intercepts, where any two graphs intersect and the local maxima and minima in the part you are looking at, lists them and marks them on the graph, and gives a table of values you can copy as CSV.

  1. Type a function in the first Function field, such as x^2 - 2 or y = 3sin(2x). Write it as on paper: 2x for 2 times x, x² or x^2, sin x, e^-x, sqrt(x) or √x, |x|, log_2(x), pi.
  2. Press Add function for another graph. Each row has its own Colour, a Show box to hide it for a moment, and a remove button. A row that cannot be read says why under the field.
  3. Drag the graph to move it, scroll or pinch to zoom, or use the zoom buttons above it; Reset view goes back to x from -10 to 10. With the graph focused, the arrow keys move it, + and − zoom and 0 resets.
  4. Read Points in view under the graph: each root, intersection and turning point with its coordinates. Tap a marker on the graph, or the show button in its row, to see its coordinates on the graph.
  5. Set From x, To x and Step in Table of values, then Copy CSV or Download CSV. Download above the graph saves a PNG or SVG picture; Copy link copies a link that opens the same graph.

The example the page opens with: a cubic and a sine wave, x from -4 to 4. Every point is found and marked without pressing anything.

Input
y = x^3 - 3x
y = 2sin(x)
Output
Root of f2: (−3.14159, 0)
Intersection of f1 and f2: (−1.98131, −1.83384)
Root of f1: (−1.73205, 0)
Local min of f2: (−1.5708, −2)
Local max of f1: (−1, 2)
Root of f1: (0, 0)
y-intercept of f1: (0, 0)
Root of f2: (0, 0)
y-intercept of f2: (0, 0)
Intersection of f1 and f2: (0, 0)
Local min of f1: (1, −2)
Local max of f2: (1.5708, 2)
Root of f1: (1.73205, 0)
Intersection of f1 and f2: (1.98131, 1.83384)
Root of f2: (3.14159, 0)

How do I find where two graphs intersect?

Type both functions as rows. Every intersection in the visible part of the graph is listed under it as Intersection, with the two rows and its coordinates, and marked on the graph; there is nothing to press. Pan or zoom out to find ones further away.

How do I graph a piecewise function?

Type one row per piece with its domain in braces after it, such as -x {x < 0} and sqrt(x) {x >= 0}, and give the rows the same colour if you want them to look like one graph. {-1 <= x <= 2} sets both ends; < and > leave the end out.

Why does tan x have gaps?

tan x is undefined where cos x is 0 (x = π/2 + kπ), and it runs off to plus infinity on one side and minus infinity on the other. The calculator breaks the curve there instead of joining the two ends with a vertical line, which many graphing calculators draw by mistake.

Does the graphing calculator use degrees or radians?

Radians, unless you choose Degrees in Angles. In degrees sin(30) is 0.5 and arcsin(1) is 90; the Degrees example shows sin and cos over one full turn.

Can I save or share a graph?

Download above the graph saves it as PNG or SVG, as you see it. Copy link gives a link that opens the same functions, colours and view; the graph is held in the link itself, so nothing is stored on a server.

Runs entirely in your browser. Nothing is uploaded.