Try: sin(x), x^2-2, 3x+1, 1/x, 2pi, ln(x), abs(x)
How it works
Type any expression in x. The parser reads it left to right, then the plotter samples it across your x-range and draws the curve. Undefined points (like 1/x at zero) are skipped rather than drawn as false lines.
Supported: + - * / ^, parentheses, implicit multiplication (2x, 3sin(x)), sin cos tan, asin acos atan, sqrt, abs, exp, ln, log, floor, ceil, round, and the constants pi and e.
Functions you can plot
A linear function such as 2x + 1 draws a straight line with a slope of two. A quadratic such as x^2 - 2 draws a parabola, opening upward when the x squared term is positive. A cubic or higher power bends more sharply and can cross the axis several times.
Trigonometric functions such as sin(x) and cos(x) repeat in waves between minus one and one. Because the working angle unit is radians, a full wave spans about 6.28 on the x axis, which is two pi. Exponential functions such as exp(x) grow quickly, while logarithms such as ln(x) grow slowly and are only defined for positive x.
Rational functions such as 1/x show a break at zero, where the value is undefined. The plotter leaves that gap empty instead of connecting the two branches with a false line, so the shape you see is the shape the function really has.
Tips for reading a graph
Where the curve crosses the horizontal axis, the function equals zero, which is useful for spotting roots. Where it crosses the vertical axis, x is zero, so you are reading the constant term. The steepness of the curve at a point is its slope, and a curve that flattens out is approaching a maximum, minimum or plateau.
A plotted example, start to finish
Plot x^2 - 2 from -10 to 10. The curve is a parabola with its lowest point at x = 0, where the value is -2. It crosses the horizontal axis twice, at about -1.414 and 1.414 — those are the square roots of two, because the function equals zero exactly when x squared equals two. At x = 3 the value is 7, and at x = -3 it is also 7, which is the symmetry of an even power.
Now change the range to -2 to 2 and plot again. Nothing about the function changed, but the shape looks far less dramatic because the vertical scale is compressed into a smaller window. This is the most common misreading in graphing: the picture depends on the window you chose, so state the range whenever you compare two curves.
Finally try 1/x. Near zero the values shoot off the canvas, and the plotter leaves a gap at exactly zero instead of drawing a vertical line. A vertical line there would be a lie: the function has no value at zero, and no amount of zoom fills that gap.
Functions worth plotting side by side
xand2x + 1— two straight lines, one twice as steep, one shifted up by 1.x^2andx^3— the even power turns back up, the odd power keeps falling below zero.sin(x)andcos(x)— the same wave, offset by a quarter turn.exp(x)andln(x)— growth against its inverse; they mirror each other across the line y = x.abs(x)andsqrt(x)— a corner versus a curve that only exists for non-negative x.
Related calculators
A graph answers shape questions; the algebra pages answer the numbers. Use the quadratic solver for exact roots, the slope calculator for the gradient between two points, the linear system solver for where two lines meet, and the cubic equation solver for the roots of a third-degree curve.
Frequently asked questions
Is the grapher free? Yes, it is completely free and needs no sign-up. Everything runs in your browser, and nothing you type is sent anywhere.
Why is my curve missing? If the expression cannot be parsed, the error box explains why. Check for a missing parenthesis or an unsupported symbol.
How many points does it plot? It samples hundreds of points across your x-range and connects them, which is smooth enough for everyday work while staying fast.
Radians or degrees? Radians. A full sine wave therefore spans about 6.28 units on the x axis. To work in degrees, convert first: degrees × pi ÷ 180 gives radians.
Can I plot two functions at once? Not in one canvas here. Plot the first, note where it crosses the axis, then plot the second with the same range — matching the two windows is what makes the comparison fair.
Why does a straight line look jagged? Zoom in far enough and any drawn line becomes a staircase of pixels. That is the screen, not the function: the underlying evaluation is exact at every sampled point.
Last updated