Skip to content
Changelog
new toolcalculators

Graph Calculator

v1.0

Graph Calculator plots up to four functions of x on one graph. Type an expression into any slot (sin(x) + 1, 2x^2 - 3, 1/x) and it draws in its own color and line style: solid, dashed, dotted and dash-dot, so the curves stay apart for color-blind readers and in grayscale. A switch hides a curve without losing what you typed.

You can use numbers, x, + - * / ^, parentheses, unary minus, the functions sin cos tan asin acos atan sqrt abs ln log exp floor ceil, the constants pi and e, and implicit multiplication, so 2x, 2(x+1) and 2sin(x) work without a *.

Errors wait for a pause in typing, and the last good curve stays on the graph until then. When an error shows, it says what to fix, such as adding a closing parenthesis or writing sin(x) instead of sin x.

Drag to pan, scroll to zoom around the pointer, or use the zoom buttons. With the graph focused, the arrow keys pan, plus and minus zoom, and Home resets the view. Hovering shows a crosshair and every visible function's value at that x. Functions with asymptotes, such as 1/x and tan(x), are split at the jump instead of drawing a line across it.

Clear empties all four functions. The Sample menu loads five cases, such as a parabola crossing a line, sine and cosine waves, asymptotes, and a damped wave between its envelopes, and moves the view to fit. Your functions and view are remembered on this device, and Share packs the graph into a link.

All changes