Plot 3D surfaces from z = f(x, y), polar z = f(r, theta) or parametric formulas, rotate them by mouse or touch, and export STL or OBJ for 3D printing.
Initializing in your browser…
Plot up to eight functions of x, find their roots, turning points and intersections, shade integrals and draw derivatives. Pan, zoom and share any graph.
A scientific calculator with exact fractions and decimals, degrees or radians, 34 functions and a desk-calculator mode. Rounded answers are labelled as rounded.
Molar mass, equation balancing, pH and pOH, molarity, dilution and the ideal gas law, using IUPAC 2021 atomic weights for all 118 elements.
You want to see the upper half of a sphere of radius 3 and check how much of a square grid it actually covers.
Surface
z = sqrt(9 - x^2 - y^2) x and y from -5 to 5, z from 0 to 3, 96 x 96 grid
Readout under the plot
Points defined: 2,536 / 9,216 Triangles: 4,880 Height drawn: 0.14 to 3.00 6,680 grid points have no value or fall outside the z range
Outside the circle x^2 + y^2 = 9 the square root has no real value, so 6,680 of the 9,216 grid points are left out and the dome ends at its rim instead of sitting on a flat square. The lowest point drawn is 0.14 rather than 0 because no grid point falls exactly on the circle. The largest height, 3.00, is at the centre, as expected for radius 3.
Plot a surface in three dimensions from a formula and turn it with your mouse or finger. Enter z = f(x, y), a polar surface z = f(r, theta), or a fully parametric shape in u and v, then export it as an OBJ or STL file for 3D printing.
Three ways to describe a surface. The default mode draws a height above every point of a rectangle, z = f(x, y), which covers saddles, ripples, Gaussian bumps and most textbook examples of functions of two variables. Polar mode sweeps z = f(r, theta) around the centre, which suits anything with circular symmetry, such as a cone (z = r) or a three-petal rose. Parametric mode takes three expressions, x(u, v), y(u, v) and z(u, v), and can draw shapes that are not functions at all: a sphere, a torus, a Mobius strip or a helicoid. Thirteen examples load a working surface with sensible ranges in one tap.
What the picture means. The surface is coloured by height using one of six colour scales, with axes labelled x, y and z and a floor grid for scale. Hover the surface with a mouse to read the coordinates under the pointer (r, theta and z in polar mode). Where a function has no real value, such as sqrt(9 - x^2 - y^2) outside the circle of radius 3, the mesh has a hole rather than a flat floor at zero, and the line under the plot counts how many grid points are defined. With Clip to z range on, points above or below the range are removed in the same way rather than squashed onto it, so a steep surface shows an opening instead of a fake plateau.
Getting around. Drag to rotate, scroll or pinch to zoom toward the point under the pointer, and right-drag, Shift-drag or use two fingers to pan. Double-click a feature to centre the view on it, press Fit to frame the whole surface again, or Spin to turn it slowly. With the plot focused, the arrow keys pan. Add t to an expression, for example sin(sqrt(x^2 + y^2) - 2t), and Animate t runs time forward at one unit per second.
Exporting for 3D printing and modelling. STL is written Z up, the orientation slicers expect, so a surface lands flat on the build plate. OBJ is written Y up, the orientation Blender, Maya and most modelling software assume on import. Both contain exactly the triangles you see, holes included, and both are right-handed, so a helix keeps its twist. PNG saves a picture of the current view.
Detail and accuracy. Expressions are read by a full maths parser with the usual functions (sin, cos, exp, log for the natural logarithm, sqrt, abs, atan2, min, max and more), compiled once and evaluated at every grid point. The default grid is 96 by 96, or 9,216 points; under Ranges, detail and colours you can go from 16 by 16 up to 256 by 256. A finer grid shows sharp features better and makes larger export files. The whole setup, including ranges and colours, is kept in the page address, so Share gives a link to the same surface. Everything runs in your browser.
sqrt(9 - x^2 - y^2) over -5 to 5 defines only 2,536 of the 9,216 grid points, the ones inside the circle of radius 3, so the mesh ends at the rim of the dome.
(x^2 - y^2) / 4 rises along the x axis and falls along the y axis, with a saddle point at the origin. The same shape is a classic example of a point that is neither a maximum nor a minimum.
The Torus example in parametric mode is a closed surface, so unlike an open height field it needs no added thickness before it goes to a slicer.
See saddle points, maxima and level structure of functions of two variables, and rotate them to understand partial derivatives.
Show how a sphere, torus or Mobius strip comes from three formulas in u and v, and change a coefficient to see the effect.
Export a surface as STL, give it thickness in a slicer or modelling program, and print a physical model.
Spot where a function blows up or is undefined before you put it into a simulation or a spreadsheet.
Numbers, the variables for your mode (x and y, r and theta, or u and v), t for time, pi and e, the operators + - * / ^ and functions such as sqrt, abs, exp, log (natural logarithm), log10, sin, cos, tan, atan2, sinh, floor, round, min and max. Implicit multiplication such as 2x or 3(x + y) works. If something cannot be read, the message says what and where.
Because the formula has no real value at those grid points, for example the square root of a negative number, or because the value falls outside the z range while clipping is on. Drawing those points at zero would add a flat sheet that is not part of the surface, so they are left out and counted under the plot.
STL files are written with z up, which is what slicers such as Cura and PrusaSlicer expect, so the model sits on the build plate the way it looks on screen. OBJ files are written with y up, which Blender and most modelling programs convert automatically on import. Both keep the surface right-handed, so nothing is mirrored.
A closed parametric surface such as the sphere or torus can usually go to a slicer as exported; if the slicer reports open edges along the seam, its repair option will join them. An open surface like z = f(x, y) has no thickness, so a slicer will treat it as an infinitely thin sheet. Add thickness with a solidify or shell tool in your modelling software first.
Raise the grid detail under Ranges, detail and colours. The default is 96 by 96 points; 256 by 256 gives more than 65,000 points and much finer triangles, at the cost of speed on older devices and larger export files.
In polar mode the first range is the radius r and the second is the angle theta in radians. In parametric mode the two ranges are for u and v, the surface's own coordinates, and the z range only clips the height. Switching modes loads ranges that suit that mode.
Yes. Drag with one finger to rotate, pinch to zoom and use two fingers to pan. Examples, exports and settings all work by touch.
Every calculation runs locally in your browser. Your numbers and expressions are not transmitted or stored.