Skip to content
CalculatorBuddy

Graphing Calculator

Graph up to four functions of x on a Cartesian plane with a custom viewing window and a table of function values.

Maintained by CalculatorBuddy TeamEditorial methodology

Add as a preferred source on Google (opens in a new tab)

ExampleSample values — edit any field to see your result.

One function per line, up to four. Use ^ for powers.

Graph

2 functions graphed

Estimated result

2 functions graphed

Viewing window
x: -10 to 10; y: -10 to 10

Saved calculations stay only in this browser. Share copies a link containing your entered values.

Function graph

-10-50510-10-50510xyy = sin(x)y = 0.2*x^2

Undefined and out-of-window samples are omitted; zoom by changing the graph window.

Compare scenarios

Keep a baseline, then change an assumption to see its effect side by side.

Selected function values

xy1y2
-10.000.5420.00
-5.000.965.00
0.000.000.00
5.00-0.965.00
10.00-0.5420.00

Plot as many as four functions of x on the same Cartesian coordinate system. Choose the visible x and y ranges, compare color-coded curves, and inspect a table of representative values without installing graphing software.

How to graph a function

  1. Enter one expression in terms of x on each line. Use ^ for powers and parentheses whenever the intended order could be ambiguous.
  2. Set the x and y limits. A useful first window for many textbook examples is −10 to 10 on both axes.
  3. Calculate, then match each expression to its curve using the legend color.
  4. Inspect the value table to connect points on the curve with numerical x and y pairs.
  5. Tighten the window around an intercept, turning point, or intersection when you need more detail.

The Slope Calculator finds an exact line from points or slope data, while the Quadratic Formula Calculator solves the zeros of a quadratic. A graph is an excellent check on those results, but the drawing itself is not an algebraic proof.

Supported expression patterns

Use arithmetic operators +, −, *, /, and ^; constants such as pi and e; and functions including sin, cos, tan, sqrt, abs, log, ln, and exp. Explicit multiplication such as 2*x is the clearest input. Keep function arguments in parentheses: sqrt(x + 4) rather than sqrt x + 4.

Reading important graph features

  • An x-intercept occurs where f(x) = 0; a y-intercept is f(0).
  • An intersection is a point where two plotted functions have the same value.
  • A turning point is where a curve changes from increasing to decreasing or the reverse.
  • A gap or break can indicate a restricted domain or discontinuity, but it can also fall between sampled points.
  • A steep curve that leaves the selected y range is clipped; expand the window before concluding the function is undefined.

OpenStax's graphing guidance emphasizes using intercepts, symmetry, extrema, and end behavior together when sketching a function. The calculator supplies a numerical plot; those checks help you decide whether the picture makes sense.

Examples

Compare a wave and parabola

Enter sin(x) on the first line and x^2 / 5 on the second. Their colors in the legend match their curves and their columns in the value table.

See a vertical discontinuity

Plot 1 / (x - 2). The expression is undefined at x = 2, so the curve splits into two branches. Narrow the x window around 2 to inspect the behavior.

Formula

Enter expressions using familiar notation:

sin(x)
x^2 / 5
sqrt(x + 4)
1 / (x - 2)

The plot samples each function throughout the x window. Use a narrower window when you need more visual detail around an intercept or turning point.

A graph suggests where roots, extrema, and asymptotes are; use algebra, the derivative calculator, or the integral calculator when you need a numerical or symbolic result.

Numerical limitations

The graph is built from sampled x-values, so it may miss a very narrow spike, closely spaced roots, or a discontinuity between samples. Trigonometric functions are evaluated in radians. Confirm precise roots or extrema with algebra or a dedicated solver, and avoid reading more decimal precision from the canvas than the value table supports.

Sources

Sampling and viewing limits

A plotted curve is a finite sample inside the selected window. Narrow spikes, holes, asymptotes, discontinuities, rapid oscillation, and behavior outside the window can be missed or visually connected. Change the window and sampling density, and confirm intercepts or extrema algebraically when they matter.

Check rates of change and accumulated area

Use the Derivative Calculator to examine a function’s symbolic rate of change, or the Integral Calculator for an antiderivative or definite integral. Plotting the function can help interpret those results, but sampled points can miss discontinuities or narrow features.

Frequently asked questions

How do I enter more than one function?
Enter one function of x on each line. The calculator can plot up to four functions together.
Which function syntax can I use?
Use x as the variable, ^ for powers, parentheses for grouping, and functions such as sin, cos, tan, sqrt, abs, log, ln, and exp.
Can I zoom the graph?
Change the x-minimum, x-maximum, y-minimum, and y-maximum fields in Graph window.
Why is part of a curve missing?
Undefined values and values outside the selected y window are omitted. A discontinuity such as division by zero may split a curve.

Related calculators