Loading...
Plot functions, analyze graphs, and visualize math concepts instantly. Supports multiple simultaneous functions with real-time graphing, zero-finding, extrema detection, and derivative calculation.
Every major function type used in algebra, pre-calculus, and calculus courses is supported.
Start graphing in seconds with these steps.
Enter a mathematical expression using x as the variable. The graph draws in real time as you type. Use standard notation like x^2, sin(x), e^x, ln(x), or sqrt(x). Click a preset to load a common function instantly.
Click Add Function to plot additional expressions on the same graph. Each function gets a distinct color. You can plot up to 8 functions simultaneously. Use the eye icon to toggle visibility of individual functions.
Zoom in or out using the toolbar buttons, or open Settings to manually set the x and y axis ranges. This lets you focus on a specific region of the graph, such as zooming into an intersection point or a local maximum.
Click Analysis to see the y-intercept, slope at x=0, x-intercepts (zeros), and local extrema for the selected function. These values update automatically when you change the function or zoom level.
The graph draws instantly as you type. No submit button, no loading screen. Every character you change reflects immediately on the coordinate plane.
Plot multiple functions on one graph with distinct colors. Compare parabolas, overlay sine and cosine, or visualize function transformations side by side.
Find y-intercepts, x-intercepts (zeros), local maxima, minima, and numerical derivatives without switching tools. Everything you need for homework in one place.
Zoom in to see fine details or zoom out for the big picture. Set exact axis ranges in the settings panel for precise control over your view window.
Load common functions with one click. Presets cover linear, quadratic, cubic, trig, exponential, logarithmic, and more. Useful for quick exploration or demos.
Runs entirely in your browser using HTML5 Canvas. No Java applet, no Flash, no plugin. Works on any modern device including phones and tablets.
Graphing calculators transformed how students learn mathematics. Before digital tools, understanding a quadratic function meant plotting points by hand on graph paper, calculating y-values for a dozen x-values, and connecting the dots. That process took 15 minutes per function. A graphing calculator does it in milliseconds, freeing students to focus on understanding the behavior of the function rather than the mechanics of plotting.
At the university level, courses like Calculus I, Calculus II, Linear Algebra, and Differential Equations all rely on function visualization. Professors expect students to be comfortable with graphing tools. Being able to quickly plot a function, identify its zeros, locate maxima and minima, and understand its end behavior is a baseline skill for any STEM student.
Our Harvard graphing calculator uses an HTML5 Canvas element to render graphs directly in your browser. When you type a function expression, the calculator evaluates it at hundreds of points across the visible x-range and connects them to form a smooth curve. This happens in real time with every keystroke.
The analysis features use numerical methods. Zeros are found by detecting sign changes in the function values. Extrema are found by detecting sign changes in the numerical derivative. The derivative itself is computed using the symmetric difference quotient, which gives a good approximation for most well-behaved functions. These are the same numerical techniques taught in introductory numerical analysis courses.
Linear functions (y = mx + b) produce straight lines. The slope m controls how steep the line is, and b is where it crosses the y-axis. These are the simplest functions to graph but they form the foundation for understanding all other types. Every calculus concept starts with the tangent line, which is a linear approximation.
Quadratic functions (y = ax^2 + bx + c) produce parabolas. If a is positive the parabola opens upward; if negative, it opens downward. The vertex, which is the turning point, sits at x = -b/(2a). Quadratics are essential in physics (projectile motion), economics (profit optimization), and engineering (structural design).
Trigonometric functions (sine, cosine, tangent) are periodic. They repeat their values at regular intervals. Sine and cosine have a period of 2 pi, meaning the pattern repeats every 6.28 units along the x-axis. These functions model anything that cycles: sound waves, alternating current, seasonal patterns, and circular motion.
Exponential functions (y = e^x) grow incredibly fast. At x = 0 the value is 1, at x = 10 the value is over 22,000. Exponential growth models population growth, compound interest, and viral spread. The inverse, the natural logarithm (ln x), grows slowly and is essential in information theory, thermodynamics, and algorithm analysis.
In Calculus I, you spend most of your time on derivatives and their applications. Our analysis panel shows the numerical derivative at x = 0, but you can evaluate the derivative at any point by adjusting the function. For example, to find the derivative of x^3 at x = 2, you could graph the function and check the slope of the tangent line visually.
The zeros feature directly supports finding roots, which is a core calculus skill. When you solve f(x) = 0, you are finding the x-intercepts of the graph. For polynomials, the Fundamental Theorem of Algebra guarantees the number of roots, and graphing helps you locate them visually before confirming algebraically.
Local extrema, maxima and minima, are critical in optimization problems. The calculator finds these by detecting where the derivative changes sign. A maximum occurs where the derivative goes from positive to negative, and a minimum where it goes from negative to positive. This visual approach reinforces what you learn about the First Derivative Test in class.
One of the most powerful features is plotting multiple functions simultaneously. This is useful in several academic scenarios. Comparing a function to its derivative visually shows the relationship between increasing regions and positive derivative values. Overlaying a function and its Taylor polynomial approximation shows how well the approximation works near the center point.
In algebra, graphing two functions on the same axes is how you solve systems of equations visually. The intersection points of the two curves are the solutions. With up to 8 functions on one graph, you can visualize complex systems that would be nearly impossible to understand from equations alone.
Start with the default window and adjust from there. The standard view of negative 10 to 10 works for most textbook problems. If your function has features outside that range, zoom out. If it has fine details, zoom in. Use the axis settings in the Settings panel for precise control.
When graphing rational functions (fractions with x in the denominator), watch for vertical asymptotes where the denominator equals zero. The graph may show a vertical line at these points. This is a common rendering artifact, not an actual part of the function.
For trigonometric functions, remember that the calculator uses radians, not degrees. One full period of sine is from 0 to about 6.28 (2 pi). If you are used to degrees, set your x-range to 0 to 360 and multiply the argument by pi/180.
Common questions about graphing functions and using this calculator.
Disclaimer: This Harvard Graphing Calculator is a free educational tool. It is not affiliated with Harvard University. The calculator uses numerical methods which may have small precision errors. Always verify critical results with your course materials or a dedicated computer algebra system for graded assignments.