Innermost is dy
dy dx means y first, from y = 1 to y = x; then x from 2 to 5.

This multiple integral calculator evaluates double, triple and quadruple integrals in any order and any variables, with limits that depend on outer variables. It integrates from the inside out, shows every intermediate result and checks the value numerically.
Results
Your integral, from the inside out
The map shows the region for the two outermost variables. Its colour is what the inner integrals add up to at each point.
Interactive diagram
Region of integration
Multiple integral
Step-by-step solution
—Step by step
To use the multiple integral calculator, follow these 5 steps. The value and the region update as you type.
Pick how many integrals
Choose double, triple or quadruple.
Type the integrand
For example x + y, rho^2*sin(phi) or x*y*z*w.
Set each integral, innermost first
Pick its variable and type its limits. A limit may use the variables of the integrals below it, such as 1 - x.
Read the value
See the exact value, a numeric check, the size of the region and the average of f.
Follow the steps
Each step integrates one variable and plugs in its limits.
Definition
A multiple integral is the integral of a function of 2 or more variables over a region, such as ∬R f(x, y) dA or ∭E f(x, y, z) dV. It adds up f times a tiny area or volume element over every point of the region, the same way a definite integral adds up f(x) dx along an interval.
A multiple integral is the limit of a Riemann sum over small boxes. Split the region into cells of area ΔA, multiply each cell by f at a sample point, and add: as the cells shrink, the sum approaches the integral.
Multiple integrals are a core topic of Calculus III. They compute area, volume, mass, charge, probability and average values over regions in 2, 3 or more dimensions. In practice they are evaluated as iterated integrals: one ordinary definite integral at a time.
Darker cells hold larger values of f. Each cell adds f(midpoint) × ΔA; the error drops by about 4× each time the grid doubles.
Dimensions
There are 3 multiple integrals this calculator handles: the double integral over a region in the plane, the triple integral over a solid in space, and the quadruple integral over a region in 4 dimensions. Each one adds 1 integral sign and 1 differential.
| Double integral | Triple integral | Quadruple integral | |
|---|---|---|---|
| Notation | |||
| Region | area in the xy-plane | solid in xyz-space | region in 4D space |
| Element | dA = dx dy | dV = dx dy dz | dV₄ = dx dy dz dw |
| With f = 1 | area | volume | 4D volume (hypervolume) |
| Orders | 2! = 2 | 3! = 6 | 4! = 24 |
| Example |
Theory
Fubini's theorem says a multiple integral of a continuous function over a box equals an iterated integral, taken one variable at a time, in any order. Guido Fubini proved the general version in 1907, and Leonida Tonelli extended it to nonnegative functions in 1909.
The inner integral A(x) = ∫ f(x, y) dy is the area of a cross-section of the solid at a fixed x. The outer integral adds those cross-sections. For z = x y² over [0, 1] × [0, 2], A(x) = 8x/3 and ∫₀¹ 8x/3 dx = 4/3, the volume of the solid.
The theorem extends to regions bounded by curves and to any function whose absolute value has a finite integral. Without that condition the 2 orders can disagree: (x² − y²)/(x² + y²)² on the unit square gives π/4 in one order and −π/4 in the other.
Drag to turn the solid. The red slice is the inner integral at one x; sliding it to x = 1 sweeps the whole volume, 4/3.
Method
To evaluate a multiple integral, integrate the innermost variable first while every other variable stays constant, substitute its limits, and repeat outward until only a number remains. Here are the steps for eMathHelp's example ∫₂⁵ ∫₁ˣ x y² dy dx.
Innermost is dy
dy dx means y first, from y = 1 to y = x; then x from 2 to 5.
x is a constant
One variable left
A number
Every inner result is a function of the outer variables only. The calculator prints each one, so a mistake shows up at the exact step where it happens. A triple or quadruple integral repeats step 02 once per extra variable.
Regions
The limits of an inner integral may depend on the variables of the integrals outside it, and the outermost limits are always constants. Variable limits describe regions that are not boxes: triangles, disks, tetrahedra and simplices.
The rule runs one way. A limit can use only variables integrated later (further out), never its own variable or one already integrated. The calculator checks this and stops with a message such as "The upper limit for y can use x; it uses y."
A region with variable limits needs a sketch to set up. Write the outermost variable's range first, then the next variable's range as a function of the outer one, and continue inward.
| Region | Limits (inner → outer) | Size |
|---|---|---|
| Triangle | 1/2 | |
| Quarter disk | π/4 | |
| Tetrahedron | 1/6 | |
| 4D simplex | 1/24 |
Strategy
Choose the order of integration whose inner integral has an elementary antiderivative and whose region needs the fewest pieces. The value is the same in every order for a continuous integrand, but the work is not.
∫₀¹ ∫ₓ¹ ey² dy dx cannot be done in that order: ey² has no elementary antiderivative in y, so the calculator falls back to nested numerical integration and recognizes the number afterwards. Describe the same triangle with x inside, 0 ≤ x ≤ y, and the inner integral becomes y ey², which a substitution finishes: (e − 1)/2 ≈ 0.8591.
The calculator evaluates the order you enter. To find the best order for a 2-variable region, the Change Order of Integration Calculator rewrites the limits for you.
| dy dx (hard) | dx dy (easy) | |
|---|---|---|
| Integral | ||
| Inner result | no elementary form | |
| Method | numerical | u = y², exact |
| Value | 0.8591409142, then recognized as (e − 1)/2 |
Coordinate systems
Polar, cylindrical and spherical coordinates turn round regions into boxes, at the cost of an extra factor in the area or volume element: r for polar and cylindrical, ρ² sin φ for spherical. Type the factor into the integrand, and use r, theta, rho and phi as variable names.
| System | Element | Typical region | Example | |
|---|---|---|---|---|
| Polar (r, θ) | disk, ring, sector | |||
| Cylindrical (r, θ, z) | cylinder, cone, pipe | |||
| Spherical (ρ, φ, θ) | ball, shell, cone |
The factors are Jacobian determinants of the coordinate changes. The cylinder above, radius 1 cm and height 2 cm, holds 2π ≈ 6.283 cm³ (6.283 mL). Dedicated tools set these up for you: the Cylindrical and Spherical Coordinates Calculators and the Jacobian Calculator.
Meaning
A multiple integral measures 3 kinds of quantity, depending on the integrand: size (area, volume), totals of a density (mass, charge, probability), and higher-dimensional volume.
A multiple integral of 1 gives the size of the region: ∬R 1 dA is its area and ∭E 1 dV is its volume. The triangle 0 ≤ y ≤ x ≤ 1 has area 1/2, and the tetrahedron under x + y + z = 1 has volume 1/6. The calculator lists this size next to every result.
A multiple integral of a density gives a total, such as mass, and dividing by the region's size gives the average value. A triangular plate 0 ≤ y ≤ x ≤ 1 m with density x + y kg/m² has mass ∬ (x + y) dA = 0.5 kg (about 1.1 lb). The average of x y² over [0, 1] × [0, 2] is (4/3)/2 = 2/3.
A quadruple integral of 1 gives the 4-dimensional volume (hypervolume) of a region. The box [0, 4] × [0, 3] × [0, 2] × [0, 1] has 4D volume 24, and the unit simplex x + y + z + w ≤ 1 has 1/24. Probability in 4 random variables uses the same integrals.
| Dimension n | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| Unit simplex (corner of the unit box) | 1 | 1/2 | 1/6 | 1/24 |
| Unit ball | 2 | π ≈ 3.1416 | 4π/3 ≈ 4.1888 | π²/2 ≈ 4.9348 |
Worked examples
Here are 4 worked examples of multiple integrals: a double integral over a triangle, a triple integral for a tetrahedron, a ball in spherical coordinates and a 4D simplex. Each one integrates from the inside out.
Evaluate ∬ (x + y) dA over 0 ≤ y ≤ x ≤ 1.
Answer:
Answer: volume 1/6, a sixth of the unit cube.
Answer: ; a ball of radius R has .
Answer: 1/24 = 1/4!. The unit simplex in n dimensions has volume 1/n!, the red bar in the chart.
Questions
A multiple integral is the integral of f over a region, ∬_R f dA, while an iterated integral is the way to compute it: one single-variable integral inside another, such as ∫ₐᵇ ∫ f dy dx. Fubini's theorem says the 2 are equal for continuous functions. The multiple integral has no order; each iterated integral has one.
No, the order of integration does not change the value of a multiple integral of a continuous function, but it changes how hard the work is. A triple integral has 6 orders and a quadruple integral has 24. ∫₀¹ ∫ₓ¹ e^(y²) dy dx has no elementary inner antiderivative in the given order; with dx inside, it gives (e − 1)/2 exactly.
Yes, the limits of an inner integral can be functions of the outer variables, which is how triangles, disks and tetrahedra are described. The outermost limits must be constants. The tetrahedron x + y + z ≤ 1 uses 0 ≤ z ≤ 1 − x − y, 0 ≤ y ≤ 1 − x and 0 ≤ x ≤ 1, and its volume is 1/6.
A multiple integral can have any number of integrals, one per variable; physics and statistics use integrals over hundreds of dimensions, usually computed with Monte Carlo methods. This calculator evaluates 2, 3 or 4 integrals symbolically, one variable at a time, and checks each result with nested numerical integration.
You need a Jacobian when you change variables, since the area or volume element changes size. Polar coordinates use dA = r dr dθ, cylindrical coordinates dV = r dz dr dθ and spherical coordinates dV = ρ² sin φ dρ dφ dθ. Leaving the factor out gives wrong answers: a disk of radius 3 has area ∫∫ r dr dθ = 9π, but dropping r gives 6π.
This multiple integral calculator evaluates double, triple and quadruple integrals in any order, with variable limits and every intermediate step, and reports the size of the region and the average value.