Function Graph Plotter

Plot a function graph from a formula, compare two functions, inspect intersections, export PNG and share a link.

y =
+ add a second function for comparison
y =
Click an example to insert it into the active input
x^2 - power (x^2)
sqrt(x) or √x - square root
abs(x) or |x| - absolute value
sin(x), cos(x) - sine, cosine
tan(x) or tg(x) - tangent
ctg(x) - cotangent
ln(x) - natural logarithm
log(x) - base-10 logarithm (lg)
exp(x) - exponential (e^x)
pi, e - constants pi and e
Multiplication *, division /. Before x the multiplication sign is optional: 2x, 3sin(x) — work.
On mobile, open the large graph view to pan the graph with your finger.

Range

Scale and actions

Intersection points
Value table
Popular graphs with explanations (20 functions)
Graph of y = 2xy = 2x

A straight line through the origin. Two points are enough: at x = 0, y = 0; at x = 1, y = 2.

The coefficient 2 means y grows by 2 every time x grows by 1.

Graph of y = 3xy = 3x

A steeper straight line through (0, 0). Example points: x = 1 gives y = 3, x = -1 gives y = -3, x = 2 gives y = 6.

The slope is 3, so each unit step in x changes y by 3.

Graph of y = -2xy = -2x

A straight line with a negative slope. At x = 1, y = -2; at x = -1, y = 2.

The minus sign reverses the direction: as x increases, y decreases.

Graph of y = -3x + 1y = -3x + 1

A line with slope -3 shifted up by 1. It crosses the Y axis at (0, 1).

For the X intercept, solve -3x + 1 = 0, so x = 1/3.

Graph of y = 2x + 1y = 2x + 1

A line with slope 2 and Y intercept 1. Good reference points are (0, 1) and (1, 3).

It crosses the X axis when 2x + 1 = 0, so x = -0.5.

Graph of y = 2y = 2

A horizontal line at height 2. The function has the same value for every x.

It intersects the Y axis at (0, 2) and does not cross the X axis.

Graph of y = x^2y = x^2

An upward parabola with vertex at (0, 0). Values for x = -3, -2, -1, 0, 1, 2, 3 are 9, 4, 1, 0, 1, 4, 9.

The function is even, symmetric about the Y axis and has y >= 0.

Graph of y = 2x^2y = 2x^2

A parabola with the same vertex as y = x^2 but narrower because the coefficient is larger than 1.

At x = 1, y = 2; at x = 2, y = 8.

Graph of y = -x^2y = -x^2

A downward parabola with vertex at (0, 0). At x = +/-1, y = -1; at x = +/-2, y = -4.

It is the reflection of y = x^2 across the X axis.

Graph of y = x^2 - 4x + 3y = x^2 - 4x + 3

An upward parabola. The vertex is at x = 2 and y = -1, so the vertex is (2, -1).

The X intercepts are x = 1 and x = 3; the Y intercept is 3.

Graph of y = (x - 2)^2y = (x - 2)^2

This is y = x^2 shifted right by 2 units. The vertex is (2, 0).

In general, y = (x - a)^2 shifts the parabola right by a.

Graph of y = 2/xy = 2/x

A reciprocal curve with two branches in the first and third quadrants. It is undefined at x = 0.

The X and Y axes are asymptotes: the graph approaches them but does not cross them.

Graph of y = 3/xy = 3/x

A reciprocal curve farther from the axes than y = 2/x. Points include (1, 3), (3, 1) and (-1, -3).

Increasing the numerator moves the branches farther from the axes.

Graph of y = x^3y = x^3

A cubic curve through (0, 0). Values for x = -2, -1, 0, 1, 2 are -8, -1, 0, 1, 8.

It is odd, symmetric about the origin and increasing everywhere.

Graph of y = x^4y = x^4

Similar to y = x^2 but flatter near the X axis and steeper near the edges.

It is even and all values are nonnegative.

Graph of y = 2^xy = 2^x

An increasing exponential curve. At x = 0, y = 1; x = 1 gives 2; x = 2 gives 4; x = -1 gives 0.5.

It crosses the Y axis at (0, 1) and has the X axis as a horizontal asymptote.

Graph of y = 3^xy = 3^x

An exponential curve that grows faster than 2^x. At x = 0, y = 1; x = 1 gives 3; x = 2 gives 9.

For y = a^x with a > 1, the function increases and always passes through (0, 1).

Graph of y = sqrt(x)y = sqrt(x)

Defined only for x >= 0. Points include (0, 0), (1, 1), (4, 2) and (9, 3).

The curve starts at the origin and rises more slowly as x grows.

Graph of y = abs(x)y = abs(x)

A V-shaped graph with vertex at (0, 0). The right branch is y = x and the left branch is y = -x.

Values are always nonnegative and the graph is symmetric about the Y axis.

Graph of y = sin(x)y = sin(x)

A periodic wave with period 2pi. Values range from -1 to 1.

It crosses the X axis at 0, +/-pi, +/-2pi and so on.

What this graph plotter does

Enter a formula in x and the calculator draws the curve in the browser. It supports common functions, adjustable ranges, automatic Y scaling, a value table, axis intercepts, graph intersections, a larger mobile view, PNG export and a shareable link with the current settings.

Supported syntax

Use x, parentheses and standard operators: +, -, *, / and ^. The parser also accepts sqrt, abs, sin, cos, tan, ln, log, exp, pi and e. Multiplication before x can be omitted, so 2x and 3sin(x) work.

Reading the result

Use the checkboxes to display intercepts and coordinate labels. Add a second function when you need to compare curves or find approximate intersection points. For a narrow feature or discontinuity, reduce the X range and then use Auto Y.

Limits

The tool samples the function numerically. It is not a symbolic algebra system and it does not prove roots, derivatives or integrals. Undefined values are skipped so discontinuities may appear as separated curve segments.

Misha Noyr, M.Eng.

Misha Noyr, M.Eng.

Civil Engineer · 15+ yrs · structural design, geotechnics. Full bio ↓