Rectangle
Both variables move between constant limits. Any order works, and a separable f(x)g(y) splits into two single integrals.

This double integral calculator evaluates ∬ f(x, y) dA over a region in Cartesian or polar coordinates. Type the integrand and the limits; the integration engine returns the exact or numerical value, every step, and a 3D graph of the volume under the surface. Use it for area, volume, mass and center of mass problems, or to check homework.
Results
Your answer, in 3D and step by step
The solid under the surface z = f(x, y) has the same volume as your double integral. Press play to watch the inner integral cut one cross-section at a time while the outer integral adds them up.
Interactive diagram
Volume under the surface
Area under this curve = the double integral
Result
Step-by-step solution
—Step by step
To use the double integral calculator, follow these 6 steps. The preview, the 3D graph and the answer update as you type.
Choose the coordinate system
Pick Cartesian (x, y) for rectangles, triangles and regions between curves. Pick Polar (r, θ) for discs, rings and sectors.
Type the function of two variables
Enter f, for example x*y or exp(-x) sin(y). Type 1 to compute an area.
Pick the order of integration
dy dx integrates y first and x last. dx dy reverses the order.
Enter the outer limits
Outer limits are numbers, such as 0 to 1 or 0 to 2pi.
Enter the inner limits
Inner limits may use the outer variable, for example y from x^2 to x.
Calculate and read the result
Press Calculate integral or Enter. Read the exact value, open the step-by-step solution, and press Animate integration to watch the volume build slice by slice.
iThe preview turns red and names the problem when an inner limit uses the wrong variable or an outer limit is not a number.
Definition
A double integral is the integral of a function of two variables, f(x, y), over a region R in the plane. It multiplies f at each point by a tiny area dA and adds the products across the whole region.
The definition splits R into small rectangles. Each rectangle adds f at one sample point times its area ΔA, and the sum approaches the double integral as the rectangles shrink. The bar explorer beside this text shows that sum converging.
A double integral has 2 everyday meanings:
The double integral gives the signed net volume, if f dips below zero: parts under the xy-plane count as negative.
Exact value: 2/3. The midpoint sum equals 2/3 − 1/(6n²), so the error falls by a factor of 4 each time n doubles.
Single definite integral and double integral side by side
| Single definite integral | Double integral | |
|---|---|---|
| Notation | ||
| Domain | interval [a, b] | plane region R |
| Element | length dx | area dA = dx dy |
| With f = 1 | length of [a, b] | area of R |
| Geometric meaning | area under a curve | volume under a surface |
Classification
There are 6 main types of double integrals, sorted by the shape of the region and the coordinates used: rectangles, Type I regions, Type II regions, polar regions, change of variables and improper integrals.
| Type | Region | Iterated form | In this calculator |
|---|---|---|---|
| Over a rectangle | a ≤ x ≤ b, c ≤ y ≤ d | Yes | |
| Type I region | y between two curves of x | Yes | |
| Type II region | x between two curves of y | Yes | |
| Polar | r and θ bounds | Yes, r applied | |
| Change of variables | region in u, v | Polar only | |
| Improper | infinite region or unbounded f | Via a large finite R |
Rectangle
Both variables move between constant limits. Any order works, and a separable f(x)g(y) splits into two single integrals.
Type I (vertical strips)
x runs between numbers; y runs from a bottom curve g₁(x) to a top curve g₂(x). Integrate dy first.
Type II (horizontal strips)
y runs between numbers; x runs from a left curve h₁(y) to a right curve h₂(y). Integrate dx first.
Polar
The region is described by r and θ. The area element becomes dA = r dr dθ.
Change of variables
A substitution x = x(u, v), y = y(u, v) maps an awkward region to a simple one. Multiply by the Jacobian |∂(x, y)/∂(u, v)|.
Improper
The region is infinite or f blows up. The integral is a limit of proper integrals, and it converges or diverges.
iAn indefinite double integral has no limits: its result is a function F(x, y) with ∂²F/∂x∂y = f, and the "constants" of integration become arbitrary functions of one variable. This calculator evaluates definite double integrals, which return a number.
Method
To solve a double integral, follow 5 steps: sketch the region, choose the order of integration, write the limits, integrate the inner integral, then integrate the outer integral.
Worked example: f = x² + y over [0, 1] × [0, 2]
Answer: , the volume under z = x² + y above the rectangle.
Fubini's theorem
Fubini's theorem lets you evaluate a double integral as an iterated integral in either order, if f is continuous on the region. On a rectangle the two orders share the same limits:
Integration techniques from single-variable calculus still apply inside each step: substitution, integration by parts and partial fractions.
Verify your solution with a second tool
Symbolab's Double Integrals Calculator, Wolfram Alpha and Mathway solve double integrals online; Symbolab shows full steps on its paid Pro plan. MATLAB uses integral2, Mathematica uses Integrate with two ranges, and Maple uses nested int. Desmos and GeoGebra graph the surface, which helps you sketch the region. A TI-84 evaluates single definite integrals with fnInt(, so do the inner integral by hand first. Compare decimal values, not the written form: 8π/3 and 8.37758 are the same answer.
Worked examples
Here are 4 double integral examples with solutions: a triangle, the area between two curves, a volume in polar coordinates and a trigonometric surface. Each 3D view shows the solid, and each button loads the problem into the calculator.
Example 1: f = xy over a triangle
Integrate f = xy over the triangle 0 ≤ y ≤ x, 0 ≤ x ≤ 1.
Answer:
Example 2: area between y = x² and y = x
The curves meet at x = 0 and x = 1, and y = x lies on top. Set f = 1 to get the area.
Answer: square units
Example 3: volume under a paraboloid
Find the volume under z = 4 − x² − y² above the disc of radius 2. In polar form f = 4 − r² and dA = r dr dθ.
Answer: cubic units
Example 4: f = sin x cos y
Integrate over 0 ≤ x ≤ π, 0 ≤ y ≤ π/2. The integrand is a product, so the integral splits.
Answer:
Integration limits
To determine the limits of integration, draw one strip across the region and read where it enters and leaves. 4 steps cover every region bounded by curves.
| Region | Inner limits | Outer limits |
|---|---|---|
| Triangle under y = x | ||
| Between y = x² and y = x | ||
| Upper half disc, radius 1 | ||
| Full disc, radius a (polar) | ||
| Ring 1 ≤ r ≤ 2 (polar) | ||
| Cardioid r = 1 + cos θ |
Order swaps
To change the order of integration, redraw the strips in the other direction and read new limits from the same region. The value stays the same; only the limits change.
When swapping the order makes the integral solvable
The integral has no elementary inner antiderivative. The region is the triangle 0 ≤ y ≤ x ≤ 1, so the swapped integral is
Uses
Double integrals have 7 main applications beyond area and volume: average value, mass, center of mass, moment of inertia, probability, surface area and Green's theorem.
Average value
The mean temperature of a plate in °C (or °F). The calculator prints this as "Mean value of f".
Mass of a thin plate
Surface density in kg/m² (or g/cm²) gives mass in kg (or g).
Center of mass
Use y in place of x for ȳ. A uniform half disc of radius R balances at ȳ = 4R/(3π) ≈ 0.424R.
Moment of inertia
Measured in kg·m². A uniform disc of mass M and radius R has I = ½MR².
Probability
A joint probability density function (PDF) integrates to 1 over the whole plane.
Surface area
The area of the curved surface z = f(x, y) itself, in m² or ft², not the flat region under it.
Green's theorem
Turns a line integral around a closed curve into a double integral over the region inside it.
Avoid these
There are 8 common mistakes when solving double integrals. Each one gives a wrong number with no warning, so each card pairs the mistake with its fix.
Mismatched order and limits
The inner limits belong to the inner differential. In ∫∫ … dy dx, the inner limits are values of y.
A variable in the outer limits
Outer limits are numbers. A definite double integral returns a number, not a function.
Top and bottom curves swapped
On 0 ≤ x ≤ 1, x ≥ x², so y = x is the top curve. Test one point, such as x = ½.
Forgetting the r in polar form
dA = r dr dθ. Without the r, the area of the unit disc comes out as 2π instead of π.
Not splitting the region
Split the region where a boundary formula changes, then add the integrals of the pieces.
Treating the outer variable as a variable
During the inner integral, the outer variable is a constant: ∫ xy dy = x·y²/2.
Reading a signed result as volume
Negative parts of f cancel positive parts. Integrate |f| for the total volume, if f changes sign.
Angles in degrees
θ is in radians: a full turn is 2pi (about 6.2832), not 360.
Questions
Yes, the double integral calculator accepts variable limits. The inner limits may use the outer variable, for example y from x² to x, and the outer limits must be numbers, so the answer is a single value.
Yes, the calculator supports polar coordinates. Switch to Polar, enter f(r, θ), then set limits for r and θ. A full disc uses θ from 0 to 2π.
Yes, the calculator applies the Jacobian r automatically in polar coordinates, so dA becomes r dr dθ. Enter only f; the preview shows the extra r in the integrand.
Yes, you get an exact and an approximate result when the integrand and limits are polynomials (π allowed): a fraction and a 12-digit decimal. Other integrands return a decimal with an error estimate, plus a closed form such as (e − 1)/2 when the value matches one.
Yes, the double integral calculator is free to use, with no account and no limit on calculations. Every calculation runs in your browser, so your inputs never leave your device.
This double integral calculator evaluates a double integral in Cartesian or polar coordinates, shows the inner and outer integral step by step, and draws the volume under the surface in 3D. Set the limits, check the region, and verify your answer.