Loading…

Divergence and Curl Calculator

Math Calculus • Differential Equations

View all topics

Compute the divergence and curl of vector fields. Divergence measures source or sink behavior, while curl measures local rotation. Enter \(\mathbf F=\langle P,Q\rangle\) or \(\mathbf F=\langle P,Q,R\rangle\), evaluate at a point, and inspect the vector field graph.

3D divergence \(\displaystyle \nabla\cdot\mathbf F=P_x+Q_y+R_z\) 3D curl / rotor \(\displaystyle \nabla\times\mathbf F=\langle R_y-Q_z,\ P_z-R_x,\ Q_x-P_y\rangle\) 2D scalar curl \(\displaystyle \operatorname{curl}\mathbf F=Q_x-P_y\) Sample \(\displaystyle \mathbf F=\langle x,y,z\rangle,\quad \nabla\cdot\mathbf F=3,\quad \nabla\times\mathbf F=\mathbf 0\)

Vector field setup

Supported functions: sin, cos, tan, sqrt, abs, exp, ln, log. Constants: pi, e.
For xy view this is \(z\). For xz view this is \(y\). For yz view this is \(x\).
Live preview

Quick examples

Ready
Enter a vector field and click “Compute div and curl”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is divergence?

Divergence measures the net outward flow of a vector field from a point. Positive divergence suggests a source, negative divergence suggests a sink, and zero divergence suggests no net local expansion or compression.

What is curl?

Curl measures local rotation of a vector field. In 2D it is often represented by the scalar Q_x - P_y. In 3D it is a vector.

What is rotor?

Rotor is another name for curl, especially in some textbooks and languages. It means the same operation as nabla cross F.

What does div F = 3 mean for F=<x,y,z>?

It means the field has constant positive divergence, so it behaves like a uniform source field expanding outward everywhere.

Why is the curl of F=<x,y,z> zero?

The field points radially outward and has no local spinning component, so its curl is the zero vector.

What is the difference between divergence and curl?

Divergence measures source or sink behavior. Curl measures rotational or swirling behavior.

Why does a 3D graph use a slice?

A full 3D vector field fills space. A slice lets the calculator show a clear cross-section of the field while still evaluating the 3D divergence and curl.