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

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.
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
Area under this curve = the triple integral
Result
Step-by-step solution
—Step by step
To use the triple integral calculator, follow these 7 steps. A full calculation takes under a minute, and the answer updates as you type.
Choose the coordinate system
Pick Cartesian (x, y, z), Cylindrical (r, θ, z) or Spherical (ρ, θ, φ). Choose the system that gives the region the simplest bounds.
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.
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.
Enter the outer limits
Outer limits are numbers, such as 0 to 2pi or -1 to 1.
Enter the middle limits
Middle limits may use the outer variable, for example y from 0 to 1 - x.
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.
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
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:
A triple integral gives the signed net total, if f changes sign inside E: the positive and negative parts cancel.
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 integral | A double integral | A triple integral | |
|---|---|---|---|
| Notation | |||
| Domain | interval [a, b] | plane region D | solid region E |
| Element | length dx | area dA | volume dV |
| With f = 1 | length of [a, b] | area of D | volume of E |
| Nested integrals | 1 | 2 | 3 |
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.
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.
| System | Conversion to x, y, z | Typical bounds |
|---|---|---|
| Cartesian | none | |
| 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
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.
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:
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 .
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 .
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
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.
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.
| Order | Inner | Middle | Outer | Value | Load |
|---|
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
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 (symbolic) solution | Numerical solution | |
|---|---|---|
| Used when | f and all 6 bounds are polynomials in the variables; π is allowed | f or a bound contains sqrt, exp, ln, trig or a non-integer exponent |
| Output | a fraction, with π if present, plus the decimal | a decimal, an error estimate and a closed form when one matches |
| Accuracy | exact | about 10 to 12 significant digits for smooth integrands |
| Example |
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.
| Points per axis | Evaluations | Gauss–Legendre error | Monte 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
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.
Volume of a solid
Set f = 1. Results come in m³, cm³ or liters; 1 m³ = 1,000 L.
Mass
Density ρ in kg/m³ or g/cm³ gives mass in kg or g. Water is about 1,000 kg/m³ (1 g/cm³).
Center of mass
Repeat with y and z for the other 2 coordinates. Center of mass applications include balancing parts and placing supports.
Moment of inertia
Moment of inertia computations give kg·m². A unit ball with ρ = 1 has Iz = 8π/15.
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.
Probability
A joint probability density function (PDF) integrates to 1 over all space. Probability density triple bounds give the chance of landing inside E.
Average value
The calculator prints this as "Mean value of f" next to the region volume for every problem.
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
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.
| Write | Meaning |
|---|---|
x^2, x**2 | exponents |
sqrt(1-x^2), cbrt(x) | square root, cube root |
(1-x)/2 | fractions; 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 cot | trigonometric functions in radians |
asin acos atan | inverse trigonometric functions |
sinh cosh tanh, abs(x) | hyperbolic functions, absolute value |
pi or π, e | constants π ≈ 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.
| Surface | Type |
|---|---|
| plane x + y + z = 1 (top of a tetrahedron) | 1 - x - y |
| upper half of the circle x² + y² = 1 | sqrt(1 - x^2) |
| upper half of the sphere x² + y² + z² = 4 | sqrt(4 - x^2 - y^2) |
| paraboloid z = x² + y² | x^2 + y^2 |
| paraboloid in cylindrical form | r^2 |
| cone z = √(x² + y²) in cylindrical form | r |
| full turn in θ | 0 to 2pi |
| cone of half-angle 45° in spherical form | φ from 0 to pi/4 |
Avoid these
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.
| Solid | Formula | With R = 1, h = 1 |
|---|---|---|
| Ball | 4.18879 | |
| Cylinder | 3.14159 | |
| Cone | 1.04720 | |
| Hemisphere | 2.09440 | |
| Unit tetrahedron | 0.16667 |
Related tools
These calculators cover the rest of a calculus course, from single integrals and derivatives to matrices and graphs. Work a problem by hand from your cheat sheets, worksheets or study guides, then verify the solution step by step.
Questions
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.
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.
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.
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.
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