★ MATH · GRAPHING · FUNCTIONS

Graphing Calculator: Plot Functions & Read Values Free

The graph of y = x² passes through (2, 4) — every point on the curve is one input-output pair of the function. Type a function and watch it plot on the canvas, with zoom, presets, a trace value and a table of values. This one is the GRAPHING tool — plotting y = f(x) — the scientific-calculator page is the SCIENTIFIC tool — trig, logs and powers for single values — not a graph; the fraction-calculator page is the FRACTION tool — adding and multiplying fractions — not functions; and the square-root-calculator page is the SQUARE ROOT tool — roots of single numbers — not curves. No graphing calculator exists on this site — this one is the first.

1370

Graphing calculator

Plot y = f(x) on an interactive canvas: type the function, set the x-range, and read values off the curve with the trace. On the defaults it is y = x², and f(2) is 4 — the point (2, 4) is marked in red. The plot samples 101 points across the shown range, so zoom in to check a steep or gappy stretch.

Type the function — x^2, sin(x), 1/x, sqrt(x), 2^x. Use ^ for powers and parentheses to group.

Presets

Tap a preset to load that function — the graph redraws at once.

The left edge of the shown x-range — -10 on the defaults.

The right edge of the shown x-range — 10 on the defaults.

Zoom

Zoom in to check a steep or gappy stretch up close.

The x-value to read off the curve — 2 on the defaults, where f(2) is 4.

x^2 at x = 2: f(x) = 44f(2) = 4. f(x) = x^2 — the point (2, 4) is marked on the graph.

Function: x^2

Trace x: 2

f(2): 4

f(2) (6dp unrounded): 4.000000

Formula: f(x) = x^2

Breakdown: f(2) = 4

Plot minimum: 0

Plot maximum: 100

Verdict: The graph of y = x^2 passes through (2, 4) — every point on the curve is one input-output pair of the function.

x^2 at x = -3: x^2 at x = -3: f(x) = 9

x^2 at x = 0: x^2 at x = 0: f(x) = 0

sin(x) at x = π/2: sin(x) at x = π/2: f(x) = 1

1/x at x = 2: 1/x at x = 2: f(x) = 0.5

sqrt(x) at x = 16: sqrt(x) at x = 16: f(x) = 4

2^x at x = 3: 2^x at x = 3: f(x) = 8

|x| at x = -5: |x| at x = -5: f(x) = 5

log(x) at x = 100: log(x) at x = 100: f(x) = 2

Reverse: x = ±3 solves x^2 = 9 (smallest non-negative x with x^2 of 9 or more): 3

Reverse: x = ±3 solves x^2 = 9 (smallest non-negative x with x^2 of 9 or more) (rounded): 3

At 3 the figures are: x^2 at x = 3: f(x) = 9

At the lower neighbor the figures are: x^2 at x = 2: f(x) = 4

At the upper neighbor the figures are: x^2 at x = 4: f(x) = 16

Reverse verdict: STEP

Reverse: x = 5 solves 2^x = 32 (smallest whole x with 2^x of 32 or more): 5

Reverse: x = 5 solves 2^x = 32 (smallest whole x with 2^x of 32 or more) (rounded): 5

At 5 the figures are: 2^x at x = 5: f(x) = 32

At the lower neighbor the figures are: 2^x at x = 4: f(x) = 16

At the upper neighbor the figures are: 2^x at x = 6: f(x) = 64

Reverse verdict: STEP

Edge: Empty expression: Type a function first — try x^2.

Edge: Unknown function foo(x): Unknown function "foo" — use sin, cos, tan, sqrt, abs, log or ln.

Edge: 1/x at x = 0 (division by zero): 1/x is undefined at x = 0 — the graph has a gap there, not a point.

Edge: sqrt(x) at x = -4 (square root of a negative): sqrt(x) is undefined at x = -4 — the graph has a gap there, not a point.

Edge: Unbalanced parentheses, x^2 + (x: Unbalanced parentheses — every opening bracket needs a closing one.

Edge: Non-numeric trace x: Enter a number for the trace x.

xf(x)

The graph of y = x^2 passes through (2, 4) — every point on the curve is one input-output pair of the function.

x^2 at x = -3: x^2 at x = -3: f(x) = 9.

x^2 at x = 0: x^2 at x = 0: f(x) = 0.

sin(x) at x = π/2: sin(x) at x = π/2: f(x) = 1.

1/x at x = 2: 1/x at x = 2: f(x) = 0.5.

sqrt(x) at x = 16: sqrt(x) at x = 16: f(x) = 4.

2^x at x = 3: 2^x at x = 3: f(x) = 8.

|x| at x = -5: |x| at x = -5: f(x) = 5.

log(x) at x = 100: log(x) at x = 100: f(x) = 2.

Reverse: The x = ±3 solves x^2 = 9 (smallest non-negative x with x^2 of 9 or more) is 3; at 3 the figures are x^2 at x = 3: f(x) = 9; at the lower neighbor the figures are x^2 at x = 2: f(x) = 4; at the upper neighbor the figures are x^2 at x = 4: f(x) = 16 — verdict: STEP. Reverse: The x = 5 solves 2^x = 32 (smallest whole x with 2^x of 32 or more) is 5; at 5 the figures are 2^x at x = 5: f(x) = 32; at the lower neighbor the figures are 2^x at x = 4: f(x) = 16; at the upper neighbor the figures are 2^x at x = 6: f(x) = 64 — verdict: STEP.

Edges: Empty expression gives Type a function first — try x^2.. Unknown function foo(x) gives Unknown function "foo" — use sin, cos, tan, sqrt, abs, log or ln.. 1/x at x = 0 (division by zero) gives 1/x is undefined at x = 0 — the graph has a gap there, not a point.. sqrt(x) at x = -4 (square root of a negative) gives sqrt(x) is undefined at x = -4 — the graph has a gap there, not a point.. Unbalanced parentheses, x^2 + (x gives Unbalanced parentheses — every opening bracket needs a closing one.. Non-numeric trace x gives Enter a number for the trace x..

What does (2, 4) mean?

It means the point with x = 2 and y = 4 sits on the curve — put 2 into the function and 4 comes out, because 2² is 4. Every point on a graph is one input-output pair of the function: the x-coordinate is the input, the y-coordinate is the output. The graph of y = x² is a parabola, a U-shape with its lowest point at (0, 0), rising to 100 at x = 10 and at x = -10. Read any point the same way: find its x, and its height is the function at that x.

Three things to check before you trust the picture

The curve is drawn from samples, not from the whole function. The plot evaluates the function at 101 points across the shown range and joins them with straight segments. For a smooth function like x² that is plenty — the samples at x = 5 and x = -7 land exactly on 25 and 49. For a very steep or jumpy function the picture between samples can mislead, so zoom in to check a suspicious stretch before you believe it.

Some functions have gaps, and a gap is not a zero. 1/x is undefined at x = 0 — there is no point on the curve there, and the two arms of the hyperbola run away in opposite directions. √x needs x ≥ 0, so the curve simply does not exist left of the y-axis. The calculator leaves a gap where the function is undefined instead of inventing a point, and the table of values shows a dash there.

Degrees and radians are not the same input. The trig presets read x in radians, the way mathematics writes it: sin(x) reaches 1 at x = π/2, about 1.5708, not at x = 90. If you type sin(90) expecting 1, you will get about 0.894 — the sine of 90 radians, not 90 degrees. The presets use π where the maths needs it.

Worked example

On the defaults: y = x², x from -10 to 10, trace x = 2.

  1. Take the function: y = x² — square the input.
  2. Pick the trace x: 2.
  3. Square it: 2² is 4.
  4. Plot the point: (2, 4) sits on the curve — the red dot marks it.
  5. Check the neighbours: at x = 3 the curve is at 9, and at x = 1 it is at 1 — the curve climbs faster the further out you go.

And the other way: x² = 9 has two solutions, x = 3 and x = -3 — the table shows f(x) = 9 on both rows, because the parabola is symmetric. And 2^x = 32 has one solution, x = 5, because 2⁵ is 32.

Every branch, checked

The reverses, worked backwards

What the defaults assume

The defaults are y = x² over x from -10 to 10, with the trace at x = 2 — chosen because the parabola is the first graph most people meet, and (2, 4) is its most quoted point. They are a starting point, not a lesson: type any function the parser knows — x^2, sin(x), 1/x, sqrt(x), 2^x, |x|, log(x) — set the range, and read the trace. The plot samples 101 points, so a function that jumps or spikes between samples can look smoother than it is; zoom in to check. The trace x must be a number, and an empty or unreadable expression is an error, not a blank graph.

These notes repeat in every explainer section because this page is built to be read start to finish: the curve is drawn from 101 samples; some functions have gaps where they are undefined; and trig inputs are in radians.

Output · formula · meaning

OutputFormulaWhat it means
Functioninputx^2.
Trace xinput2.
f(2)f(x) = x^24.
f(2) (6dp unrounded)decimal, 6 places4.000000.
Formulaby functionf(x) = x^2.
Breakdownstep by stepf(2) = 4.
Verdictin wordsThe graph of y = x^2 passes through (2, 4).
Reverse: x = ±3 solves x^2 = 9 (smallest non-negative x with x^2 of 9 or more)step3: x^2 at x = 3: f(x) = 9.
Reverse: x = 5 solves 2^x = 32 (smallest whole x with 2^x of 32 or more)step5: 2^x at x = 5: f(x) = 32.
x^2 at x = -3same modelx^2 at x = -3: f(x) = 9.
x^2 at x = 0same modelx^2 at x = 0: f(x) = 0.
sin(x) at x = π/2same modelsin(x) at x = π/2: f(x) = 1.
1/x at x = 2same model1/x at x = 2: f(x) = 0.5.
sqrt(x) at x = 16same modelsqrt(x) at x = 16: f(x) = 4.
2^x at x = 3same model2^x at x = 3: f(x) = 8.
|x| at x = -5same model|x| at x = -5: f(x) = 5.
log(x) at x = 100same modellog(x) at x = 100: f(x) = 2.
Empty expressionsame modelType a function first — try x^2..
Unknown function foo(x)same modelUnknown function "foo" — use sin, cos, tan, sqrt, abs, log or ln..
1/x at x = 0 (division by zero)same model1/x is undefined at x = 0 — the graph has a gap there, not a point..
sqrt(x) at x = -4 (square root of a negative)same modelsqrt(x) is undefined at x = -4 — the graph has a gap there, not a point..
Unbalanced parentheses, x^2 + (xsame modelUnbalanced parentheses — every opening bracket needs a closing one..
Non-numeric trace xsame modelEnter a number for the trace x..

Who uses this

Accuracy & limitations

The arithmetic is exact on the numbers you type: the parser evaluates the function you wrote, and the only rounding is the six-place display of each value. The plot samples the function at discrete points (101 across the shown range) and joins them — very steep or discontinuous functions can look misleading between samples; zoom in to check. The trace reads the function at exactly the x you typed, so it is the reliable number when the picture is in doubt. The parser knows + - * / ^, parentheses, x, sin, cos, tan, sqrt, abs, log (base 10), ln, e and pi — anything else is an error, and undefined points are gaps, not zeros.

Cite this calculator

The graph of y = x² passes through (2, 4) — every point on the curve is one input-output pair of the function. x^2 at x = -3 is 9; sin(x) at x = π/2 is 1; 1/x at x = 2 is 0.5; sqrt(x) at x = 16 is 4; 2^x at x = 3 is 8; |x| at x = -5 is 5; log(x) at x = 100 is 2. Over x from -10 to 10 the x^2 curve runs from 0 at x = 0 up to 100 at x = ±10. x = ±3 solves x^2 = 9 (smallest non-negative x with x^2 of 9 or more): 3. x = 5 solves 2^x = 32 (smallest whole x with 2^x of 32 or more): 5. Source: Bright Side Kit, brightoolbox.com.

Embed this calculator

Frequently asked questions

What is the graph of y = x² at x = 2?

The point is (2, 4), because 2² is 4. Every point on the curve is one input-output pair: the x-coordinate is the input, the y-coordinate is the output.

How do you graph a function by plotting points?

Pick x-values, work out y for each one, and mark the (x, y) points — for y = x² the points (0, 0), (1, 1) and (2, 4) are on the curve. Join them with the smooth shape the function implies; the table on this page lists the values for you.

Why does 1/x have a gap at x = 0?

Because 1 divided by 0 is undefined — there is no point on the curve at x = 0. The two arms of the hyperbola run away in opposite directions, and the calculator leaves a gap instead of inventing a point.

What is sin(x) at x = π/2?

sin(π/2) is 1 — the first peak of the sine wave. The trig presets read x in radians, so π/2 (about 1.5708) is where the wave tops out, not 90.

How do you work backwards from a graph value?

Find the x whose height matches — x² = 9 has two solutions, x = 3 and x = -3, because the parabola is symmetric. And 2^x = 32 has one solution, x = 5, because 2⁵ is 32.

What is the lowest point of the x² graph?

(0, 0) — 0² is 0, and the parabola only climbs from there. Over x from -10 to 10 it reaches 100 at both ends.

Why does the graph look wrong for a steep function?

Because the plot joins 101 sampled points — a spike between two samples can be missed or smoothed over. Zoom in on the suspicious stretch; the trace value at an exact x is always the reliable number.

What functions can I type?

+ - * / ^, parentheses, x, sin, cos, tan, sqrt, abs, log (base 10), ln, e and pi. Anything else — for example foo(x) — is an error, and an empty expression asks you to type a function first.