Divergence Theorem Calculator

Enter a vector field and box limits below. Compare flux and divergence integrals instantly here. Export results to share, review, and learn confidently now.

Calculator Inputs

Region (rectangular box) — bounds must satisfy x1>x0, y1>y0, z1>z0.

Vector field F = <P,Q,R> with linear components: ax·x + ay·y + az·z + c.
Tip: For this tool, linear fields make both integrals exact and fast.

Example Data Table

Try these sample values to see the equality clearly.

ItemValueNotes
Boundsx: 0→2, y: 0→1, z: 0→3Rectangular box volume = 6
P2x + 1y + 0z + 0px=2, py=1, pz=0, pc=0
Q0x + 3y + 0z + 0qx=0, qy=3, qz=0, qc=0
R0x + 0y + 4z + 0rx=0, ry=0, rz=4, rc=0
Expected∇·F = 2 + 3 + 4 = 9Volume integral = 9 × 6 = 54

Formula Used

The Divergence Theorem states that the outward flux of a vector field through a closed surface equals the triple integral of its divergence over the enclosed volume:

S F · n dS = ∭V (∇ · F) dV

How to Use

  1. Enter bounds for x, y, and z to define the box region.
  2. Enter coefficients for P, Q, and R in the linear form.
  3. Click the compute button to calculate both sides.
  4. Review surface flux, volume integral, and the difference.
  5. Export results using the CSV or PDF buttons.
Note: This implementation focuses on exact evaluation for a box region.

Related Calculators

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.