Divergence Calculator
Compute divergence of a vector field.
About this tool
Enter the components of a vector field, one per line, to get its divergence. For F = (x², y², z²) the divergence is 2x + 2y + 2z.
How to use
How it works
Divergence measures how much the field spreads out from a point. A positive value means a source, a negative value a sink, and zero an incompressible flow. The Divergence Theorem turns the surface flux of F into the volume integral of ∇·F.
∇·F = ∂P/∂x + ∂Q/∂y + ∂R/∂z
Worked example
A cyclic field
- Input
- F = (x*y, y*z, z*x)
- Output
- y + z + x
- Walkthrough
- ∂(xy)/∂x = y, ∂(yz)/∂y = z, ∂(zx)/∂z = x. Their sum is y + z + x.
Limitations
- Each component is differentiated by its matching variable, in the order you list them.
Questions
What is the divergence of (x², y², z²)?
What is the divergence of (xy, yz, zx)?
What does zero divergence mean?
Features
- Three components
- Symbolic result
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Definite integrals intro
Khan Academy
Definite integral basics for area-under-curve calculators.
Watch on YouTubeVectors | Essence of linear algebra
3Blue1Brown
Linear algebra intuition for matrix and vector tools.
Watch on YouTube
- Introduction to Derivatives
Math is Fun
Slope-of-tangent framing for derivative calculators.
- Integral Calculus
Khan Academy
Integral lessons to go with antiderivative and definite-integral tools.