JOVANA
Explore Library Glossary Getting Started Three Levels Fields How it works Mission
Join the mission
All guides

Electric Flux and Gauss's Law

Count the field lines piercing a surface and you get a law of astonishing power. Gauss's law links the flux through any closed surface to the charge inside — and with symmetry it solves fields in one line.

Counting lines through a surface

Imagine holding a wire hoop in the rain. How much rain passes through it depends on three things: how hard it is raining (the field strength), how big the hoop is (the area), and how you tilt it (edge-on catches nothing). Electric flux captures exactly this for the electric field passing through a surface — it is a measure of 'how much field' threads through.

\Phi_E = \vec{E}\cdot\vec{A} = E\,A\cos\theta

Electric flux through a flat area A, where θ is the angle between the field and the normal (perpendicular) to the surface. Maximum when the field is straight through (θ=0), zero when it skims the surface (θ=90°).

For a curved surface or a non-uniform field, you chop the surface into tiny patches, compute \vec{E}\cdot d\vec{A} on each, and add them up (an integral). The one number that matters most is the net flux out of a closed surface — count lines leaving as positive, lines entering as negative.

Gauss's law: flux counts the charge inside

Here is the beautiful fact. Take any closed surface — a 'Gaussian surface', real or imaginary, any shape. The net electric flux out through it depends only on the total charge enclosed, and on nothing else — not the shape of the surface, not where the charge sits inside, not any charges outside. That is Gauss's law.

\Phi_E = \oint \vec{E}\cdot d\vec{A} = \frac{Q_{\text{enc}}}{\varepsilon_0}

Gauss's law: the net electric flux out of any closed surface equals the enclosed charge divided by ε₀.

Why it is powerful: symmetry solves the field

Gauss's law is always true, but it is useful when the charge is symmetric enough that you can guess the field's direction and see that its magnitude is constant over a cleverly chosen surface. Then \oint \vec{E}\cdot d\vec{A} collapses to E\times(\text{area}) and you solve for E in a single line — no integrals, no superposition sums.

A spherical Gaussian surface around a point charge: every field line that leaves the charge pierces the sphere exactly once, so the flux is the same for any radius — the geometric heart of Gauss's law.

Worked example — a charged sphere. A metal ball of radius R carries total charge Q, spread over its surface. Wrap it in an imaginary sphere of radius r > R. By symmetry \vec{E} points radially and has one magnitude E all over that sphere, whose area is 4\pi r^2. Gauss's law gives E\,(4\pi r^2) = Q/\varepsilon_0, so

E = \frac{1}{4\pi\varepsilon_0}\frac{Q}{r^2} = k\,\frac{Q}{r^2} \quad (r>R)

Outside a spherical charge, the field is identical to that of a point charge Q at the centre — proved in one line by Gauss's law.

The same trick gives the field of an infinite charged plane, E = \sigma/(2\varepsilon_0) (independent of distance!), and of a long charged wire, E = \lambda/(2\pi\varepsilon_0 r). Each idealizes the geometry — no plane is truly infinite — but they are excellent near a large flat plate or a long straight wire, far from the edges.

Conductors in equilibrium: a bonus theorem

Gauss's law hands you a striking result about conductors. Inside a conductor in equilibrium the field must be exactly zero — if it weren't, the free electrons would keep moving until it was. Wrap a Gaussian surface just inside the material: zero field means zero flux, so zero enclosed charge. Therefore all excess charge on a conductor must sit on its outer surface.