Function Graph Plotter — Plot Math Functions
Enter up to 3 math functions and see them plotted on an interactive graph with grid, axes, and coordinate tracking. Supports polynomials, trigonometric functions, square roots, logarithms, and more.
How the Function Plotter Works
The Function Plotter is a free online function graph generator that draws up to three equations, such as x^2, sin(x) or 2x+3, on one coordinate grid. Type a function of x, set the x-range or use the zoom buttons, and the curve appears at once. Everything runs in your browser, so nothing you type is sent to a server. Updated 2026-10-23.
How to Use the Function Graph Plotter
A function graph shows the relationship between an input value (x) and an output value (y). When you enter a mathematical expression like x^2, the plotter evaluates that expression for hundreds of x-values across the visible range and draws the resulting curve on a coordinate grid. This visual representation makes it easy to spot key features — where a function crosses the x-axis (roots), its highest and lowest points (maxima and minima), and how it behaves as x gets very large or very small.
Supported Functions
You can use standard arithmetic operators (+, -, *, /), exponents (x^2, x^3), and these built-in functions: sin(x), cos(x), tan(x), sqrt(x), abs(x), log(x) (natural log), and exp(x). You can also use constants like pi and e. Combine them freely — for example, sin(x)*x^2 or sqrt(abs(x)).
Reading a Function Graph
The horizontal axis represents x (the input) and the vertical axis represents y (the output). Where the curve crosses the x-axis, y equals zero — these are the roots or zeros of the function. Where the curve crosses the y-axis, x equals zero — this is the y-intercept. Steeper sections mean the function is changing rapidly; flatter sections mean it is changing slowly. Hover over the graph to see exact coordinates at any point.
Why Plot Multiple Functions?
Comparing functions visually reveals relationships that are hard to see from equations alone. You can see where two functions intersect (their solutions are equal), which one grows faster, and how transformations like shifting or scaling change a curve. Plotting up to three functions simultaneously makes this kind of comparison quick and intuitive.
Zooming and Exploring
Use the Zoom + and Zoom − buttons or type custom X Min/Max values to focus on a specific region. Zooming in reveals fine detail around roots and turning points. Zooming out shows the big-picture behavior of the function. This is especially useful for functions like sin(1/x) that have interesting behavior near the origin.
Save Your Function Graph as an Image
When the curve looks right, press Download PNG to save the graph exactly as it appears, or Copy Image to paste it straight into homework, a Google Doc, slides or a chat. The image keeps all three colours and the grid, so a teacher can see the roots, turning points and intersections at a glance. Before you save, set X Min and X Max so the interesting part of the function fills the frame; for checking the domain and range you are reading off the graph, OpenStax has a clear domain and range chapter. Updated 2026-11-01.
Function Graph Maker Examples to Try
Paste any of these into the function boxes to see a key idea from algebra or precalculus. Each one plots in a second and makes a good homework check:
x^3-3*x— a cubic with two turning points, one peak and one valley.1/x— a curve that never touches x = 0, showing a vertical asymptote.sqrt(x)— only defined for x of zero or more, so the graph starts at the origin.exp(-x^2)— the bell-shaped curve used in statistics.sin(x)withcos(x)— two waves shifted against each other; where they cross, both functions are equal.
For the theory behind domain, range and function notation, the free OpenStax Precalculus textbook explains each idea with worked examples.
Frequently Asked Questions
Is this function plotter free to use online?
Yes. The function plotter is free, needs no sign-up and runs entirely in your browser. Type up to three functions of x, set the x-range or zoom, and the graph updates on the same grid.
Can I plot more than one function on the same graph?
Yes. Enter up to three functions in the boxes above and they are drawn together in different colours, so you can see where they cross and compare their shapes.
What functions can I plot?
You can plot polynomials (x^2, x^3+2x), trigonometric functions (sin, cos, tan), square roots (sqrt(x)), absolute value (abs(x)), natural logarithm (log(x)), and exponential (exp(x)). Combine them freely.
How do I enter exponents?
Use the caret symbol. For example, x^2 means x squared, x^3 means x cubed. You can also write x^0.5 for a square root.
Can I plot multiple functions at once?
Yes. Enter up to three functions in the input fields. Each plots in a different color — red, blue, and green — so you can compare them easily.
How does zoom work?
Zoom + narrows the x-range to show more detail. Zoom − widens it. You can also type exact X Min and X Max values for precise control.
Why does my function show gaps?
Some functions are undefined for certain x-values. For example, log(x) is undefined for x less than or equal to 0, and tan(x) has vertical asymptotes. The plotter skips undefined points.
Is my data sent to a server?
No. Everything runs entirely in your browser using JavaScript and HTML Canvas. No data leaves your device.
Can I download or copy the graph from this function plotter?
Yes. Press Download PNG to save the graph as an image file, or Copy Image to put it on your clipboard and paste it into a document, slide or message. The image keeps the colours and grid you see on screen.
How do I graph a function online without an account?
Type the function of x into the first box, for example x^2-4, and the graph appears as you type. Add up to two more functions to compare them, then zoom or set X Min and X Max to focus on the part you need. No sign-up or download is required.