Plot Functions, Zoom, Pan & Compare Equations
Last reviewed: April 2026
Free online graphing calculator. Plot functions, see coordinates, zoom and pan. Supports trig, log, sqrt, exponents, and multiple equations with colors. This calculator runs entirely in your browser — your data stays private, and no account is required.
Type any function of x into the equation field and click "Plot" (or press Enter). You can graph polynomials like x^2 - 4, trig functions like sin(x) and cos(2*x), logarithms like log(x) or ln(x), roots like sqrt(x), and exponentials like 2^x or e^x. Use * for multiplication — writing 2x also works. Click "Add Equation" to compare up to 5 functions simultaneously, each rendered in a distinct color. For solving equations algebraically, use our Quadratic Equation Solver or Equation Solver.
Scroll (or pinch on mobile) to zoom in and out — the zoom centers on your cursor position. Click and drag to pan the coordinate plane. Use the ⚙ Window button to set exact x and y ranges when you need a precise view. The "Reset View" button returns to the default −10 to 10 range on both axes. The coordinate readout in the top-right corner shows exact (x, y) values as you hover.
The calculator supports standard math notation: sin, cos, tan, asin, acos, atan for trigonometry; log for base-10 logarithm and ln for natural logarithm; sqrt for square root; abs for absolute value; exp for e^x; ceil, floor, and round for rounding; and the constants pi and e. Exponents use ^ notation. For more number-crunching, explore the Scientific Calculator or the full Math calculator collection.
Students use graphing calculators to visualize function behavior — finding zeros, maxima, minima, and asymptotes. Teachers use them to demonstrate transformations (shifting, stretching, reflecting). Engineers and scientists use them to compare model curves against data. Plotting sin(x) alongside cos(x) instantly shows the phase relationship. Graphing x^2 and x^3 together reveals how odd and even powers differ in symmetry. For statistics-related visualization, see our Statistics Calculator.
| Function | Shape | Key Features |
|---|---|---|
| y = mx + b | Straight line | Slope m, y-intercept b |
| y = ax² + bx + c | Parabola | Vertex, axis of symmetry |
| y = sin(x) | Wave | Period 2π, amplitude 1 |
| y = eˣ | Exponential curve | Always positive, rapid growth |
| y = ln(x) | Logarithmic curve | Defined for x > 0, slow growth |
| y = 1/x | Hyperbola | Asymptotes at x=0, y=0 |
A graphing calculator plots mathematical functions on a coordinate plane, showing how the output value (y) changes as the input value (x) varies. This visual representation transforms abstract equations into intuitive shapes — a linear function produces a straight line, a quadratic function creates a parabola, and trigonometric functions generate smooth waves. The ability to see the shape of a function immediately reveals properties that are difficult to determine algebraically: where the function crosses zero (roots), where it reaches maximum or minimum values (extrema), where it increases or decreases, and how it behaves as x approaches infinity. Graphing is used extensively in algebra, calculus, physics, engineering, economics, and data science to understand relationships between variables. For solving specific equations, see our Equation Solver and Quadratic Solver.
| Function Type | General Form | Graph Shape | Key Features |
|---|---|---|---|
| Linear | y = mx + b | Straight line | Slope m, y-intercept b |
| Quadratic | y = ax² + bx + c | Parabola | Vertex, axis of symmetry |
| Cubic | y = ax³ + bx² + cx + d | S-curve | Inflection point, up to 3 roots |
| Exponential | y = abˣ | Rapid growth/decay | Horizontal asymptote |
| Logarithmic | y = a·log(x) + b | Slow growth curve | Vertical asymptote at x=0 |
| Sine/Cosine | y = A·sin(Bx + C) | Wave | Amplitude A, period 2π/B |
| Rational | y = p(x)/q(x) | Hyperbola variants | Vertical and horizontal asymptotes |
Understanding graph transformations allows you to predict how changing parameters in a function equation affects the visual graph. Vertical shifts move the graph up or down: y = f(x) + k shifts the graph up by k units (down if k is negative). Horizontal shifts move the graph left or right: y = f(x – h) shifts the graph right by h units (left if h is negative). Note the counterintuitive direction — subtracting h from x shifts the graph in the positive direction. Vertical stretches and compressions multiply the output: y = a·f(x) stretches the graph vertically by factor a (compresses if 0 < a < 1, reflects across the x-axis if a is negative). Horizontal stretches affect the input: y = f(bx) compresses the graph horizontally by factor b.
These transformations combine predictably. For the general form y = a·f(b(x – h)) + k, the order of operations matters: horizontal shift h, horizontal scale 1/b, vertical scale a, then vertical shift k. Understanding this framework lets you quickly sketch transformed functions without plotting individual points. For trigonometric functions, these transformations have physical meaning — amplitude (a) represents the peak value of a wave, period (2π/b) represents the wave's cycle length, phase shift (h) represents timing offset, and vertical shift (k) represents the baseline or DC offset. These concepts connect directly to physics applications — explore wave mechanics with our Frequency Calculator.
Several critical features of a function can be identified directly from its graph. Roots (zeros) are the x-values where the graph crosses the x-axis — these are solutions to the equation f(x) = 0. The y-intercept is where the graph crosses the y-axis, found by evaluating f(0). Local maxima and minima are the peaks and valleys of the graph — in calculus terms, these occur where the derivative equals zero and changes sign. The domain is the set of x-values for which the graph exists (visible as the horizontal extent), and the range is the set of y-values the graph achieves (visible as the vertical extent). Asymptotes appear as lines the graph approaches but never reaches — vertical asymptotes indicate x-values where the function is undefined, and horizontal asymptotes show the function's behavior as x approaches infinity.
Continuity (whether the graph can be drawn without lifting your pen) and differentiability (whether the graph has no sharp corners) are visually identifiable properties with deep mathematical significance. Concavity — whether the graph curves upward (concave up, like a bowl) or downward (concave down, like a hill) — indicates the sign of the second derivative and relates to acceleration in physics applications. Inflection points, where concavity changes, represent transitions between accelerating and decelerating behavior. These graphical concepts form the foundation of calculus and are essential for understanding optimization, rates of change, and modeling real-world phenomena. Explore related mathematical concepts with our Derivative Calculator and Integral Calculator.
Graphing functions extends far beyond pure mathematics. In physics, position-time graphs show motion (slope = velocity, curvature = acceleration). In economics, supply and demand curves intersect at equilibrium price. In biology, logistic growth curves model population dynamics. In engineering, transfer functions describe how systems respond to inputs. In data science, plotting residuals (errors) reveals whether a statistical model fits data appropriately. Even in personal finance, graphing compound interest versus time makes the power of compounding visually intuitive — a slow-growing curve that eventually accelerates dramatically. Understanding how to read and interpret graphs is one of the most transferable analytical skills across disciplines.
For students, graphing calculators bridge the gap between algebraic manipulation and conceptual understanding. Seeing that y = x² and y = (x – 3)² + 2 produce the same parabolic shape shifted to different positions builds intuition that purely symbolic work cannot achieve. Graphing multiple functions simultaneously reveals relationships — plotting a function alongside its derivative shows that the derivative is zero at every maximum and minimum of the original function. Plotting parametric equations creates curves that cannot be expressed as simple y = f(x) functions, including circles, ellipses, and complex spirals. For specific algebraic operations, see our Square Root Calculator, Factorial Calculator, and Number Sequence Calculator.
Choosing the right viewing window is critical for useful graphs. Start with a standard window (x: -10 to 10, y: -10 to 10) and adjust based on the function's behavior. For trigonometric functions, use x-range of -2π to 2π to see complete cycles. For exponential functions, extend the y-axis to accommodate rapid growth. If the graph appears empty, your window may be too small or too large — try zooming out to find the function, then zoom in to see detail. Plotting multiple functions on the same axes helps compare behaviors and find intersection points (solutions to systems of equations). Using different colors or line styles distinguishes overlapping functions. For periodic functions, include at least two complete periods to confirm the pattern. These visualization skills apply directly to data analysis and scientific modeling — explore statistical applications with our Sample Size Calculator and probability concepts with our Binomial Probability Calculator.
See also: Scientific Calculator · Quadratic Solver · Statistics Calculator · Logarithm Calculator · Exponent Calculator · Area Calculator
→ Start with a wide viewing window. Begin with x: −10 to 10 and y: −10 to 10, then zoom in on areas of interest. Starting too narrow can hide important features.
→ Use the graph to estimate roots before solving algebraically. Seeing where the curve crosses the x-axis tells you how many real solutions exist and their approximate values. Verify with our Quadratic Solver.
→ Plot the derivative alongside the original. Graphing f(x) and f'(x) together shows where the function increases, decreases, and has critical points.
→ Check asymptotic behavior. Zoom out to very large x values to understand end behavior — does the function grow, decay, or oscillate?
See also: Scientific Calculator · Quadratic Solver · Slope Calculator · Derivative Calculator
A graphing calculator transforms abstract equations into visual representations that reveal behavior impossible to see from the formula alone. Key features become immediately apparent: where a function crosses the x-axis (roots or zeros), where it reaches local maxima and minima (turning points), intervals of increasing and decreasing behavior, asymptotic behavior as x approaches infinity or specific values, and the overall shape (concavity) of the curve. Comparing two functions on the same graph reveals intersection points — solutions to simultaneous equations — without algebraic manipulation.
For students and professionals alike, developing graph literacy is as important as computational skill. When you can look at f(x) = x³ - 3x + 1 and predict its general shape — a cubic with one local maximum and one local minimum — you have built mathematical intuition that no calculator can replace. Use the graphing tool to verify your predictions: sketch what you think the graph should look like, then plot it and compare. This deliberate practice builds the kind of deep understanding that transfers across mathematical disciplines, from calculus (where derivatives describe the slope you see) to differential equations (where solution curves reveal system behavior over time).