Graph Plotter

Plot any function y = f(x). Type an expression in x and press Plot.

y =

Examples (click to try): x^2 sin(x) cos(x)*x 1/x sqrt(x) x^3-3*x

Free online graph plotter

This online graph plotter draws the curve of any function y = f(x) right in your browser. Type an expression in x — such as x^2, sin(x), or x^3 − 3x — set the x-range, and press Plot. The tool automatically scales the y-axis, draws gridlines and axes, and handles gaps where the function is undefined (for example 1/x at x = 0).

Supported functions and syntax

You can use +, −, *, /, and ^ for powers, plus brackets for grouping. Built-in functions include sin, cos, tan and their inverses, sqrt, cbrt, abs, exp, ln (natural log), log (base 10), and the constants pi and e. For example, type cos(x)*exp(-x/5) to plot a damped wave, or sqrt(x) to see a square-root curve.

What you can use it for

Graphing functions helps you see their shape, roots, turning points, and asymptotes at a glance. It is ideal for GCSE and A-level maths, calculus, and checking answers from our algebra solver and calculus solver.

A scientific graph maker for any function type

This tool works as a general-purpose scientific graph maker rather than a calculator limited to one function family. Plot trigonometric curves like sin(x) and cos(x) to study periodic motion, polynomials like x^3-3*x to find roots and turning points, exponential curves like exp(x) or exp(-x/5) for growth and decay, and logarithmic curves like log(x) or ln(x) for anything that grows quickly then flattens. Because everything runs in the browser, there is nothing to download and no account needed — just type a function and press Plot.

Combine functions freely, for example sin(x)*x or x^2-4, to see how multiplying or shifting a curve changes its shape. Comparing two related expressions side by side, by plotting one and then the other, is a quick way to check transformations before a maths exam.

Frequently asked questions

How do I plot x squared?

Type x^2 in the function box and press Plot. You will see the familiar U-shaped parabola.

Can I change the zoom?

Yes. Adjust the x minimum and x maximum values to zoom in or out; the y-axis scales automatically to fit the curve.