Simplify Your Workflow: Search MiniWebtool.
Add Extension
> 3D Surface Plotter

3D Surface Plotter

Plot interactive 3D surfaces z = f(x, y) with mouse-driven rotation, zoom and pan. Adjust x/y domain, mesh resolution, six color maps, wireframe overlay and lighting. Explore saddle points, Gaussian bumps, ripples, monkey saddles, hyperbolic paraboloids and the famous Mexican-hat sinc surface — all in your browser, no plugin required.

3D Surface Plotter
Try a surface:
z =
After plotting, drag inside the viewport to rotate, scroll or pinch to zoom. PNG export captures whatever angle you've set.

Embed 3D Surface Plotter Widget

ā— 3D surface ready
Saddle surface Domain [-3, 3] Ā· Medium — 50 Ɨ 50 grid (balanced) Ā· z ∈ [-8.9963, 8.9963]
z = x**2 - y**2
Vertices2500
Triangles4802
Min z-8.9963
Max z8.9963
PaletteCool-warmdiverging (saddle ideal)
View:
Drag to rotate Ā· Scroll to zoom Ā· Right-drag to pan
yaw 30° · pitch 25°
-8.9963 8.9963
Surface equation — \( z = f(x, y) \) sampled across an \(50 \times 50\) grid on domain \( x, y \in [-3.0, 3.0] \), producing 4802 shaded triangles. Heights are mapped to color via the Cool-warmdiverging (saddle ideal) palette, with a Lambertian light from the upper right. Drag inside the viewport to spin the surface in real time.
📲

Install MiniWebtool App

Add to your home screen for instant access — free, fast, no download needed.

           

Want faster & ad-free?

About 3D Surface Plotter

The 3D Surface Plotter draws any function of two variables \( z = f(x, y) \) as a fully interactive 3D landscape directly in your browser. Drag inside the viewport to rotate the surface, scroll or pinch to zoom, and right-drag (or two-finger pan on mobile) to slide the view. Type your own function with full sin, cos, exp, log, sqrt support, the constants \( \pi \) and \( e \), and natural conveniences like x^2 or 2xy — or click one of ten presets for an instant render of the classic saddle, paraboloid, Mexican-hat sinc, monkey saddle, egg-crate, Gaussian bump and more. Choose between isometric and perspective projection, six perceptual color maps, and three wireframe styles, then export the current view as a high-resolution PNG.

How 3D Surface Plotting Works

A surface plot turns a two-variable function into a tangible landscape. At every point \( (x, y) \) in the input plane, the value \( z = f(x, y) \) becomes the height of the surface above (or below) that point. The plotter samples a regular grid of \( (x, y) \) pairs — typically 30 to 90 points per side — evaluates \( f \) at each, and connects each cell of the grid into two coloured triangles.

The rendering uses three classic graphics-pipeline steps. Project every 3D vertex \( (x, y, z) \) into 2D screen space using your current rotation and zoom. Sort the triangles back-to-front by depth (the painter's algorithm). Shade each face by combining its height-mapped color with a Lambertian dot product against a fixed light direction. Spin the surface and the lighting follows the camera, which is what gives the figure its hand-modelled feel.

A Gallery of Classic Surfaces

What Makes This 3D Plotter Different

True interactive 3D Most online plotters give you a fixed isometric snapshot. Here you drag, scroll and pinch to look at the surface from every angle in real time. The lighting follows the camera, so you immediately feel the shape rather than guessing at it from a static image.
Ten one-click presets Saddle, paraboloid, ripples, Mexican-hat sinc, Gaussian, monkey saddle, egg-crate, hyperbolic paraboloid, cone, twist — the classic surfaces from multivariable calculus, computer graphics and physics all in a single click. Use them as is or tweak the function field to learn by experimentation.
Six perceptual color maps Viridis and plasma are the perceptually-uniform palettes recommended for scientific visualisation. Cool-warm is a diverging palette that highlights positive vs negative regions — ideal for saddles. Terrain mimics topographic shading. Ocean and grayscale round out the set for print, slides and embroidery.
Smart expression parser Type math the way you write it: 2xy, x^2 - y^2, sin(x)cos(y). Implicit multiplication, caret powers and Unicode π are all converted automatically. Server-side AST whitelisting means user input can never touch unsafe Python globals.
Camera presets & auto-spin One-click jumps to isometric, top-down, front and side views — the same options professional 3D apps offer. Press Auto-spin for a hands-free rotating turntable, great for screen recordings or lecture demos.
Phone friendly One-finger drag rotates, two-finger pinch zooms, all at 60 fps even on mid-range phones at low resolution. The form layout collapses to a single column on narrow screens, and the touch overlay hint disappears once you start interacting.

Expression Syntax — Quick Reference

What you typeMeaningExample
x, yThe two input variablesz = x + y
pi or Ļ€The constant Ļ€ ā‰ˆ 3.14159z = sin(pi*x)
eEuler's number ā‰ˆ 2.71828z = exp(-x**2-y**2)
sin, cos, tanTrig functions (radians)z = sin(x)*cos(y)
asin, acos, atan, atan2Inverse trigz = atan2(y, x)
exp, log, log2, log10Exponential & logarithmsz = log(x**2 + y**2 + 1)
sqrt, abs, floor, ceilPower & roundingz = sqrt(abs(x*y))
^ or **Exponentiationz = x^3 - 3*x*y^2
Implicit *Number-to-letter inserts Ɨ2xy → 2*x*y

Reading a 3D Surface

A surface plot encodes huge amounts of information in shape and color together. A few patterns become recognisable with practice:

  • Critical points are where the surface has a horizontal tangent plane — local maxima look like dome tops, local minima like bowl bottoms, and saddle points bend up in one direction and down in the perpendicular direction. Click the Saddle preset and rotate the view: along one axis it's a smile, along the other it's a frown.
  • Level curves (contour lines) appear naturally when the color map is divergent or terrain-style — bands of the same color trace out lines of constant \( z \).
  • Gradient direction is the steepest uphill direction at each point. Visually, that's the direction perpendicular to the level curves, pointing toward warmer colors.
  • Symmetry is obvious in 3D: \( z = x^2 + y^2 \) is rotationally symmetric (a bowl), \( z = x^2 - y^2 \) has only mirror symmetries (a saddle), and \( z = x^3 - 3xy^2 \) has a beautiful three-fold rotation symmetry (monkey saddle).

From Saddle to Sinc: One-Click Tour

The preset gallery is a guided tour through the most-taught multivariable surfaces. A suggested sequence for first-time viewers:

  1. Paraboloid \( z = x^2 + y^2 \) — the friendliest 3D surface. A bowl, rotationally symmetric, with a single minimum at the origin.
  2. Saddle \( z = x^2 - y^2 \) — the iconic Pringle. Try cool-warm color map to see the positive/negative split immediately.
  3. Hyperbolic paraboloid \( z = xy \) — a saddle rotated 45°. Same shape, different orientation.
  4. Monkey saddle \( z = x^3 - 3xy^2 \) — three slopes around the origin instead of two. Named because a monkey would need to rest its tail there too.
  5. Gaussian \( z = e^{-(x^2+y^2)} \) — the bell curve in 2D. Foundation of statistics, signal processing and physics.
  6. Mexican-hat sinc \( z = \sin\sqrt{x^2+y^2}/\sqrt{x^2+y^2} \) — the radial sinc. Appears in Fourier optics, diffraction patterns, and the wavelet that bears its name.
  7. Egg crate \( z = \sin x \sin y \) — periodic in two directions. Toggle wireframe on to see the grid lines align with the bumps.
  8. Ripples \( z = \sin\sqrt{x^2+y^2} \) — concentric waves spreading from the origin. Try the wide āˆ’8 to 8 domain.

Real-World Uses

  • Multivariable calculus: visualise partial derivatives, gradients, critical points, and Lagrange multipliers without redrawing by hand each time.
  • Physics: potential energy surfaces, electromagnetic field intensities, fluid pressure distributions and quantum wave functions all live as \( z = f(x, y) \).
  • Machine learning: loss landscapes around a 2D weight subspace help build intuition for why gradient descent works (and why saddles are a problem).
  • Computer graphics: heightmaps for terrain are exactly this — a function \( h(x, y) \) sampled on a regular grid then triangulated.
  • Civil engineering: elevation models for terrain analysis, dam catchments and earthworks volume estimation.
  • Data visualisation: any quantity that depends on two independent variables — temperature across a country, sales by region and month, fitness across two hyperparameters — naturally renders as a surface.

Tips for Beautiful Plots

  • Match the domain to the function. Polynomials are usually shown on āˆ’3 to 3. Oscillating functions like sinc need a wide domain (āˆ’8 to 8) to reveal the ripples. Use āˆ’1 to 1 to zoom into a single saddle near the origin.
  • Pick the right color map. Use cool-warm for any surface with positive and negative regions — the white midpoint marks the zero level instantly. Use viridis or plasma for non-negative surfaces. Use terrain for landscape-style heightmaps.
  • Turn wireframe off for portfolio renders. Subtle wireframe is great for teaching ("see the mesh"). For publication-quality figures, set wireframe to Off and increase resolution to High or Ultra.
  • Auto-spin captures rich animations. Hit Auto-spin then start a screen recording — perfect for embedding a rotating surface into slides without manual orchestration.
  • Domains too large can flatten the surface. If your function returns huge values near the edges, the interior detail collapses. Either shrink the domain or scale the function (e.g. \( z / 100 \)) to bring the action back into view.

Frequently Asked Questions

What is a 3D surface plot?

A 3D surface plot visualises a function of two variables z = f(x, y) as a mountainous landscape over the (x, y) plane. The height at each point (x, y) is the function value z. The plotter samples a grid of (x, y) pairs, evaluates f at each point, and connects neighbouring samples into a triangulated mesh that you can rotate, zoom and re-color interactively.

What functions can I plot?

Any expression in x and y using the standard math functions: sin, cos, tan, asin, acos, atan, atan2, sinh, cosh, tanh, exp, log, log2, log10, sqrt, abs, floor, ceil, pow, min, max — plus the constants pi, e and tau. Trig is in radians. Implicit multiplication (2x → 2*x), the caret ^ for powers, and Unicode Ļ€ are all handled automatically.

How do I rotate, zoom and pan?

Click and drag inside the viewport with the left mouse button to rotate the surface around its centre (yaw and pitch). Scroll the wheel to zoom in and out. Right-click and drag (or two-finger pan on touch) to slide the view. Tap the camera-preset buttons above the viewport to jump to standard isometric, top, front or side views.

What does the color represent?

By default, the color of each face encodes its z height — low points use the cool end of the palette, high points use the warm end. For diverging palettes like cool-warm the midpoint is exactly z = 0, which makes saddles especially readable. Lambertian lighting also darkens faces that point away from the light, so the surface looks three-dimensional.

Does this work on mobile?

Yes. The viewport supports one-finger drag to rotate and two-finger pinch to zoom. Pick the Low resolution (30Ɨ30) for the smoothest interaction on phones — that still gives a clearly shaped surface. Medium and High are recommended for laptops and desktops.

Why does my function look spiky or wrong?

Most often the domain is too small (so the function is essentially flat) or too large (so values explode and only the extremes are visible). Try a narrower range like āˆ’2 to 2 for polynomials, or wider like āˆ’8 to 8 for oscillating sinc and ripple functions. Singularities (like 1/x) get clipped automatically — but the surface around them may still pull the color range. Add a small constant in the denominator (e.g. 1/(x²+y²+0.1)) to tame them.

Can I plot implicit surfaces or vector fields?

This plotter handles explicit surfaces z = f(x, y) — one z value per (x, y) input. Implicit surfaces F(x, y, z) = 0 (like a sphere x²+y²+z²=1) and parametric surfaces require a marching-cubes or parametric grapher and are outside the scope of this tool. For vector fields and slope fields, see the related slope-field plotter.

How do I save my plot?

Click the PNG button in the viewport toolbar to download the current view as a high-resolution PNG. The file captures whatever rotation, zoom and color map you have set — so spin the surface to your favourite angle first, then export. The image is rendered at your device pixel ratio for crisp slides.

Is this 3D surface plotter free?

Yes. The 3D Surface Plotter is free, runs entirely in your browser after the form submit, requires no signup and produces watermark-free exports. Use the plots in homework, papers, slides, blog posts and commercial projects without restriction.

Reference this content, page, or tool as:

"3D Surface Plotter" at https://MiniWebtool.com// from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: 2026-05-21

You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.

Top & Updated:

Random PickerRandom Name PickerLine CounterBatting Average CalculatorFPS ConverterRelative Standard Deviation CalculatorSort NumbersInstagram User ID LookupMAC Address GeneratorRemove SpacesERA CalculatorJob FinderWord to Phone Number ConverterFeet and Inches to Cm ConverterMAC Address LookupFacebook User ID LookupRandom Truth or Dare GeneratorSum CalculatorOPS CalculatorPercent Off CalculatorSquare Root (√) CalculatorLog Base 10 CalculatorSHA256 Hash GeneratorBitwise CalculatorNumber of Digits CalculatorPhone Number ExtractorImage ResizerVertical Jump CalculatorSlope and Grade CalculatorMP3 LooperOn Base Percentage CalculatorSalary Conversion CalculatorAudio SplitterRoman Numerals ConverterRandom IMEI GeneratorRandom Letter GeneratorRandom Quote GeneratorSlugging Percentage CalculatorNumber to Word ConverterAI Text HumanizerRandom Poker Hand GeneratorCaffeine Overdose CalculatorRandom Loadout GeneratorRandom Activity GeneratorSun, Moon & Rising Sign Calculator šŸŒžšŸŒ™āœØDecimal to BCD ConverterRandom Movie PickerMerge VideosSaturn Return CalculatorCm to Feet and Inches ConverterBCD to Decimal ConverterRandom Fake Address GeneratorWAR CalculatorText FormatterVideo to Image ExtractorBinary to Gray Code ConverterCompound Growth CalculatorOctal CalculatorInvisible Text GeneratorTime Duration CalculatorRandom Writing Prompt GeneratorFile Size ConverterLove Compatibility CalculatorRandom Credit Card GeneratorFirst n Digits of PiMaster Number CalculatorWHIP CalculatorQuotient and Remainder CalculatorGrade Calculator⬛ Aspect Ratio CalculatorSteel Weight CalculatorRandom Time GeneratorAdd Prefix and Suffix to TextImage CompressorRemove AccentCompare Two StringsRandom Sound Frequency GeneratorYouTube Channel StatisticsDay of Year CalendarPercent Growth Rate CalculatorWord Ladder GeneratorRandom Superpower GeneratorRandom Object GeneratorBaby Growth Percentile CalculatorOutlier CalculatorCM to Inches ConverterClothing Size ConverterName Number CalculatorBreak Line by CharactersAdd Text to ImageGray Code to Binary ConverterBattery Life CalculatorRandom Number PickerRandom Birthday GeneratorSHA512 Hash GeneratorLeap Years ListIP Subnet CalculatorArc Length CalculatorSum of Positive Integers CalculatorEmail ExtractorURL ExtractorAI ParaphraserAI Punctuation AdderList of Prime NumbersDay of the Year Calculator - What Day of the Year Is It Today?Video CompressorBinary to BCD ConverterIP Address to Hex ConverterSort Lines AlphabeticallyHex to BCD ConverterBCD to Binary ConverterLottery Number GeneratorBCD to Hex ConverterMedian CalculatorStandard Error CalculatorList RandomizerAverage CalculatorModulo CalculatorPVIFA CalculatorReverse VideoHypotenuse CalculatorRemove Audio from VideoActual Cash Value CalculatorScientific Notation to Decimal ConverterNumber ExtractorAngel Number CalculatorLog Base 2 CalculatorRoot Mean Square CalculatorSHA3-256 Hash GeneratorAI Sentence ExpanderšŸ“… Date CalculatorLbs to Kg ConverterHex to Decimal ConverterRandom Group GeneratorConvolution CalculatorMAC Address AnalyzerRandom String GeneratorRemove Leading Trailing SpacesAmortization CalculatorMarkup CalculatorPVIF CalculatorDecimal to Hex ConverterInstagram Font GeneratorSocial Media Image Size GuideTikTok Money CalculatorTwitter/X Character CounterTwitter/X Timestamp ConverterYouTube Watch Time CalculatorTwitch Earnings CalculatorYouTube Shorts Monetization CalculatorFacebook Ad Cost CalculatorSocial Media ROI CalculatorSocial Media Post Time OptimizerSocial Media Username CheckerCTR CalculatorROAS CalculatorInfluencer ROI CalculatorForce CalculatorAcceleration CalculatorVelocity CalculatorMomentum CalculatorProjectile Motion CalculatorKinetic Energy CalculatorPotential Energy CalculatorWork and Power CalculatorDensity CalculatorPressure CalculatorIdeal Gas Law CalculatorFree Fall CalculatorTorque CalculatorHorsepower CalculatorDilution CalculatorChemical Equation BalancerStoichiometry CalculatorPercent Yield CalculatorEmpirical Formula CalculatorBoiling Point CalculatorTitration CalculatorMole/Gram/Particle ConverterIrregular Polygon Area CalculatorFrustum CalculatorTorus Calculator3D Distance CalculatorGreat Circle Distance CalculatorCircumscribed Circle (Circumcircle) CalculatorInscribed Circle (Incircle) CalculatorAngle Bisector CalculatorTangent Line to Circle CalculatorHeron's Formula CalculatorCoordinate Geometry Distance CalculatorVolume of Revolution CalculatorSurface of Revolution CalculatorParametric Curve GrapherRiemann Sum CalculatorTrapezoidal Rule CalculatorSimpson's Rule CalculatorImproper Integral CalculatorL'HĆ“pital's Rule CalculatorMaclaurin Series CalculatorPower Series CalculatorSeries Convergence Test CalculatorInfinite Series Sum CalculatorAverage Rate of Change CalculatorInstantaneous Rate of Change CalculatorRelated Rates SolverOptimization Calculator (Calculus)Gradient Calculator (Multivariable)Divergence CalculatorCurl CalculatorLine Integral CalculatorSurface Integral CalculatorJacobian Matrix CalculatorNewton's Method CalculatorRREF Calculator (Row Echelon Form)Matrix Inverse CalculatorMatrix Multiplication CalculatorDot Product CalculatorCross Product CalculatorVector Magnitude CalculatorUnit Vector CalculatorAngle Between Vectors CalculatorNull Space CalculatorColumn Space CalculatorCramer's Rule CalculatorMatrix Diagonalization CalculatorQR Decomposition CalculatorCholesky Decomposition CalculatorMatrix Power CalculatorCharacteristic Polynomial CalculatorBayes' Theorem CalculatorF-Test / F-Distribution CalculatorHypergeometric Distribution CalculatorNegative Binomial Distribution CalculatorGeometric Distribution CalculatorExponential Distribution CalculatorWeibull Distribution CalculatorBeta Distribution CalculatorSpearman Rank Correlation CalculatorFisher's Exact Test CalculatorContingency Table CalculatorOdds Ratio CalculatorRelative Risk CalculatorEffect Size CalculatorPermutations with Repetition CalculatorModular Exponentiation CalculatorPrimitive Root CalculatorPerfect Number CheckerAmicable Number CheckerTwin Prime FinderMersenne Prime CheckerGoldbach Conjecture VerifierMƶbius Function CalculatorEgyptian Fraction CalculatorFibonacci Number CheckerDigital Root CalculatorPartition Function CalculatorBoolean Algebra SimplifierKarnaugh Map (K-Map) SolverLogic Gate SimulatorGraph Coloring CalculatorTopological Sort CalculatorAdjacency Matrix CalculatorRecurrence Relation SolverInclusion-Exclusion CalculatorLinear Programming SolverTraveling Salesman Solver (TSP)Hamiltonian Path CheckerPlanar Graph CheckerNetwork Flow Calculator (Max Flow)Stable Marriage Problem SolverFirst-Order ODE SolverSecond-Order ODE SolverDirection Field / Slope Field PlotterEuler's Method CalculatorBernoulli ODE SolverSystem of ODEs SolverGroup Theory Order CalculatorRing and Field CalculatorJordan Normal Form CalculatorMatrix Exponential CalculatorTensor Product CalculatorFast Fourier Transform (FFT) CalculatorZ-Transform CalculatorNumerical Integration CalculatorTOML to JSON ConverterJSON to CSV ConverterXML to JSON ConverterSQL to MongoDB Query ConverterCSS Flexbox PlaygroundCSS Grid GeneratorJWT GeneratorBcrypt Hash Generator / CheckerColor Code Converter (All Formats)Git Command Generator.env File GeneratorLorem Picsum / Placeholder Image GeneratorText to Binary/Hex/ASCII ConverterSyllable CounterSentence CounterParagraph CounterSpeaking Time CalculatorReading Time CalculatorWhitespace VisualizerStrikethrough Text GeneratorTorque Converter (Nm, ft-lb, kgf-cm)Data Transfer Rate ConverterFuel Efficiency ConverterAstronomical Unit ConverterRing Size ConverterPaper Size ReferenceGas Mileage CalculatorEV Range CalculatorEV Charging Time Calculator0–60 / Quarter Mile CalculatorCar Lease CalculatorVehicle Towing Capacity CalculatorExposure Triangle CalculatorCrop Factor CalculatorMegapixel to Print Size CalculatorPhoto File Size EstimatorMusic BPM TapperMusic Key TransposerVideo Bitrate CalculatorSeed Germination Rate CalculatorFertilizer Calculator (NPK)Raised Bed Soil CalculatorFrost Date CalculatorLawn Fertilizer CalculatorCompost Calculator (C:N Ratio)Solar Panel CalculatorSolar ROI CalculatorHome Energy Audit CalculatorAppliance Energy Cost CalculatorWater Usage CalculatorElectricity Generation Cost CalculatorHeat Loss CalculatorFlight Distance CalculatorTravel Budget CalculatorJet Lag CalculatorPacking List GeneratorTip Splitter (Advanced)Lease vs Buy CalculatorHourly Rate Calculator (Freelancer)Invoice Late Fee CalculatorESPP CalculatorStock Split CalculatorOptions Probability CalculatorDollar to Gold ConverterBeam Load CalculatorPipe Flow CalculatorBolt Torque CalculatorGravel, Sand & Topsoil CalculatorRandom Sentence GeneratorRandom Paragraph GeneratorRandom Math Problem GeneratorRandom Bible Verse GeneratorRandom Cat/Dog Name GeneratorRandom Debate Topic GeneratorBody Recomposition CalculatorAlcohol Calorie CalculatorMedication Dosage CalculatorPace to Calories CalculatorHydration CalculatorTrain Meeting Problem SolverAge Word Problem SolverMixture Problem SolverWork Rate Problem SolverDistance-Speed-Time Triangle CalculatorCoin Word Problem SolverNumber Bonds GeneratorCarry and Borrow VisualizerTimes Tables QuizMental Math TrainerRoman Numeral Math SolverEgyptian Multiplication CalculatorVedic Math Tricks CalculatorRussian Peasant MultiplicationSoroban Abacus SimulatorAnnuity Payout CalculatorReverse Mortgage CalculatorVariable Annuity CalculatorFixed Indexed Annuity CalculatorBond Convexity CalculatorBond Duration Calculator (Macaulay & Modified)Forward Rate CalculatorMortgage Recast CalculatorTreasury Inflation-Protected Securities (TIPS) CalculatorStock Beta CalculatorTreynor Ratio CalculatorSortino Ratio CalculatorDoppler Effect CalculatorSpring Constant CalculatorPendulum Period CalculatorCentripetal Force CalculatorAngular Velocity CalculatorMoment of Inertia CalculatorSnell's Law CalculatorCoulomb's Law CalculatorElectric Field CalculatorMagnetic Field of Wire CalculatorLens Equation CalculatorA/B Test Significance CalculatorA/B Test Sample Size CalculatorConversion Rate CalculatorCustomer Lifetime Value (CLV) CalculatorCustomer Acquisition Cost (CAC) CalculatorChurn Rate CalculatorRetention Rate Cohort CalculatorNPS (Net Promoter Score) CalculatorPareto Chart GeneratorSix Sigma Process Capability CalculatorTessellation GeneratorSpirograph GeneratorVoronoi Diagram GeneratorDelaunay Triangulation GeneratorL-System Fractal GeneratorMandelbrot Set ExplorerJulia Set GeneratorPolar Equation Plotter3D Surface PlotterSierpinski Triangle GeneratorcURL Command BuilderHTTP Status Code Reference
×

Do us a favor and answer 3 quick questions

Thank you for participating in our survey. Your input will help us to improve our services.

Where exactly did you first hear about us?

What is your favorite tool on our site?

if Other, please specify:

How likely is it that you would recommend this tool to a friend?

NOT AT ALL LIKELYEXTREMELY LIKELY

Likely score: (1-10)