Use x, numbers, +, -, *, /, ^, parentheses, sqrt(), abs(), sin(), cos(), tan(), log(), ln(), pi and e.
Graph updated. The graph shows y = x^2 from x = -10 to 10.
Graph summary
Main result from the values entered.
Function
The graph shows y = x^2 from x = -10 to 10.
Invalid points are skipped so gaps can appear where the function has no value or has a discontinuity.
Graph range and sample values
| Point | x | y |
|---|---|---|
| Start | -10 | 100 |
| Sample | -5.0301 | 25.3015 |
| Sample | -0.02 | 0.0004 |
| Sample | 4.99 | 24.8999 |
| End | 10 | 100 |
How this graphing calculator works
The calculator parses the expression with a small whitelist of supported operators and functions, samples x values across the selected range, then draws the valid points as an SVG line. Points where the function has no value are skipped so the graph can show gaps around discontinuities.
Supported functions
You can use x, numbers, decimals, +, -, *, /, powers with ^, parentheses, sqrt(), abs(), sin(), cos(), tan(), log(), ln(), pi and e. Multiplication can be explicit, such as 2*x, or simple implicit multiplication such as 2x.
Degrees vs radians
The angle mode controls how trig function inputs are interpreted. In radians mode, sin(pi/2) reaches 1. In degrees mode, sin(90) reaches 1. The graph itself still uses the x range shown on the axis.
What this calculator does not include
This calculator plots one real-valued function at a time. It does not solve equations symbolically, calculate derivatives or integrals, plot inequalities, draw polar or parametric graphs, fit regression lines, graph user data tables or create 3D graphs.
Key terms and assumptionsShort notes about functions, axes, ranges, angle mode, discontinuities and sampling.
- Function
- The calculator plots the right side of y = f(x), using x as the input variable.
- X-axis and y-axis
- The x-axis runs horizontally and the y-axis runs vertically. Axes appear when zero is inside the visible range.
- Domain and range
- The x range controls which input values are sampled. Auto y range is estimated from finite sampled outputs.
- Degrees and radians
- Trig functions use the selected angle mode. Radians are the default.
- Discontinuities
- Undefined or unsafe points are skipped so the line can break around gaps rather than drawing misleading vertical jumps.
- Sampling
- The graph is drawn from a finite number of sampled x values, so very sharp features may need a narrower range or higher sample count.
- Focused graph
- This calculator plots one real-valued function and does not include symbolic solving, derivatives, integrals, inequalities or 3D graphs.
Related calculators
Browse the Math calculators hub for related math tools.
- Scientific Calculator Use a safe scientific calculator for arithmetic, percentages, square roots, powers, logarithms, trigonometry, degrees and radians.
- Basic Calculator Use a simple online calculator for everyday addition, subtraction, multiplication, division, percentages and quick arithmetic.
- Exponent Calculator Raise a base number to a power, including common positive, negative and fractional exponents when the result is safe to show.
- Square Root Calculator Calculate the square root of a non-negative number and see a squared check of the result.
- Pythagorean Theorem Calculator Find a missing side of a right triangle using a² + b² = c².
- Triangle Calculator Calculate area, perimeter and angles from three side lengths using Heron's formula and the law of cosines.
- Percentage Calculator Calculate what X percent of Y is, what percent one number is of another, or the whole amount from a percentage.
FAQs
What is a graphing calculator?
A graphing calculator plots a function on an x-y coordinate grid so you can see the shape of the relationship.
What functions can I graph?
This calculator supports one real-valued function using x, arithmetic, powers, parentheses, square root, absolute value, trig functions, logarithms, pi and e.
Can I use trigonometry?
Yes. It supports sin, cos and tan with a degrees/radians toggle.
What is the difference between degrees and radians?
Degrees and radians are two ways to measure angles. The toggle controls how trig function inputs are interpreted.
Why does my graph have gaps?
Gaps can appear when the function has no value at some x values, such as division by zero, logarithms of non-positive values or tangent discontinuities.
Does this solve equations?
No. It plots the function shape but does not solve equations symbolically.
Can I graph more than one function?
Not in this focused version. It plots one function at a time.
Is this a replacement for a full graphing calculator?
No. It is a lightweight plotting tool for simple functions, not a full symbolic, statistical or 3D graphing suite.