Graphing Calculator — Plot Any Function Instantly
Free graphing calculator. Plot any math function instantly — polynomials, trig, log, exponentials. Zoom, pan, and trace. No download needed, works in your browser.
What Is a Graphing Calculator?
A graphing calculator is a tool that plots mathematical functions as visual curves on a coordinate plane. Unlike basic calculators that only compute single values, graphing calculators show you the entire behavior of a function — where it crosses the x-axis (roots), its peaks and valleys (extrema), how it grows or decays, and how different functions relate to each other.
Our free online graphing calculator supports a wide range of functions: polynomials (x², x³), trigonometric functions (sin, cos, tan), logarithms (log, ln), exponentials (exp, e^x), square roots (sqrt), and absolute values (abs). You can plot up to two functions simultaneously, customize the viewing window, and trace coordinates with your mouse.
Physical graphing calculators like the TI-84 and TI-Nspire cost $100–$150. Our browser-based version does the same core function — plotting equations — for free, instantly, on any device. No download, no app, no account required.
How to Use This Graphing Calculator
Enter your function using standard math notation. Use x as the variable. Here are supported operations:
| Operation | Syntax | Example |
|---|---|---|
| Power | ^ | x^2, x^3 |
| Multiplication | * or implicit | 2*x or 2x |
| Division | / | x/2, 1/x |
| Sine | sin(x) | sin(x), sin(2x) |
| Cosine | cos(x) | cos(x) |
| Tangent | tan(x) | tan(x) |
| Natural log | ln(x) or log(x) | ln(x) |
| Exponential | exp(x) | exp(x), e^x |
| Square root | sqrt(x) | sqrt(x) |
| Absolute value | abs(x) | abs(x) |
| Pi | pi | sin(pi*x) |
Adjust the window: Change X min/max and Y min/max to zoom in on interesting regions. For trigonometric functions, try X: -2π to 2π (about -6.28 to 6.28).
Compare functions: Enter a second function in g(x) to see both plotted simultaneously. This is great for finding intersections, comparing growth rates, or verifying transformations.
Common Functions to Try
Here are some interesting functions to explore:
- Parabola:
x^2— the classic U-shape. Try-x^2 + 4for an inverted parabola with vertex at (0, 4). - Cubic:
x^3 - 3x— an S-curve with two turning points. - Sine wave:
sin(x)— oscillates between -1 and 1 with period 2π. Try2*sin(3x)to change amplitude and frequency. - Exponential growth:
exp(x)or2^x— starts slow, then shoots up rapidly. - Logarithm:
ln(x)— the inverse of exp(x). Only defined for x > 0. - Reciprocal:
1/x— a hyperbola with asymptotes at x=0 and y=0. - Absolute value:
abs(x)— a V-shape. Tryabs(sin(x))for a rectified sine wave. - Circle (top half):
sqrt(25 - x^2)— plots the upper semicircle of radius 5.
Understanding Function Behavior from Graphs
Graphs reveal important properties of functions that are hard to see from equations alone:
Roots (zeros): Where the curve crosses the x-axis. For x^2 - 4, the roots are at x = -2 and x = 2. These are the solutions to the equation x² - 4 = 0.
Y-intercept: Where the curve crosses the y-axis (the value when x = 0). For x^2 - 4, the y-intercept is -4.
Maximum and minimum: The peaks and valleys of the curve. For -x^2 + 4, the maximum is at (0, 4). Local maxima and minima occur where the curve changes direction.
Asymptotes: Lines that the curve approaches but never touches. 1/x has vertical asymptote at x = 0 and horizontal asymptote at y = 0. Exponential functions have horizontal asymptotes.
Symmetry: Even functions like x^2 and cos(x) are symmetric about the y-axis. Odd functions like x^3 and sin(x) have rotational symmetry about the origin.
Growth rate: Plot x^2 and 2^x together to see how exponential growth eventually dominates polynomial growth — a key concept in computer science and finance.
Transformations of Functions
Understanding how changes to a function's equation affect its graph is fundamental to algebra and precalculus:
Vertical shift: f(x) + k shifts the graph up by k units. Try x^2 vs x^2 + 3.
Horizontal shift: f(x - h) shifts right by h units. Try x^2 vs (x-2)^2. Note: subtracting moves right (counterintuitive).
Vertical stretch: a·f(x) stretches vertically by factor a. Try sin(x) vs 3*sin(x).
Horizontal compression: f(bx) compresses horizontally by factor b. Try sin(x) vs sin(2x) — doubles the frequency.
Reflection: -f(x) reflects over the x-axis. f(-x) reflects over the y-axis.
Use our two-function plotting to see these transformations side by side — it's the fastest way to build intuition about how equations map to shapes.
Graphing Calculator Tips
- Start with the default window (-10 to 10 on both axes) and adjust as needed. If you can't see the interesting part of your function, zoom in or out.
- Use mouse hover to read exact coordinates at any point on the graph.
- Plot both f(x) and -f(x) to see reflections, or f(x) and f(x-2) to see shifts.
- For trig functions, set X range to -6.28 to 6.28 (≈ -2π to 2π) for exactly one full period.
- Finding intersections: Plot both functions and visually identify where curves cross. The x-coordinates at intersections are solutions to f(x) = g(x).
- Discontinuities: Functions like tan(x) and 1/x have vertical asymptotes. The grapher handles these by breaking the line — you'll see gaps at these points.
What functions can I graph with this calculator?
You can graph polynomials (x^2, x^3, etc.), trigonometric functions (sin, cos, tan), logarithms (log, ln), exponentials (exp, e^x), square roots (sqrt), absolute values (abs), and any combination of these using +, -, *, /, and ^. Use parentheses for grouping. Constants like pi and e are supported. Up to two functions can be plotted simultaneously.
How do I find the roots of a function?
Plot the function and look where it crosses the x-axis — those x-values are the roots (zeros). For more precision, zoom in on the crossing point by adjusting X min/max to a narrow range and use mouse hover to read the coordinate. For exact roots, set f(x) = 0 and solve algebraically, then verify on the graph.
Why does my graph look like a straight line?
Your viewing window may be too large or too small for the function. If you're graphing sin(x) with X range -1000 to 1000, the oscillations are too compressed to see. Try -10 to 10. Conversely, if you graph x^3 in a tiny window, it may look linear because you're zoomed in too much. Adjust your window to see the interesting behavior.
What's the difference between log and ln?
In this calculator, both log(x) and ln(x) compute the natural logarithm (base e ≈ 2.718). This follows the convention used in mathematics and most programming languages. For log base 10, use log(x)/log(10) or equivalently log(x)/2.302585. For log base b, use log(x)/log(b). The natural log is more common in calculus and science.
Can I graph parametric or polar equations?
This calculator graphs functions of the form y = f(x) — standard Cartesian functions. Parametric equations (x=f(t), y=g(t)) and polar equations (r=f(θ)) require specialized graphing modes not currently supported. For parametric curves, you can sometimes convert to Cartesian form: for example, a circle x=cos(t), y=sin(t) can be plotted as two functions: sqrt(1-x^2) and -sqrt(1-x^2).
Why are there gaps in my graph of tan(x)?
The tangent function has vertical asymptotes at x = π/2 + nπ (approximately ±1.57, ±4.71, etc.) where it's undefined — it approaches positive infinity from one side and negative infinity from the other. The grapher detects these discontinuities and breaks the line instead of drawing a misleading vertical line through infinity. This is mathematically correct behavior.
How do I graph a circle?
A circle isn't a function (it fails the vertical line test), but you can graph it as two separate functions. For a circle of radius r centered at origin: plot f(x) = sqrt(r^2 - x^2) for the top half and g(x) = -sqrt(r^2 - x^2) for the bottom half. For radius 5: f(x) = sqrt(25-x^2) and g(x) = -sqrt(25-x^2). Set the window to square proportions for it to look circular.
What is an asymptote?
An asymptote is a line that a curve approaches but never reaches. Vertical asymptotes occur where a function is undefined (like x=0 for 1/x). Horizontal asymptotes show the value a function approaches as x goes to ±infinity (like y=0 for 1/x). Oblique (slant) asymptotes occur when the function approaches a diagonal line. Asymptotes are crucial for understanding function behavior and are visible on graphs as places where the curve shoots toward infinity or levels off.
Can this replace my TI-84 for school?
For graphing functions and visualizing math concepts, yes — our online calculator does everything a TI-84's graphing mode does. However, physical calculators like the TI-84 are required for standardized tests (SAT, ACT, AP exams) where phones and computers aren't allowed. For homework, studying, and exploring math concepts, an online graphing calculator is faster and more convenient. For exams, you'll still need the physical calculator.
How do I find where two functions intersect?
Enter both functions (f(x) and g(x)) and plot them. The intersection points are where the two curves cross. Zoom in on any crossing point and use mouse hover to approximate the coordinates. For exact values, set f(x) = g(x) and solve algebraically. For example, to find where x^2 = 2x+3, solve x^2-2x-3=0, which factors to (x-3)(x+1)=0, giving x=3 and x=-1.
Real-World Applications of Graphing
Graphing functions isn't just an academic exercise — it's a fundamental tool in science, engineering, economics, and data analysis. Understanding graphs helps you visualize relationships, identify patterns, make predictions, and communicate findings.
Physics: Plotting position vs. time reveals velocity (the slope of the curve). A straight line means constant velocity, a parabola means constant acceleration (like free fall: y = ½gt²). Plotting velocity vs. time, the area under the curve gives displacement. These graphical interpretations are often more intuitive than the equations themselves.
Economics: Supply and demand curves are classic examples. The intersection point determines the equilibrium price and quantity. Shifting one curve (e.g., supply decreases) and seeing where the new intersection falls helps predict market changes. Cost functions, revenue curves, and profit optimization all rely on graphing.
Biology: Population growth follows exponential curves (N = N₀·e^(rt)) in unlimited resources and logistic curves (S-shaped) with carrying capacity. Plotting population data against these models helps biologists understand ecosystem dynamics and predict future populations.
Engineering: Signal processing uses sinusoidal functions. Electrical engineers graph voltage and current waveforms. Mechanical engineers graph stress-strain curves to understand material behavior. Civil engineers graph load distributions on beams and bridges.
Finance: Compound interest follows exponential growth: A = P(1+r)^t. Graphing this shows why starting to invest early matters so much — the curve is nearly flat at first but steepens dramatically over decades. Loan amortization, option pricing (Black-Scholes), and portfolio risk-return tradeoffs are all visualized through graphs.
Data science: Regression analysis fits mathematical functions to data points. Linear regression finds the best straight line; polynomial regression finds curves. Plotting residuals (errors) reveals whether your model is a good fit. Machine learning loss functions are graphed to monitor training progress.
Types of Mathematical Functions
Understanding the major function families helps you recognize and predict graph shapes:
Linear functions (y = mx + b): Straight lines. The slope m determines steepness and direction. Positive m slopes upward; negative slopes downward. The y-intercept b is where the line crosses the y-axis. All linear functions have constant rate of change.
Quadratic functions (y = ax² + bx + c): Parabolas — U-shaped curves. If a > 0, the parabola opens upward with a minimum. If a < 0, it opens downward with a maximum. The vertex is at x = -b/(2a). The discriminant (b²-4ac) determines how many x-intercepts: positive = 2, zero = 1, negative = none.
Polynomial functions (y = aₙxⁿ + ... + a₁x + a₀): Smooth curves with up to n-1 turning points. Odd-degree polynomials go from -∞ to +∞ (or vice versa). Even-degree polynomials have both ends going the same direction. The degree determines the maximum number of roots and the overall shape.
Exponential functions (y = a·bˣ): J-shaped growth or decay curves. If b > 1, the function grows exponentially. If 0 < b < 1, it decays. The base e (≈ 2.718) is special because its derivative equals itself: d/dx(eˣ) = eˣ. Exponential functions model population growth, radioactive decay, compound interest, and viral spread.
Logarithmic functions (y = log_b(x)): The inverse of exponential functions. They grow slowly — increasing without bound but at a decreasing rate. Only defined for x > 0, with a vertical asymptote at x = 0. Logarithmic scales are used for sound intensity (decibels), earthquake magnitude (Richter scale), and acidity (pH).
Trigonometric functions (sin, cos, tan): Periodic functions that repeat at regular intervals. Sine and cosine have period 2π, amplitude 1, and range [-1, 1]. Tangent has period π and vertical asymptotes. They model anything cyclical: sound waves, alternating current, tides, seasonal patterns, and circular motion.
Rational functions (y = p(x)/q(x)): Ratios of polynomials. They can have vertical asymptotes (where the denominator is zero), horizontal asymptotes (behavior as x→±∞), and holes (where both numerator and denominator are zero). The simplest example is y = 1/x.
Graphing Calculator History
The graphing calculator has a rich history that parallels the evolution of computing technology:
1985: Casio released the fx-7000G, the first mainstream graphing calculator. It had a 96×64 pixel display and could plot simple functions. It cost about $75 — expensive for the time but revolutionary for math education.
1990: Texas Instruments released the TI-81, beginning TI's dominance in the U.S. education market. It was specifically designed for algebra and precalculus students.
1996: The TI-83 became the most widely used graphing calculator in American schools — a position its successor, the TI-84 Plus (2004), holds to this day. Despite minimal hardware upgrades, TI calculators remain required for most U.S. math courses and standardized tests.
2007: Desmos was founded, offering a free online graphing calculator that was faster, more intuitive, and more capable than physical calculators. By 2023, Desmos had become the official calculator for the SAT, AP exams, and many state standardized tests — a landmark shift from physical to digital.
Today: Free online graphing tools like this one, Desmos, GeoGebra, and Wolfram Alpha have made physical graphing calculators largely unnecessary for learning. The main remaining use case is exams that specifically require or allow physical calculators. The industry is gradually shifting to digital-first, with many test providers now embedding calculators directly in their testing platforms.