Calculus IIIFree forever · No sign-up

Double Integral Calculator with Steps & 3D Visualizer

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.

See it in 3D
  • Exact steps for polynomial integrands
  • Polar coordinates with the Jacobian r
  • Both orders: dy dx and dx dy
2
coordinate systems
10−13
typical precision
4,096
sample points per answer
Double integral engine
f =

Outerx
to

constants only

Innery
to

may depend on x

Preview
—Full solution ↓

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

Height f(x, y)Inner dy sliceOuter dx sweep
Drag to rotate · scroll to zoom · double-click to reset
x—
accumulated—
slice area—

Area under this curve = the double integral

Result

=

Step-by-step solution

—

    Step by step

    How to Use the Double Integral Calculator

    To use the double integral calculator, follow these 6 steps. The preview, the 3D graph and the answer update as you type.

    1. 1

      Choose the coordinate system

      Pick Cartesian (x, y) for rectangles, triangles and regions between curves. Pick Polar (r, θ) for discs, rings and sectors.

    2. 2

      Type the function of two variables

      Enter f, for example x*y or exp(-x) sin(y). Type 1 to compute an area.

    3. 3

      Pick the order of integration

      dy dx integrates y first and x last. dx dy reverses the order.

    4. 4

      Enter the outer limits

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

    5. 5

      Enter the inner limits

      Inner limits may use the outer variable, for example y from x^2 to x.

    6. 6

      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

    What Is a Double Integral?

    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:

    • With f = 1, the double integral gives the area of R, in m², cm² or ft² (1 m² ≈ 10.76 ft²).
    • With f ≥ 0, the double integral gives the volume under the surface z = f(x, y) and above R, in m³ or liters (1 m³ = 1,000 L).

    The double integral gives the signed net volume, if f dips below zero: parts under the xy-plane count as negative.

    Riemann sum explorer: f = x² + y² over the unit square
    rectangles16
    ΔA0.0625
    Riemann sum0.65625
    error0.0104

    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 integralDouble integral
    Notation
    Domaininterval [a, b]plane region R
    Elementlength dxarea dA = dx dy
    With f = 1length of [a, b]area of R
    Geometric meaningarea under a curvevolume under a surface

    Classification

    Types of Double Integrals

    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.

    Types of double integrals
    TypeRegionIterated formIn this calculator
    Over a rectanglea ≤ x ≤ b, c ≤ y ≤ dYes
    Type I regiony between two curves of xYes
    Type II regionx between two curves of yYes
    Polarr and θ boundsYes, r applied
    Change of variablesregion in u, vPolar only
    Improperinfinite region or unbounded fVia 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

    How to Solve Double Integrals Step by Step

    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.

    1. Sketch the region R. Mark every boundary curve and the points where the curves meet.
    2. Choose the order of integration. dy dx suits regions with a clear top and bottom; dx dy suits regions with a clear left and right.
    3. Write the limits. The outer limits are numbers. The inner limits may depend on the outer variable.
    4. Evaluate the inner integral. Integrate with respect to (WRT) the inner variable and treat the outer variable as a constant. The result is a function of the outer variable only.
    5. Evaluate the outer integral. Integrate that function between the outer limits to get a number.
    Over a rectangle

    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

    Double Integral Examples With Solutions

    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.

    Type I · triangle

    Example 1: f = xy over a triangle

    Integrate f = xy over the triangle 0 ≤ y ≤ x, 0 ≤ x ≤ 1.

    Answer:

    Area · f = 1

    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

    Polar · Jacobian r

    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

    Separable · trig

    Example 4: f = sin x cos y

    Integrate over 0 ≤ x ≤ π, 0 ≤ y ≤ π/2. The integrand is a product, so the integral splits.

    Answer:

    More problems to load:

    Integration limits

    How to Determine the Limits of Integration

    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.

    1. Find where the boundary curves meet. Solve x² = x to get x = 0 and x = 1. These are the outer limits.
    2. Draw a vertical strip at a typical x inside the region.
    3. Read the inner limits from the strip. It enters at the bottom curve y = x² and leaves at the top curve y = x.
    4. Check that the top curve stays on top. Split the region where the curves cross or the boundary formula changes.
    RegionInner limitsOuter 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 θ
    Region boundary evaluator: the strip shows the inner limits at each x
    xyy = xy = x²011

    Order swaps

    How to Change the Order of Integration

    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.

    1. Sketch the region from the current limits: here y runs from x² to x for 0 ≤ x ≤ 1.
    2. Find the new outer range. The region spans 0 ≤ y ≤ 1.
    3. Draw a horizontal strip. It enters at the line x = y and leaves at the parabola x = √y.
    4. Write the new integral and check that both orders give the same value, 1/6.
    dy dx
    dx dy

    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

    Change order integration: switch between vertical and horizontal strips
    xyy = xy = x²011

    Uses

    Applications of Double Integrals

    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.

    01

    Average value

    The mean temperature of a plate in °C (or °F). The calculator prints this as "Mean value of f".

    02

    Mass of a thin plate

    Surface density in kg/m² (or g/cm²) gives mass in kg (or g).

    03

    Center of mass

    Use y in place of x for ȳ. A uniform half disc of radius R balances at ȳ = 4R/(3π) ≈ 0.424R.

    04

    Moment of inertia

    Measured in kg·m². A uniform disc of mass M and radius R has I = ½MR².

    05

    Probability

    A joint probability density function (PDF) integrates to 1 over the whole plane.

    06

    Surface area

    The area of the curved surface z = f(x, y) itself, in m² or ft², not the flat region under it.

    07

    Green's theorem

    Turns a line integral around a closed curve into a double integral over the region inside it.

    Avoid these

    Common Mistakes When Solving Double Integrals

    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

    Frequently Asked Questions

    Can I calculate double integrals with variable limits?

    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.

    Does the calculator support polar coordinates?

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

    Does it apply the Jacobian r automatically?

    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.

    Can I get exact and approximate results?

    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.

    Is the double integral calculator free to use?

    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.