Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Graphing Calculator

Graphing Calculator works out Function plotted and Value at the query point from Plot type, Function and Second function (optional). The default figures on this page give function plotted of x^2 - 4; change any entry and the result, the working and the sources update together.

Function plotted
x^2 - 4
Graphing Calculator
Smallest sampled value
-4
Largest sampled value
96
y-intercept
-4
Samples inside the domain
21
SVG path for the curve
M 0 0 L 32 76 L 64 144 L 96 204 L 128 256 L 160 300 L 192 336 L 224 364 L 256 384 L 288 396 L 320 400 L 352 396 L 384 384 L 416 364 L 448 336 L 480 300 L 512 256 L 544 204 L 576 144 L 608 76 L 640 0
Worked out from OpenStax College Algebra 2e, section 3.2 Domain and Range and 3 other sources.

Your figures

Updates as you type
y = f(x), or z = f(x, y) in 3D mode. In piecewise mode separate the branches with "|".
A second curve g(x). Its intersections with f(x) are reported.
Ignored in 3D mode, which always uses x and y.
Points on the x grid, endpoints included.
Ascending cut points. Each branch applies from its breakpoint up to the next one.
In parametric mode the "Function" field is x(t) and this one is y(t).

How this is worked out

4 steps
  1. f(x) = x^2 - 4
  2. Sampled 21 points on [-10, 10] at x_i = -10 + 20 * i / 20.
  3. Sampled range: -4 to 96 over 21 of 21 points.
  4. Zeros in the interval: -2, 2 (exact grid zeros plus bisected sign changes).
Zeros in the intervaltable
-2, 2
Sampled pointstable
xy
-1096
-977
-860
-745
-632
-521
-412
-35
-20
-1-3
0-4
1-3
20
35
412
521
632
745
860
977
1096

Its 6 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

4 sources
OpenStax College Algebra 2e, section 3.2 Domain and Range
Definition of the graph of a function, its domain, range and intercepts.
OpenStax College Algebra 2e, section 3.4 Composition of Functions / piecewise definitions
Piecewise-defined functions: one branch per interval of the domain.
Burden & Faires, Numerical Analysis, section 2.1 (the Bisection Method)
A sign change on a bracket of a continuous function contains a root; bisection converges to it.
W3C Scalable Vector Graphics (SVG) 1.1, section 8.3 Path data
The moveto/lineto path grammar used for the returned plot path.

What the Graphing Calculator calculates

Plots y = f(x), a piecewise function or a z = f(x, y) surface over a chosen domain, returning the sampled points, the range, the intercepts, the zeros and any intersection with a second curve.

How to use this Graphing Calculator

Enter Plot type, Function, Second function (optional) and Variable. Function plotted updates as you type, and “Use a worked example” loads checked figures you can adjust. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind Function plotted, Value at the query point and Smallest sampled value.

The method follows OpenStax College Algebra 2e, section 3.2 Domain and Range, OpenStax College Algebra 2e, section 3.4 Composition of Functions / piecewise definitions, Burden & Faires, Numerical Analysis, section 2.1 (the Bisection Method) and W3C Scalable Vector Graphics (SVG) 1.1, section 8.3 Path data.

y = x^2 - 4 on [-3, 3] example

With Function: x^2 - 4, x from: -3, x to: 3, Sample points: 13, the calculator returns Zeros in the interval: see result table, y-intercept: -4, Smallest sampled value: -4. This example is checked against an independent source in the test suite.

What you can compare

Change one input at a time to see how it affects Function plotted, Value at the query point and Smallest sampled value. The inputs you can vary are Plot type, Function, Second function (optional), Variable, x from and x to.

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

Why are graphing calculators banned?

Plots y = f(x), a piecewise function or a z = f(x, y) surface over a chosen domain, returning the sampled points, the range, the intercepts, the zeros and any intersection with a second curve. On the figures this page opens with — x from -3, x to 3 and evaluate at x 1 — the function plotted is x² - 4. Put your own figures in their place and the working updates beside the result.

Are graphing calculators still worth it?

It needs Plot type, Function, Second function (optional), Variable, x from and x to. Nothing else is required, and the figures stay in your browser.

What information do I need for the Graphing Calculator?

You need Plot type, Function, Second function (optional), Variable, x from, x to, y from (3D) and y to (3D). The page opens with default figures that give function plotted of x^2 - 4, so you can see the scale before entering your own.

What does this Graphing Calculator show?

It shows Function plotted, Value at the query point, Smallest sampled value, Largest sampled value, y-intercept, Zeros in the interval, Intersections with the second curve and Sampled points, with the working and any warnings for your entries.

Can I check how the Graphing Calculator result was calculated?

Yes. The “How this is worked out” section shows the calculation steps, and the sources section identifies the references used for the method.

Related calculators

View all related calculators11 more