Functions y =

Graph

A tool that plots function graphs straight from a formula. Enter y=f(x) — for example "sin(x)", "x^2", "1/x", or "exp(-x^2/2)" — and the curve is drawn instantly in your browser; add more rows to overlay several color-coded functions at once. You set the x range, and the y range can be automatic (a percentile-based fit that is robust to blow-ups near asymptotes) or set by hand. The grid and numeric tick labels make it quick to prepare a figure for homework, reports, slides, or blog posts. It understands the four basic operators, powers (^), parentheses, common functions such as sin / cos / tan / sqrt / abs / exp / ln / log (base 10), the constants pi and e, and implicit multiplication (you can write 2x, 3pi, or 2sin(x)). Discontinuities and asymptotes like 1/x or tan(x) are drawn with breaks so no spurious vertical line crosses the plot. Save the finished figure with "Download PNG" or send it to the clipboard with "Copy image". All evaluation and rendering happen locally in your browser, and the formula you enter is never sent to any server.

How to use

  1. Type a formula into a "y =" row (e.g. sin(x), x^2, 1/x). Use "+ Add function" to overlay several, or load one of the samples to try it out.
  2. Set the x range, and choose Auto or Manual for the y range. Toggle the grid as needed. The graph redraws instantly.
  3. Use "Download PNG" to save the graph image, or "Copy image" to put it on the clipboard.

FAQ

Is my formula sent to a server?

No. Evaluating the formula and rendering the graph both happen entirely in your browser; what you type is never uploaded, stored, or transmitted. It works fully offline-style, locally.

Which functions and symbols are supported?

The four arithmetic operators (+ - * /), powers (^), parentheses, plus functions such as sin / cos / tan / asin / acos / atan / sinh / cosh / tanh / sqrt / cbrt / abs / sign / floor / ceil / round / exp / ln / log / log2 / log10, and the constants pi (π), e, and tau. Here log is base-10 and ln is the natural log. Implicit multiplication like 2x, 3pi, or 2sin(x) is also understood.

Can I overlay multiple functions?

Yes. Add rows with "+ Add function" and each is drawn on the same axes in its own color, shown by the swatch to the left of the row. It's handy for comparing related functions side by side.

How is the y range chosen?

On "Auto", the tool samples your functions across the x range and fits the y range using percentiles (ignoring outliers) plus a margin, so a single asymptote doesn't flatten everything. If the framing isn't what you want, switch to "Manual" and set the y min and max directly.

What happens to vertical asymptotes like 1/x or tan(x)?

At discontinuities and asymptotes the curve is broken rather than joined, so no unnatural vertical line is drawn across the plot. This keeps graphs like 1/x and tan(x) looking correct.