Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Math & Science
  3. 3D Graphing Calculator
Add to favorites

3D Graphing Calculator

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.

Calculated locally in your browserMore math & scienceJump to full guide

Initializing in your browser…

You might also like

Graphing Calculator

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.

Scientific Calculator

A scientific calculator with exact fractions and decimals, degrees or radians, 34 functions and a desk-calculator mode. Rounded answers are labelled as rounded.

Chemistry Calculator

Molar mass, equation balancing, pH and pOH, molarity, dilution and the ideal gas law, using IUPAC 2021 atomic weights for all 118 elements.

A worked calculation

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
What 3D Graphing Calculator produces

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.

What this calculator does

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.

How it works

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.

Examples

  • A hemisphere with holes

    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.

  • A saddle

    (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.

  • A torus for printing

    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.

How to use

  1. 1Pick a kind of surface: z = f(x, y), Polar, or Parametric.
  2. 2Type your formula, or tap an example such as Saddle, Hemisphere or Torus.
  3. 3Drag to rotate, scroll or pinch to zoom, and right-drag or use two fingers to pan. Press Fit to frame the surface again.
  4. 4Open Ranges, detail and colours to change the input ranges, the z range, the grid detail or the colour scale.
  5. 5Use t in the formula and press Animate t to watch the surface move.
  6. 6Download a PNG picture, an OBJ for modelling software, or an STL for a 3D printer.

Key features

  • Cartesian z = f(x, y), polar z = f(r, theta) and parametric x, y, z in u and v
  • Thirteen ready-made examples, from a ripple and a saddle to a sphere, torus and Mobius strip
  • Real holes where the function is undefined, with a count of defined grid points
  • Optional clipping to a z range that removes points instead of flattening them
  • Orbit, zoom toward the pointer, pan, double-click to centre, fit and spin
  • Hover readout of the coordinates under the pointer
  • Animation through the time variable t
  • Six colour scales, labelled axes and a floor grid
  • Grid detail from 16 by 16 to 256 by 256 points
  • STL export (Z up) and OBJ export (Y up), both right-handed, plus PNG and a shareable link

Tips & best practices

  • If the surface looks cut off, widen the z range or switch Clip to z range off.
  • A higher grid detail makes sharp ridges and holes cleaner, but the STL or OBJ file grows with the square of it.
  • In polar mode theta is in radians, so a full turn is 2 pi, about 6.2832.
  • Leave t out of the formula if you only want a still surface; Animate t then has nothing to change.

When this is useful

  • Multivariable calculus

    See saddle points, maxima and level structure of functions of two variables, and rotate them to understand partial derivatives.

  • Teaching parametric surfaces

    Show how a sphere, torus or Mobius strip comes from three formulas in u and v, and change a coefficient to see the effect.

  • 3D printing mathematical shapes

    Export a surface as STL, give it thickness in a slicer or modelling program, and print a physical model.

  • Checking a formula before using it

    Spot where a function blows up or is undefined before you put it into a simulation or a spreadsheet.

Frequently asked questions

What can I type in the formula?

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.

Why does my surface have holes?

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.

Which way up are the exported files?

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.

Can I 3D print any surface?

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.

How do I make the plot smoother?

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.

How do polar and parametric ranges work?

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.

Does it work on a phone?

Yes. Drag with one finger to rotate, pinch to zoom and use two fingers to pan. Examples, exports and settings all work by touch.

Related tools and how they differ

  • Graphing Calculator: Use it for curves of one variable, y = f(x), with roots, turning points and integrals listed.
  • 3D Model Viewer: Use it to open an STL or OBJ file you exported here and inspect it before printing.
  • Geometry Tool: Use it for the exact volume and surface area of standard solids such as spheres, cones and tori.

Private by design

Every calculation runs locally in your browser. Your numbers and expressions are not transmitted or stored.