Loona Calculators
Loona Calculators › Math › Graphing Calculator

📈 Graphing Calculator

Type a function of x — for example x^2, sin(x), 2x+3 or 1/x — and see its graph instantly. Add a second function to compare, and zoom in or out to explore intercepts, turning points and asymptotes.

Quick answer: A graphing calculator draws y = f(x) by working out y for hundreds of x values across the visible window and joining the points. This one understands x^2, sin(x), cos(x), tan(x), sqrt(x), log(x), fractions and implicit multiplication like 2x.

How to use the Graphing Calculator

  1. Enter the first function, for example x^2 - 4.
  2. Optionally enter a second function to compare in a different color.
  3. Press Plot, then use Zoom In / Zoom Out or Reset View.
  4. Read intercepts and crossings off the grid — each square is 1 unit by default.
Example: Plotting x^2 - 4 gives a parabola crossing the x-axis at x = -2 and x = 2, with its lowest point at (0, -4). Adding the line 2x+3 shows where the curve and the line meet.

Frequently Asked Questions

What expressions can I use?

Numbers, x, + − * / ^ and brackets, plus sin, cos, tan, sqrt, abs, log (base 10), ln, exp and the constants pi and e. Implicit multiplication works too: 2x, 3(x+1) and (x+1)(x-1) are all understood.

Why does the graph of 1/x or tan(x) break in places?

Those functions jump between very large positive and negative values at an asymptote. The plotter detects the jump and lifts the pen instead of drawing a false vertical line.

How do I write x squared or a power?

Use the caret: x^2 means x squared, x^3 cubed, and x^0.5 is the same as sqrt(x). Powers are right-associative, so 2^3^2 is read as 2^(3^2) = 512.

What range does the graph show?

It starts at x from −10 to 10 and y from −10 to 10. Each zoom step multiplies the range by about 0.7 (in) or 1.4 (out).

Related Calculators

%

Percentage Calculator

Math

📊

Statistics Calculator

Math

½

Fraction Calculator

Math

🧮

Equation Solver

Math

🔬

Scientific Calculator

Math

📐

Average Calculator

Math

How it works — the formula

The plotter parses each expression into tokens (numbers, x, operators, functions), inserts implied multiplication signs (2x → 2*x), and evaluates it with a recursive-descent parser that respects the standard order of operations: ^ binds tightest and associates to the right, then * and /, then + and −, with functions and brackets first. It then samples the function at 720 x-positions across the window and connects consecutive finite points, skipping gaps where the function is undefined or jumps across an asymptote.

Worked example

Inputs: f(x) = x^2 − 4.

Steps: At x = 0, y = −4 (the lowest point). At x = 2, y = 4 − 4 = 0, and at x = −2, y = 0 — the two x-intercepts. At x = 3, y = 9 − 4 = 5.

Result: A parabola with vertex (0, −4) crossing the x-axis at −2 and 2, exactly as the graph shows.

Embed this calculator on your website — free

Add this calculator to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the calculator to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.