Divergence Calculator
Work out divergence instantly with clear inputs, formula shown and shareable results.
About Divergence Calculator
Divergence sums the diagonal partial derivatives and measures the net outward flux per unit volume. A positive value marks a source, negative a sink, and zero an incompressible field.
Formula
Divergence
∇·F = ∂Fx/∂x + ∂Fy/∂y + ∂Fz/∂z
Worked example
With the default values below, Divergence Calculator returns Divergence ∇·F of 3.00000000. Change any input above and every figure here is recalculated in your browser.
Inputs used
- ∂Fx/∂x
- 2
- ∂Fy/∂y
- -3
- ∂Fz/∂z
- 4
Results
- Divergence ∇·F
- 3.00000000
- Interpretation
- Positive — the field is a source, spreading outward
- Outward flux per unit volume
- 3.00000000
- Largest single contribution
- 4.000000
Step by step
- 1Values used
- 2Divergence
- 3Divergence ∇·F= 3.00000000
- 4Interpretation= Positive — the field is a source, spreading outward
- 5Outward flux per unit volume= 3.00000000
- 6Largest single contribution= 4.000000
Assumptions and limits
- The result is derived only from the 3 inputs listed above. Anything not among them is not part of the calculation.
- In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
- Figures are rounded for display to 8 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.
How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.
Frequently Asked Questions
For partials 2, −3 and 4?
The divergence is 3, so the field acts as a source.
Why is ∇·B = 0 for magnetism?
Because there are no magnetic monopoles, so magnetic field lines never begin or end — they always close on themselves.
