What this calculator does
Type a rule like y = x² and see its graph. A function is a rule that turns each x into one y, written y = f(x). The graph shows its shape: where it crosses the x-axis, where two graphs meet, where it turns, and where it has no value. You can type up to four functions, such as x^2 − 2, 2x + 3 or sin(x). They're drawn together in different colours and line styles.
Drag the graph to move around. Use the mouse wheel or the zoom buttons to look closer. Trace moves a cursor along a curve with the arrow keys and shows its coordinates (its x and y).
The tools can also find a function's value at any x and make a table of values. They find zeros (where the graph crosses zero), where two graphs meet, and the lowest or highest point in a range. These answers come from a step-by-step computer search, not exact algebra. So they're marked as approximate and rounded to the digits you can trust.
Where it's used
Why this math matters outside the classroom:
- Solving equations graphically. Algebra students solve x² = 2x + 3 by graphing both sides and reading the intersections at x = −1 and x = 3.
- Break-even points. A small business graphs revenue 12x and cost 500 + 7x and finds they meet at 100 units.
- Projectile height. Physics students graph h = −4.9t² + 20t + 1.5 and find the maximum height of about 21.9 m at about 2.04 s.
- Checking homework. Students confirm that x² − 2 has zeros near ±1.414213562, matching ±√2.
- Comparing growth. Savers graph 1000 × 1.05^x and 1000 + 80x to see when compound growth overtakes a fixed yearly amount.
Grade level and standards: Grades 8–12; Common Core State Standards for Mathematics HSA.REI.D.11, HSF.IF.C.7, 8.F.A.1. © Copyright 2010. National Governors Association Center for Best Practices and Council of Chief State School Officers. All rights reserved.
How to use it
- Type a function that uses x after Y1 =, for example x^2 − 2. Add more in Y2 to Y4. You can leave out the × sign: 2x means 2 × x, and sinx means sin(x).
- Choose radians or degrees for sin, cos and tan. Radians are the usual choice for graphing. Degrees make sin(x) repeat every 360.
- Move the view: drag the graph, or zoom with the wheel or the + and − buttons. Standard shows −10 to 10 on both axes. You can also type exact window edges.
- Trace: click the graph (or tab to it) and press the left and right arrow keys to step along x. Up and down switch between functions.
- Use Value to get y at an exact x. Use Zeros, Intersections and Min/Max to search a range of x, and the table of values for a list of points.
What the inputs mean
- Y1 =
- Use x as the variable, with + − × ÷ ^ and brackets. You can also use sin, cos, tan and their inverses, log, ln, √ (sqrt), ∛ (cbrt), abs, exp, π and e. If you start with "y =", it's ignored.
- Y2 =
- Keep the example or type a second function. The intersections are the points where Y1 and Y2 have the same value.
- Angle unit
- This only matters for sin, cos and tan. In degrees, sin(x) repeats every 360. In radians, it repeats every 2π ≈ 6.283.
- Interval start (x)
- The searches look at x values from here to the interval end.
- Evaluate at x
- Y1 and Y2 are worked out exactly at this x, as far as computer arithmetic allows.
Formula and method
Point on the graph: (x, f(x)) Zero of f: a value of x with f(x) = 0 Intersection of f and g: a zero of f(x) − g(x), at the point (x, f(x)) Minimum on [a, b]: the lowest f(x) for a ≤ x ≤ b, possibly at a or b
In the formulas, f and g are functions, and f(x) is the y value f gives for a particular x. [a, b] means the range of x from a to b.
To draw a curve, the calculator works out f at several hundred x values across the window and joins the dots. Where the curve bends sharply or jumps, it works out more points in between. Some functions have no value at some x, like √x for negative x. Others shoot off to infinity, like 1/x at 0 or tan x at 90°. There, the line is left broken instead of being joined by a false vertical line.
Zeros and intersections come from a search. The calculator checks the range in 2,000 steps, looking for places where f(x) (or f(x) − g(x)) switches between positive and negative. It then zooms in on each one with Brent's method, a standard technique that keeps halving the gap and makes smart guesses to get there faster.
Some sign switches happen at a pole, where the graph shoots to infinity. Those are rejected, because f isn't close to 0 there. Points where the graph only touches the axis, like x² at 0, are found by looking for the smallest size of f(x) instead. They're less precise.
The minimum and maximum come from the same search, followed by Brent's method for finding a lowest point. It pins down the turning point to about 7 digits. That's the limit for any method that compares y values, because near a turning point y barely changes as x moves.
Worked example
Where does the U-shaped curve (parabola) y = x² meet the line y = 2x + 3?
- Enter Y1 = x^2 and Y2 = 2x + 3 and use the standard window, −10 to 10 on both axes.
- The line crosses the parabola twice. The graphs meet where x² = 2x + 3, which is where x² − 2x − 3 = 0.
- Searching from −10 to 10 for sign changes of x² − (2x + 3) finds x ≈ −1 and x ≈ 3.
- At x = −1, y = (−1)² = 1. At x = 3, y = 3² = 9. Both points also fit y = 2x + 3: 2(−1) + 3 = 1 and 2(3) + 3 = 9.
- Algebra agrees: x² − 2x − 3 = (x − 3)(x + 1), so x = 3 or x = −1.
Result: The graphs meet at (−1, 1) and (3, 9). The search reports them as x ≈ −1, y ≈ 1 and x ≈ 3, y ≈ 9.
Understanding the result
A zero is where the graph crosses or touches the x-axis. For a polynomial (like x² − 2x − 3), it's a root, a solution of f(x) = 0. An intersection is a solution of f(x) = g(x). That's how graphing solves equations that have no neat algebra method, such as 2^x = x + 3.
Searched answers are marked ≈ and rounded to the digits you can trust. A clean crossing is good to 10 digits. A flat crossing, such as (x − 1)³ at 1, or a point where the graph only touches the axis, shows fewer digits.
The searches look only inside the range you give. If a zero is missing, widen the range or look at the graph. The search can miss two zeros that are closer together than one search step.
Assumptions and limitations
- Real numbers only. Points where f has no real value, such as √x for negative x, are left blank.
- Leaving out the × sign ranks the same as × and ÷, read left to right, as on the scientific calculator.
- Degree mode uses exact values at multiples of 15°, so tan(90) has no value instead of being a huge number.
- Functions of x only. It doesn't draw parametric, polar or implicit equations, inequalities or statistics plots.
- Zeros and intersections are close estimates, not exact answers in symbols. The quadratic equation calculator gives exact roots of quadratics.
- Functions that wiggle extremely fast, such as sin(1/x) near 0, can't be drawn accurately at any zoom.
Frequently asked questions
Why is the line broken on graphs like 1/x or tan(x)?
Because the function has no value at the gap. 1/x has no value at x = 0, and it shoots to infinity on either side. Joining the last point on the left to the first point on the right would draw a vertical line that isn't part of the graph. The calculator spots these breaks (called poles) and leaves the gap.
How accurate are the zeros and intersections?
Each is rounded to the number of digits you can trust, at most 10. For an ordinary crossing, that's all 10. Where a graph crosses very flatly or only touches the axis, tiny computer rounding errors limit the precision. Then fewer digits are shown.
Should I use degrees or radians?
Use radians for most graphing. Calculus and physics formulas assume radians, and sin(x) then repeats every 2π. Choose degrees when x is an angle in degrees. For example, you'll see that sin(x) = 0.5 at 30 and 150.
Can I find where a graph meets a horizontal line?
Yes. Put the line in another slot, such as Y2 = 0.5, and find the intersections. That solves Y1 = 0.5.
How this calculator is checked
Method: Functions are parsed by the site's own expression parser with x bound as a variable. Zeros use a sign-change scan plus Brent's method; extrema use Brent's minimisation; precision is estimated from the slope at the root against floating-point noise. The calculation is covered by automated tests with known reference values and edge cases. Last updated 2026-10-19. Found a problem? Tell us.
Embed this calculator
Put this Graphing Calculator on your own website or blog for free. Paste this code where you want it to appear: