Function Plotter

Function Plotter

Plot up to two functions of x on a graph with axes and grid lines. Type a function such as x*x, sin(x), or 2*x+1, set the ranges, and see the curve.

Click Plot functions to draw the graph.

Use * for multiply, / for divide, and ^ for powers. Functions available: sin, cos, tan, log, ln, sqrt, abs. Angles are in radians for plotting. Leave Function 2 empty to plot only one function.

About the Function Plotter

The Function Plotter draws the graph of a function of x on a canvas. You can compare two functions at once in different colours, set the x and y ranges, and check the exact value of each function at any x.

The graph shows grid lines every 1 unit and bold axes through zero, so you can read values off the curve. Curves are drawn from 400 sampled points across the x range.

How to use

  1. Type the first function, for example x*x or 2*x+1.
  2. Optionally type a second function to compare it with.
  3. Set the x and y ranges for the graph.
  4. Click Plot functions. Use the check value to read each function at a chosen x.

Key features

  • Two functions plotted in different colours
  • Axes and grid lines every 1 unit
  • Adjustable x and y ranges
  • Exact value readout at any x you choose
  • sin, cos, tan, log, ln, sqrt, and abs supported

Frequently asked questions

What can I type as a function?

Any expression in x using numbers, + – * / ^, brackets, pi, e, and the functions sin, cos, tan, log, ln, sqrt, and abs. For example, x*x, sin(x), and 2*x+1 all work.

Are angles in degrees or radians?

Radians, which is the usual convention for graphs. sin(x) completes one full wave from 0 to about 6.28.

Why is part of my curve missing?

The function may be undefined there, for example 1/x at x = 0, or the values may fall outside the y range you set. Widen the y range to see more of the curve.

What does the check value do?

It evaluates each function at the x you enter and shows the result as a number, so you can confirm a point on the graph exactly.

Is anything uploaded?

No. Plotting runs entirely in your browser and nothing leaves your device.

Free to use, no signup needed. This tool runs entirely in your browser — your data never leaves your device.