AIWalay Tools

Graphing Calculator

Plot y = f(x) on an interactive graph. Free online graphing calculator supporting trig, powers, logs and adjustable x and y ranges.

About the Graphing Calculator

This free online graphing calculator plots a function y = f(x) on a canvas with labelled axes, so you can see the shape of an equation at a glance. Type an expression using x — polynomials, trig functions, exponentials, logarithms and square roots are all supported — and adjust the x and y range to zoom in or out.

The tool parses your expression, samples it across the visible x range, and draws a smooth curve along with the axes and gridlines. It handles common functions like sin(x), cos(x), tan(x), sqrt(x), log(x), exp(x) and powers written with ^, and it safely skips points where the function is undefined.

Students exploring functions, teachers demonstrating graphs and anyone visualising an equation use this. No expensive hardware calculator required — everything runs in your browser with no signup.

How to Use the Graphing Calculator

  1. 1Type a function of x, for example x^2 - 3 or sin(x).
  2. 2Set the minimum and maximum x values to control the horizontal range.
  3. 3Adjust the y range if the curve runs off the top or bottom.
  4. 4Read the plotted curve on the labelled axes.

Frequently Asked Questions

What functions can I graph?

You can plot polynomials (x^2 - 2x + 1), trigonometric functions (sin(x), cos(x), tan(x)), exponentials (exp(x), 2^x), logarithms (log(x)), roots (sqrt(x)) and combinations of these. Use x as the variable and ^ for powers.

How do I zoom in on a graph?

Narrow the x and y range. To examine the curve near the origin, set x from −2 to 2 and y from −2 to 2; to see overall behaviour, widen both ranges. Adjusting the ranges is the graphing equivalent of zooming.

Why does part of my curve disappear?

The function may be undefined there — for example log(x) has no real value for x ≤ 0, and tan(x) shoots to infinity at odd multiples of 90°. The calculator skips those points rather than drawing a misleading line through them.

How is the graph drawn?

The tool evaluates the function at many closely spaced x values across the visible range and connects the resulting points, producing a curve that looks smooth. More sample points give a smoother line, especially for wiggly functions like sin(x) over a wide range.

Related Tools