Function Grapher

Plot up to 4 mathematical functions simultaneously. Supports zoom, pan, grid, trace mode and PNG export.

f₁(x) = sin(x)

How It Works

Supported Math

Enter any JavaScript-compatible math expression using x as the variable. All standard math functions are available: sin, cos, sqrt, log, exp, constants PI and E, and more.

Pan & Zoom

Click and drag on the canvas to pan the viewport. Use the scroll wheel to zoom in and out. Alternatively, manually set the X/Y range in the View Range panel or use the Zoom In / Out buttons.

Export

Click Download PNG to save the current graph as a high-quality PNG image. The download captures the exact canvas state including all plotted functions, grid and axis labels.

Function Reference

FunctionDescriptionExample
sin(x)Sinesin(PI/2) = 1
cos(x)Cosinecos(0) = 1
tan(x)Tangenttan(PI/4) = 1
asin(x)Arc sineasin(1) = PI/2
acos(x)Arc cosineacos(1) = 0
atan(x)Arc tangentatan(1) = PI/4
sqrt(x)Square rootsqrt(9) = 3
cbrt(x)Cube rootcbrt(27) = 3
abs(x)Absolute valueabs(-5) = 5
log(x)Natural loglog(E) = 1
log2(x)Log base 2log2(8) = 3
log10(x)Log base 10log10(100) = 2
exp(x)e to the power xexp(1) = E
pow(x, n)x raised to npow(2,3) = 8
ceil(x)Ceilingceil(1.2) = 2
floor(x)Floorfloor(1.9) = 1
round(x)Roundround(1.5) = 2
sign(x)Signsign(-3) = -1
min(a, b)Minimummin(3, 5) = 3
max(a, b)Maximummax(3, 5) = 5
sinh(x)Hyperbolic sinesinh(0) = 0
cosh(x)Hyperbolic cosinecosh(0) = 1
tanh(x)Hyperbolic tangenttanh(0) = 0
hypot(a, b)Hypotenusehypot(3,4) = 5
PIπ constantPI ≈ 3.14159
EEuler numberE ≈ 2.71828