Graphing Calculator
Plot functions of x such as sin(x), x^2 - 2 or log(x) on one graph over the range you choose, and download the graph as an image.
Input
Output
Readme
What is a graphing calculator?
A graphing calculator draws the curve of a function y = f(x), so you can see what a formula does: where it crosses the axes, where two functions meet, how fast it grows and where it repeats. Students use graphs to check homework and understand equations, and anyone working with formulas can use them to spot a mistake at a glance.
Tool description
Type a function of x in a row, such as sin(x), x^2 - 2, 2x + 1 or log(x). Add rows to draw more functions on the same graph, each in its own color, named in the legend under the graph. A leading y = or f(x) = is fine. Hover over the graph to read the values of every function at that x.
The graph covers x from -10 to 10 to begin with. Change the range in the x fields, which also take expressions like -2pi and 2pi for whole periods of a wave. The y range fits the functions by default, keeping spikes near asymptotes from squashing the rest, or pick Custom to set it yourself.
Functions use the usual notation:
+,-,*,/and^for powers, with2xand3sin(x)read as multiplicationsqrt,cbrt,abs,exp,floor,ceilandroundsin,cos,tan, their inversesasin,acos,atan, andsinh,cosh,tanh, with angles in radianslog(x)orln(x)for the natural logarithm,log10(x),log2(x)andlog(x, base)- the constants
piande
Where a function has no real value, like the square root of a negative number, the graph leaves a gap. At asymptotes, like those of tan(x) or 1/x, the line breaks instead of drawing a vertical line between the two sides. A row with a mistake, such as a missing parenthesis or a variable other than x, turns red and the message under the graph says what's wrong.
Download the graph as a PNG, JPG or WebP image, drawn in light colors on white so it fits documents and slides.
Examples
| Function | What you see |
|---|---|
sin(x) |
A wave between -1 and 1 that repeats every 2π |
x^2 / 8 - 2 |
A parabola with its lowest point at (0, -2) |
tan(x) |
Branches between asymptotes at the odd multiples of π/2 |
1/x |
A hyperbola with a break at 0 |
exp(-x^2) |
A bell curve |
floor(x) |
Steps one unit high |
Features
- Several functions on one graph, each in its own color
- x range from numbers or expressions like 2pi
- y range that fits the functions, or your own
- Gaps where a function has no value and breaks at asymptotes
- Values of every function under the pointer
- Download as PNG, JPG or WebP
- Runs in your browser