Kharabeesh
On-device ع

Function Plotter

Plot one or more functions of x: drag to pan, zoom in and out, trace values under the pointer, build a table of values and export the graph as a PNG. Works with touch and in dark mode.

Free, no sign-up Saved on your device only Works offline after first open

The tool

Loading the tool…

How to use

  1. Type a function of x in the box, such as sin(x) or x^2 - 3x + 1. Add up to 6 functions, each with its own colour.
  2. Drag the graph to move it, and zoom with the mouse wheel, two fingers, or the + and − buttons.
  3. Move the pointer (or your finger) over the graph to read each function’s value at x.
  4. Open “Table of values” for a copyable table, and press “Download PNG” to save the graph as an image.

Privacy & how it works

Saves your data in this browser only (back it up or delete it from “My data”).

  • Engine: mathjs (open-source libraries bundled with the site).
  • Works offline after you open it once.

Frequently asked questions

How do I type a function?

The variable is x. Multiply with * or implicitly as in 2x and 3(x+1), powers with ^. Functions: sin cos tan (radians), ln, log (base 10), sqrt, abs, exp, floor and more. Use a dot for decimals.

Why is there a gap in the curve at some points?

Because the function is undefined there or has an asymptote or a jump (like 1/x at zero and tan(x) at π/2). The plotter does not join the line across such points, so no fake vertical line appears.

Are angles in degrees?

No, trig functions use radians. For degrees write sin(x * pi / 180).

What are the limits?

It plots explicit functions y = f(x) only: no implicit equations such as x² + y² = 1, and no polar or parametric curves. The curve is sampled at a limited number of points, so very fine detail needs zooming in.

Are my functions saved?

Yes, the functions and the view window are saved in your browser only so you can come back to them. You can delete them from the My data page.

Related tools