Double Integral Calculator

Numerically compute double integrals over rectangular regions with step-by-step Simpson's rule breakdown — no server required.

Define the Integral

Use x, y, standard operators, and sin, cos, exp, log, sqrt, etc.

Higher n = more accurate. Range: 2 – 500.

Result

Configure the integral on the left and click Calculate.

Step-by-Step Breakdown

Steps will appear here after calculation.

How Simpson's Rule Works

Composite 2D Simpson's rule approximates ∬∬ f(x,y) dA by dividing each axis into n equal sub-intervals and applying the quadrature weights 1, 4, 2, 4, …, 4, 1 along each dimension.

The formula for a single axis of width h = (b−a)/n is:

(h/3) × [f(x₀) + 4f(x₁) + 2f(x₂) + 4f(x₃) + … + f(xₙ)]

In 2D this is applied first along y (inner integral) for each fixed x node, then along x (outer integral) over the row sums.

Copied!

Summary

Numerically compute double integrals over rectangular regions with step-by-step Simpson's rule breakdown — no server required.

How it works

  1. Enter the integrand function f(x, y) using standard math notation (e.g. x*y, sin(x)*cos(y)).
  2. Set the lower and upper bounds for x (a to b) and y (c to d).
  3. Choose the number of subdivisions (higher = more accurate).
  4. Click "Calculate" to run composite 2D Simpson's rule in your browser.
  5. The result appears with a step-by-step breakdown showing inner and outer integral approximations.

Use cases

  • Verify double integral results from textbook problems.
  • Quickly estimate the volume under a surface over a rectangular domain.
  • Check calculus homework answers without a CAS system.
  • Explore how changing bounds or the function affects the integral value.
  • Compute probability mass for bivariate distributions over a rectangular region.
  • Validate numerical integration code by comparing against a known tool.

Frequently Asked Questions

Last updated: 2026-06-10 · Reviewed by Nham Vu