Divergence Calculator

∇·F source/sink measure

CalculatorsFreeNo Signup
4.7(724 reviews)
All Tools

Loading tool...

About Divergence Calculator

A divergence calculator for 3D vector fields F = (P,Q,R). Computes ∇·F = ∂P/∂x + ∂Q/∂y + ∂R/∂z. Evaluates at specific points, identifies source/sink regions, and checks if the field is incompressible (∇·F=0). Select from preset fields. All calculations are client-side. Essential for fluid dynamics and electromagnetism.

Divergence Calculator Features

  • 3D divergence
  • Point eval
  • Source/sink
  • Incompressible check
  • Presets
Divergence: ∇·F = ∂P/∂x + ∂Q/∂y + ∂R/∂z. Measures net outflow per unit volume. ∇·F > 0: source. ∇·F < 0: sink. ∇·F = 0: incompressible. Divergence theorem: ∬F·dS = ∭∇·FdV.

How to Use

Select a vector field:

  • F = (P,Q,R): Components
  • Point: (x,y,z)
  • Output: ∇·F at point

Physical Meaning

Positive divergence = fluid expanding outward (source). Negative = contracting inward (sink). Zero = volume-preserving (incompressible). Electric charge creates divergence in E field (Gauss's law).

Key Results

  • ∇·(∇×F) = 0 always
  • Gauss: ∬F·dS = ∭∇·FdV
  • ∇·E = ρ/ε₀ (Maxwell)

Step-by-Step Instructions

  1. 1Select a vector field.
  2. 2Enter point (x,y,z).
  3. 3View divergence value.
  4. 4Check source/sink.
  5. 5Test incompressibility.

Divergence Calculator — Frequently Asked Questions

What does it mean if divergence is zero?+

The flow is incompressible — fluid neither expands nor compresses. Water flow is approximately incompressible. Magnetic fields always have ∇·B = 0 (no magnetic monopoles).

How does divergence relate to Gauss's theorem?+

The divergence theorem says the total flux through a closed surface equals the integral of divergence over the enclosed volume. It converts between surface and volume integrals.

Why is ∇·(∇×F) always zero?+

Because mixed partials commute: ∂²/∂x∂y = ∂²/∂y∂x. The terms cancel in pairs. Physically: curl creates circulation, not net outflow, so divergence of curl is zero.

Share this tool: