# Graphing Calculator

> Plot up to 5 functions at once in your browser. Natural math input, drag to pan, pinch or wheel zoom, and live cursor coordinates.

- Open the tool: https://overtooled.com/graphing-calculator
- Category: Math & Finance
- Privacy: Runs entirely in your browser. Nothing is uploaded, no account is needed, and it works offline once loaded.
- Price: free, no sign-up
- Keywords: graph, plot, function, scientific, equation, coordinate

## In short

Plot up to five functions with pan, zoom and natural math input.

## Overview

Plots up to five functions of x on an interactive canvas. You type natural math such as sin(x), x^2 or 2x + 1, then pan and zoom with the mouse, trackpad or touch. Useful for homework, checking a formula, or seeing how functions compare.

## Features

- Up to 5 functions (f1-f5) in distinct colors; click a function's colored dot to hide or show it
- Natural notation: ^ (or **) for powers with math precedence (-x^2 = -(x^2), 2^-x, 2^3^2 = 512), implicit multiplication (2x, 3(x+1), (x)(x), 2sin(x)), constants pi and e; a leading "y =" is ignored
- Expressions are read by a small built-in math parser (no eval) and compiled once per edit
- Functions: sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, sqrt, cbrt, abs, ln, log, log2, log10, exp, ceil, floor, round, sign, trunc, min, max, pow
- Samples the function once per horizontal pixel (600 samples per curve) and breaks the line at large jumps so asymptotes like tan(x) or 1/x are not joined
- Grid lines and axis labels at power-of-10 spacing
- Drag to pan; mouse wheel zooms around the cursor; two-finger pinch zooms on touch screens; +, - and reset-view buttons (on the graph on larger screens, below it on phones)
- Editable X and Y axis ranges (default x -10 to 10, y -5 to 5)
- Crosshair with the (x, y) coordinates of the cursor position
- One-click presets: sin, cos, tan, x^2, x^3, 1/x, sqrt, e^x, ln, |x| (loaded into f1)

## How to use it

1. Type a function of x into f1 (or click a preset).
2. Click "+ Add function" to plot more curves.
3. Drag to pan and scroll or pinch to zoom; use the reset button to return to the default view.
4. Hover to read coordinates, or type exact axis ranges below the graph.

## Inputs

- Expressions in x using numbers, + - * / % ^, parentheses and the listed functions and constants

## Outputs

- An on-screen plot; no image export

## Limits and notes

- log(x) is the natural logarithm (same as ln); use log10(x) for base 10
- Only explicit functions y = f(x); no implicit equations, inequalities, parametric or polar plots
- A typo (unknown name, missing parenthesis, sin x without parentheses) outlines the field in red and shows a message naming the function (e.g. "f1: sin needs parentheses"); an X or Y min that is not below its max is also flagged
- The crosshair shows the cursor position, not a point traced on a curve; there is no intersection or root finding
- Functions and view are not saved and reset on reload
- Runs entirely in the browser; nothing is uploaded

## Questions and answers

### How does the Graphing Calculator work?

Your expression is read by a small built-in math parser (^ for powers with normal precedence, so -x^2 is -(x^2); implicit multiplication such as 2x; functions like sin, ln and log10) and compiled once into a function of x, which is then evaluated for every horizontal pixel of the 600-pixel-wide canvas. Each (x, y) point is mapped to the screen using the current axis ranges and joined into a line, with breaks at large jumps such as asymptotes. Typos show a message naming the problem. Panning and zooming change the ranges and redraw.

### What math functions can I graph?

Any function of x, including polynomials, trigonometric functions (sin, cos, tan), logarithms, square roots, absolute value, and combinations of these. You can plot multiple functions simultaneously.

### Can I zoom and pan the graph?

Yes. Scroll to zoom around the cursor, pinch on touch screens, or use the + and - buttons; drag to pan, and the reset button restores the default view. You can also type exact X and Y ranges. Hovering shows a crosshair with the cursor's coordinates.

### How is this different from a TI-84?

It covers the core of graphing in the browser: plot up to five functions of x, set the viewing window, and pan or zoom freely with mouse or touch. It does not have a TI-84's trace, table, intersection, root-finding, or programming features.

## Related tools

- [Calculator](https://overtooled.com/calculator.md): Calculator with keyboard shortcuts, history, and memory
- [Compound Interest Calculator](https://overtooled.com/compound-interest.md): Calculate investment growth with compound interest and regular contributions
- [Cooking Unit Converter](https://overtooled.com/cooking-converter.md): Convert between cups, tablespoons, grams, milliliters, and ounces
- [Discount Calculator](https://overtooled.com/discount-calculator.md): Calculate sale prices, savings, and final cost after discount

---
Overtooled: 179 free tools that run in your browser. Index of all tools: https://overtooled.com/llms.txt
