Calculus IIIFree forever · No sign-up

Triple Integral Calculatorwith Steps & 3D Visualizer

Evaluate ∭ f(x, y, z) dV over any 3D region in Cartesian, cylindrical or spherical coordinates. Type the integrand and the integration limits. The calculator returns the exact or numerical value, the step-by-step solution and a 3D graph of the region.

See it in 3D
  • Runs entirely in your browser
  • Jacobian applied automatically
  • All 6 orders of integration
3
coordinate systems
10−12
typical precision
100%
exact for polynomials
Triple integral engine
f =

Outerx
to

constants only

Middley
to

may depend on x

Innerz
to

may depend on x and y

Preview
—Full solution ↓

Results

Your answer, in 3D and step by step

The region is drawn from your limits. Press play to watch the integral add up: an inner column, a middle slice, then the outer sweep.

Interactive diagram

Region of integration

Inner dz columnMiddle dy sliceOuter dx sweep
Drag to rotate · scroll to zoom · double-click to reset
x—
accumulated—
slice value—

Area under this curve = the triple integral

Result

=

Step-by-step solution

—

    Step by step

    How to Use the Triple Integral Calculator

    To use the triple integral calculator, follow these 7 steps. A full calculation takes under a minute, and the answer updates as you type.

    1. 1

      Choose the coordinate system

      Pick Cartesian (x, y, z), Cylindrical (r, θ, z) or Spherical (ρ, θ, φ). Choose the system that gives the region the simplest bounds.

    2. 2

      Type the integrand

      Enter f in the f = box, for example x*y + z^2 or exp(-x) sin(y). Type 1 to compute a volume.

    3. 3

      Pick the order of integration

      The Order list holds all 6 orders, written inner to outer. dz dy dx means z is integrated first and x last.

    4. 4

      Enter the outer limits

      Outer limits are numbers, such as 0 to 2pi or -1 to 1.

    5. 5

      Enter the middle limits

      Middle limits may use the outer variable, for example y from 0 to 1 - x.

    6. 6

      Enter the inner limits

      Inner limits may use both outer variables, for example z from x^2 + y^2 to 4. The hint under each row lists the variables that row may use.

    7. 7

      Calculate and read the result

      Press Calculate integral or Enter. Read the exact value and the decimal, open the step-by-step solution, and press Animate integration to watch the region fill column by column.

    iThe preview box turns red and names the problem when a limit uses a variable it cannot use, for example a middle limit that contains the inner variable.

    Definition

    What Is a Triple Integral?

    A triple integral is the integral of a function of three variables, f(x, y, z), over a solid region E in space. It multiplies the value of f at each point by a tiny volume dV and adds the products across the whole region.

    The definition splits E into n small boxes. Each box adds f at one sample point times its volume ΔV. The sum approaches the triple integral as the boxes shrink. The explorer beside this text shows the sum closing in on the exact value.

    The notation has 3 parts:

    • f(x, y, z), the integrand: the quantity measured at each point of the solid.
    • E, the region of integration: the solid the sum runs over.
    • dV, the volume element: one tiny piece of E, written dx dy dz in Cartesian coordinates.

    A triple integral gives the signed net total, if f changes sign inside E: the positive and negative parts cancel.

    Riemann sum explorer: f = x² + y² + z² over the unit cube
    boxes64
    ΔV0.015625
    Riemann sum0.984375
    error0.015625

    Exact value: 1. The midpoint sum equals 1 − 1/(4n²), so the error falls by a factor of 4 each time n doubles.

    Single, double and triple integrals side by side

    Double and triple integrals extend the single definite integral to 2 and 3 dimensions. Each one adds an extra variable and an extra layer of integration.

    Single definite integralA double integralA triple integral
    Notation
    Domaininterval [a, b]plane region Dsolid region E
    Elementlength dxarea dAvolume dV
    With f = 1length of [a, b]area of Dvolume of E
    Nested integrals123

    How a triple integral is evaluated

    A triple integral is evaluated as 3 nested single integrals, inner first. Each one adds up the result of the one before it.

    1. Inner integral: a columnHold the two outer variables fixed and add f along one line through the solid.
    2. Middle integral: a sliceAdd the columns side by side into one flat cross-section of the solid.
    3. Outer integral: the solidSweep the slice across the outer interval. The total is ∭ f dV.

    Coordinate systems

    Triple Integrals in Different Coordinate Systems

    Triple integrals use 3 main coordinate systems: Cartesian, cylindrical and spherical. Each system describes the same solid with different variables, and each one changes the volume element dV by a factor called the Jacobian determinant.

    Cartesian

    (x, y, z)

    Use Cartesian coordinates for boxes, tetrahedra, prisms and any region that lies between two graphs z = h₁(x, y) and z = h₂(x, y).

    Cylindrical

    (r, θ, z)

    Use cylindrical coordinates for regions with circular symmetry around the z-axis: cylinders, cones, paraboloids and pipes.

    Spherical

    (ρ, θ, φ)

    Use spherical coordinates for balls, shells and cones that start at the origin. φ is the angle down from the positive z-axis.

    SystemConversion to x, y, zTypical bounds
    Cartesiannone
    Cylindrical
    Spherical

    Where the extra r comes from

    The Jacobian determinant measures how much a small box in the new variables stretches when it maps to x, y, z. For cylindrical coordinates the determinant equals r. A ring at radius r = 2 has twice the circumference of a ring at r = 1, so it holds twice the volume per unit of θ.

    Cylindrical is polar plus height

    Cylindrical coordinates are polar coordinates in the xy-plane with the height z added. A search for a "triple integral calculator polar" usually means this setup: switch the calculator to Cylindrical and integrate in r, θ and z.

    Jacobian determinant sanity checks

    The Jacobian is never negative inside a correct region: r ≥ 0 for cylindrical coordinates and sin φ ≥ 0 for 0 ≤ φ ≤ π. Physics texts often swap the names θ and φ, so match the convention to the formula you use.

    Worked examples

    Triple Integral Examples with Step-by-Step Solutions

    Here are 4 triple integral examples with step-by-step solutions, from a box with constant bounds to a ball in spherical coordinates. Each 3D view shows the region, and each Load button sends the problem to the calculator.

    Cartesian · constant bounds

    Example 1: A box with constant bounds

    Evaluate f = x + y + z over the box 0 ≤ x ≤ 1, 0 ≤ y ≤ 2, 0 ≤ z ≤ 3. The bounds are constants, so the integration can start with any variable. This solution starts with x.

    Answer:

    Cartesian · variable bounds

    Example 2: A tetrahedron from its vertices

    Find the volume of the tetrahedron with vertices (0, 0, 0), (1, 0, 0), (0, 1, 0) and (0, 0, 1). The slanted face passes through the last 3 vertices, so its plane is x + y + z = 1. The solid lies between z = 0 and z = 1 − x − y above the triangle 0 ≤ y ≤ 1 − x, 0 ≤ x ≤ 1.

    Answer: the volume is . With f = x + y + z the same bounds give .

    Cylindrical · Jacobian r

    Example 3: A cone in cylindrical coordinates

    Find the volume of the cone r ≤ z ≤ 1. The cone has radius 1 and height 1. In cylindrical coordinates the integrand is the Jacobian r.

    Answer: , which matches the cone formula .

    Spherical · Jacobian ρ² sin φ

    Example 4: A ball in spherical coordinates

    Find the volume of the unit ball ρ ≤ 1. Spherical coordinates give constant bounds: 0 ≤ ρ ≤ 1, 0 ≤ φ ≤ π, 0 ≤ θ ≤ 2π.

    Answer: , the volume of a ball with radius 1.

    6 more triple integral problems to load

    Each card loads its integrand, order and bounds into the calculator in one click.

    Integration limits

    How to Set Up Triple Integration Bounds

    To set up triple integration bounds, describe the region from the inside out in 5 steps. The bounds decide the answer: the same integrand over different bounds gives a different number.

    1. Sketch the region. Draw the bounding surfaces and mark where they meet. A rough sketch catches most bound errors before any integration.
    2. Pick the inner variable. Choose the variable for which the region lies between two surfaces, for example z between a bottom surface z = h₁(x, y) and a top surface z = h₂(x, y).
    3. Project the region onto the other two axes. The projection (the "shadow" D on the xy-plane) holds every (x, y) pair the solid sits above.
    4. Describe the shadow as a 2D region. Write y between two curves g₁(x) and g₂(x), and x between two numbers a and b.
    5. Check the dependencies. Inner bounds use at most the two outer variables. Middle bounds use only the outer variable. Outer bounds are numbers.
    The shadow method: integration limits for a solid between two surfaces
    Dtop z = h₂(x, y)z = h₁(x, y)bottomz: h₁ → h₂y = g₁(x)y = g₂(x)x from a to b

    Iterated integration order swaps: one region, 6 orders

    The solid 0 ≤ z ≤ y ≤ x ≤ 1 shows how the bounds change when the order of integration changes. All 6 orders describe the same region and give the same volume, 1/6. Load any row, then press Animate integration to compare the slices.

    OrderInnerMiddleOuterValueLoad

    iFor a box, each variable moves independently between constant limits, so all 6 orders share the same bounds. Bounds change with the order only when one limit depends on another variable.

    Fubini theorem applicability tests

    Fubini's theorem allows any order of integration when f is continuous and the region is bounded. Check 2 things before you swap the order: the integrand has no infinite values inside the region, and every bound is finite. Both checks pass for every example on this page.

    Improper triple integral handling

    The calculator needs finite outer limits. Replace an infinite bound with a large number R and raise R until the value settles, if the integral runs to infinity. Split the region at the bad point and integrate each piece, if the integrand blows up inside the region. This singularity-aware domain splitting keeps every piece finite. Integrable blow-ups on the boundary, such as 1/√(1 − x²) at x = 1, work directly: the smoothing step in the numerical engine handles them.

    Solution methods

    Exact and Numerical Triple Integral Solutions

    The calculator returns 2 kinds of triple integral solutions: an exact symbolic answer when the integrand and every bound are polynomials, and a numerical answer for every other problem.

    Exact and numerical solutions compared
    Exact (symbolic) solutionNumerical solution
    Used whenf and all 6 bounds are polynomials in the variables; π is allowedf or a bound contains sqrt, exp, ln, trig or a non-integer exponent
    Outputa fraction, with π if present, plus the decimala decimal, an error estimate and a closed form when one matches
    Accuracyexactabout 10 to 12 significant digits for smooth integrands
    Exampleparaboloid mass, unit ball in Cartesian form,

    Symbolic integration step tracing

    Polynomial problems run on exact fractions with BigInt numerators and denominators. Each step shows the antiderivative, the bracket with both bounds and the simplified result.

    Numerical quadrature error bounds

    The engine evaluates f at 48 × 48 × 48 = 110,592 points, then repeats the sum with 32 points per axis. The gap between the 2 results is the error estimate shown under the answer.

    Closed-form recognition

    A decimal accurate to 10 digits or more is matched against simple closed forms such as 4π/3, √2, (2 − √2)π/3 and (e − 1)³. The match appears as a badge, not as a replacement for the decimal.

    Monte Carlo cross validation: error against function evaluations for the volume of the unit ball (Cartesian bounds)Gauss–Legendre (this calculator)Monte Carlo (random points)
    Show the data table
    Points per axisEvaluationsGauss–Legendre errorMonte Carlo error

    Computed live in your browser. Gauss–Legendre reaches an error near 10⁻¹⁴ at 1,728 evaluations. Monte Carlo is still off by about 5 × 10⁻³ at 110,592 evaluations, so this calculator uses quadrature and keeps Monte Carlo as a cross-check.

    Verify your answer with a second tool

    Wolfram Alpha, Symbolab's triple integrals calculator, Mathway and eMathHelp are common second opinions. Symbolab shows the full solution steps on its paid Pro plan. Compare the decimal values when you cross-check, not the written form: 4π/3 and 4.18879 are the same answer. Desmos and GeoGebra draw 3D surfaces, which helps when you sketch the region before you set the bounds.

    Uses

    Applications of Triple Integrals

    Triple integrals have 8 main applications across math, physics, engineering and statistics: volume, mass, center of mass, moment of inertia, charge and energy, probability, average value and flux through the divergence theorem.

    01

    Volume of a solid

    Set f = 1. Results come in m³, cm³ or liters; 1 m³ = 1,000 L.

    02

    Mass

    Density ρ in kg/m³ or g/cm³ gives mass in kg or g. Water is about 1,000 kg/m³ (1 g/cm³).

    03

    Center of mass

    Repeat with y and z for the other 2 coordinates. Center of mass applications include balancing parts and placing supports.

    04

    Moment of inertia

    Moment of inertia computations give kg·m². A unit ball with ρ = 1 has Iz = 8π/15.

    05

    Charge and energy

    Charge density field models in C/m³ give coulombs. Energy per unit volume in J/m³ gives the total energy in joules.

    06

    Probability

    A joint probability density function (PDF) integrates to 1 over all space. Probability density triple bounds give the chance of landing inside E.

    07

    Average value

    The calculator prints this as "Mean value of f" next to the region volume for every problem.

    08

    Flux (divergence theorem)

    Divergence theorem verification workflows compute the right-hand side here and compare it with the surface integral.

    iFinite element method (FEM) software evaluates the same kind of triple integral on every mesh element with Gauss quadrature. Curved boundaries need care in both: FEM codes use finite element mesh alignment with the boundary, and this calculator smooths the integrand near each bound.

    Input syntax

    Triple Integral Input Syntax Guide

    The calculator reads standard math notation and follows the usual order of operations: parentheses, then exponents and radicals, then multiplication and division from left to right, then addition and subtraction. Multiplication can be implied, so 2xy, r sin(theta) and 3(x+1) all work.

    WriteMeaning
    x^2, x**2exponents
    sqrt(1-x^2), cbrt(x)square root, cube root
    (1-x)/2fractions; 1/2x reads as (1/2)·x, so write 1/(2x) for 1 over 2x
    exp(-x), e^(-x)exponential
    ln(x), log(x)natural logarithm (base e)
    sin cos tan sec csc cottrigonometric functions in radians
    asin acos ataninverse trigonometric functions
    sinh cosh tanh, abs(x)hyperbolic functions, absolute value
    pi / π, econstants π ≈ 3.14159 and e ≈ 2.71828
    theta θ, rho ρ, phi φangle and radius variables
    sin^2(x)sin(x) squared
    -x^2−(x²), not (−x)²

    Bounds for common surfaces

    Copy these patterns into the limits input. Each row gives the bound as you type it.

    SurfaceType
    plane x + y + z = 1 (top of a tetrahedron)1 - x - y
    upper half of the circle x² + y² = 1sqrt(1 - x^2)
    upper half of the sphere x² + y² + z² = 4sqrt(4 - x^2 - y^2)
    paraboloid z = x² + y²x^2 + y^2
    paraboloid in cylindrical formr^2
    cone z = √(x² + y²) in cylindrical formr
    full turn in θ0 to 2pi
    cone of half-angle 45° in spherical formφ from 0 to pi/4

    Avoid these

    Common Triple Integration Mistakes

    There are 8 common triple integration mistakes. Each one produces a wrong number with no visible warning, so each card pairs the mistake with its fix.

    Leaving out the Jacobian

    Write dV before anything else. Without the r, a cylinder of radius 1 and height 1 comes out as 2π instead of π.

    Swapping the order without new bounds

    Draw the shadow on the new pair of axes and read every bound from it again.

    Using one top surface when the top changes

    Split the solid where the top surface changes, for example a plane over one part and a sphere over another, and add the pieces.

    Taking middle bounds from the solid

    Middle bounds come from the edge of the shadow. Set the bottom surface equal to the top, for example x² + y² = 1 for the bowl under z = 1, and solve for y.

    Running φ from 0 to 2π

    φ runs from 0 to π and θ from 0 to 2π. A φ range of 2π gives zero for the volume of a ball.

    Reversing the limits

    Put the lower bound first. Reversed limits flip the sign of the result.

    Using degrees for angles

    Use radians: a full turn is 2pi (about 6.2832), not 360.

    Missing the symmetry check

    An odd integrand over a symmetric region integrates to 0. Use this as a free check, for example x over the unit ball.

    Spherical coordinate volume auditing

    Run a volume audit before trusting a new setup: set f = 1, compute, and compare with the known formula. Cylindrical shell boundary checks work the same way for pipes and tubes. A mismatch points to a bound or Jacobian error, not to the integrand.

    SolidFormulaWith R = 1, h = 1
    Ball4.18879
    Cylinder3.14159
    Cone1.04720
    Hemisphere2.09440
    Unit tetrahedron0.16667

    Related tools

    Explore More Calculus Calculators

    These calculators cover the rest of a multivariable calculus course, from single integrals and derivatives to vector fields and coordinate conversions. Work a problem by hand from your notes or worksheets, then verify the solution step by step.

    Double Integral CalculatorArea and volume integrals over plane regions, in Cartesian or polar form.Change Order of Integration CalculatorSwap dy dx to dx dy and get the new bounds, split where needed.Definite Integral CalculatorSingle integrals between two limits, with the antiderivative and steps.Indefinite Integral CalculatorAntiderivatives with the method used and a derivative check.Improper Integral CalculatorInfinite limits and blow-ups: converges or diverges, with the value.Multiple Integral CalculatorDouble, triple and quadruple integrals in any order.Jacobian CalculatorJacobian matrix and determinant for any change of variables.Partial Derivative CalculatorFirst, second and mixed partials at a point, with steps.Gradient CalculatorGradient vector, directional derivative and steepest ascent.Divergence CalculatorDivergence of a vector field in Cartesian, cylindrical or spherical form.Curl CalculatorCurl of a vector field and a check for conservative fields.Line Integral CalculatorWork and scalar line integrals along a parametric curve.Surface Integral CalculatorFlux and scalar surface integrals over a parametric surface.Multivariable Limit CalculatorLimits in 2 or 3 variables, tested along many paths.Spherical Coordinates CalculatorConvert points between Cartesian and spherical coordinates.Cylindrical Coordinates CalculatorConvert points and equations to and from cylindrical form.Volume by Triple Integral CalculatorVolume of a solid between two surfaces or from preset shapes.Area Between Curves CalculatorArea between two curves, with the intersection points.Volume of Revolution CalculatorDisk, washer and shell methods about any axis.Arc Length CalculatorLength of graphs, parametric curves and polar curves.

    Questions

    Frequently Asked Questions

    Can I calculate triple integrals with variable limits?

    Yes, the calculator accepts variable limits: z from 0 to 1 − x − y and y from 0 to 1 − x both work. Outer limits must be numbers, so the final answer is a single value.

    Does the calculator support all six integration orders?

    Yes, the calculator supports all 6 orders of integration: dz dy dx, dz dx dy, dy dz dx, dy dx dz, dx dz dy and dx dy dz, plus the matching 6 orders in cylindrical and spherical coordinates. Pick the order in the Order list, then rewrite the limits for that order.

    Does it automatically apply the Jacobian?

    Yes, the calculator applies the Jacobian automatically: r in cylindrical coordinates and ρ² sin φ in spherical coordinates. Enter only f; the preview shows the Jacobian in the integrand.

    Can I get exact and approximate results?

    Yes, you get both an exact and an approximate result when the integrand and all bounds are polynomials: a fraction, with π if present, and a 12-digit decimal. Other integrands return a decimal with an error estimate, plus a closed form such as 4π/3 when the value matches one.

    Is the calculator free to use?

    Yes, the triple integral calculator is free to use, with no account and no limit on calculations. Every calculation runs in your browser, so your integrand and bounds never leave your device.

    This triple integral calculator turns three nested integrals into one checked answer, in Cartesian, cylindrical or spherical coordinates and in any order of integration. Set the bounds, look at the region, and verify your answer.

    Back to the calculator