MENU

Function Graph Plotter – Free Online Tool to Visualize Any Equation

Need to visualize a math function but don’t want to download clunky software?

Whether you’re graphing a simple line, a parabola, or a trig function, this free online function graph plotter handles it all. Just type your equation, set your axis range, and hit one button.

No app. No signup. No waiting.

It works right in your browser — on desktop or mobile. Let’s plot something.

Try it now

Function Graph Plotter

Function Graph Plotter (y=f(x))

y =
x Min:
x Max:
y Min:
y Max:

【Input Instructions】

  • Multiplication use *: Example) 2x is 2*x
  • Power use ** or Math.pow(x, n): Example) x2 is x**2
  • Trigonometric functions prefix with Math.: Example) sin(x) is Math.sin(x)
  • Available functions: Math.sin(), Math.cos(), Math.tan(), Math.sqrt(), Math.log(), Math.pow(), Math.abs(), Math.PI, etc.
TOC

How to Use This Tool

Here’s how to graph any function in seconds:

  1. Enter your function in the “y =” field
    • Use * for multiplication (e.g., 2*x not 2x)
    • Use ** for exponents (e.g., x**2 for x²)
    • Use Math.sin(x), Math.cos(x), etc. for trig functions
  2. Set your x and y ranges
    • Default is -10 to 10 for both axes
    • Adjust these to zoom in or out on specific regions
  3. Click “Plot Graph”
    • Your function appears instantly as an interactive graph
  4. Interact with the graph
    • Hover over points to see exact coordinates
    • Use the toolbar to zoom, pan, or save as an image
    • On mobile, pinch to zoom and drag to pan

Example: Plotting a Parabola

Let’s graph y = x² + 2x – 3:

  • Function input: x**2 + 2*x - 3
  • x range: -10 to 10
  • y range: -10 to 10
  • Click: “Plot Graph”

Result: A smooth parabola opening upward, with vertex around (-1, -4) and x-intercepts visible near x = -3 and x = 1.

Understanding the Graph Output

Once you hit “Plot Graph,” you’ll see:

  • Blue curve: Your function plotted across the x range
  • Axis labels: Clearly marked x and y axes with grid lines
  • Hover data: Mouse over any point to see its exact (x, y) coordinates
  • Toolbar (desktop): Zoom, pan, reset view, and download as PNG

If you see an error message, double-check your syntax. Common mistakes include forgetting the * for multiplication or misspelling Math.sin.

How This Graphing Tool Works

This plotter uses JavaScript to evaluate your function at 500 points across the x range, then renders the results using Plotly.js — a professional-grade charting library.

Supported Syntax:

Math OperationHow to Write It
Multiplication2*x
Exponent (power)x**2 or Math.pow(x, 2)
Square rootMath.sqrt(x)
SineMath.sin(x)
CosineMath.cos(x)
TangentMath.tan(x)
Natural logMath.log(x)
Absolute valueMath.abs(x)
Pi constantMath.PI

Example expressions:

  • Quadratic: x**2 - 4
  • Sine wave: Math.sin(x)
  • Exponential decay: Math.exp(-x)
  • Composite: Math.sin(x) * x

The tool skips any undefined values (like division by zero), so you won’t see errors — just gaps in the graph where the function doesn’t exist.

FAQ

Is this graphing tool really free?

Yes — 100% free, no signup required. Use it as many times as you want.

Can I graph multiple functions at once?

This version graphs one function at a time. To compare functions, take screenshots or bookmark your favorite settings.

Why do I get an error when I type “2x” instead of “2*x”?

avaScript requires explicit multiplication. Always use * between numbers and variables.

Does this work on my phone?

Absolutely. The graph is fully responsive. Use touch gestures to zoom and pan.

Tips for Getting the Best Graphs

Adjust your ranges for clarity. If your function has interesting behavior near x = 0, try setting x from -5 to 5 instead of -10 to 10.

Use parentheses liberally. When in doubt, add parentheses to clarify order of operations. (x**2) + (2*x) - 3 is safer than x**2 + 2*x - 3.

Test small before going complex. Start with a simple function like x or x**2 to confirm the tool is working, then build up to more complex expressions.

Bookmark This Tool

Next time you need to visualize an equation, you’ll be glad you saved this page.

Whether you’re checking homework, prepping for a test, or just exploring how functions behave, this graphing tool has you covered.

No download. No hassle. Just math, visualized.

Let's share this post !
TOC