Calculate electric field and flux for spherical, cylindrical, and planar symmetries using Gauss's Law. Perfect for physics students and educators.
Gauss's Law is a fundamental principle in electromagnetism that relates the electric field on a closed surface to the net charge enclosed by that surface. It is one of Maxwell's four equations and provides a powerful method for calculating electric fields when the charge distribution possesses high symmetry.
Electric flux (Φ) measures the flow of the electric field through a given area. For a flat surface of area A and a uniform electric field E making an angle θ with the normal to the surface, the flux is:
Φ = E · A = E A cosθ
More generally, for a curved surface and non‑uniform field, the flux is the surface integral:
Φ = ∮S E · dA
where dA is a vector perpendicular to the surface element with magnitude equal to its area.
Integral form:
∮S E · dA = Qenc / ε0
where the circle on the integral sign indicates integration over a closed surface (Gaussian surface).
Differential form (using the divergence theorem):
∇ · E = ρ / ε0
where ρ is the volume charge density. This form relates the divergence of the electric field at a point to the local charge density.
The power of Gauss's Law lies in choosing a surface that matches the symmetry of the charge distribution. The surface should be such that:
Below we outline how the electric field formulas (shown in the table) are obtained from Gauss's Law.
Spherical symmetry (point charge or uniform sphere):
∮ E · dA = E · 4πr² = Qenc/ε₀ ⇒ E = Qenc / (4πε₀ r²).
For a point charge, Qenc = Q. For a uniformly charged sphere of radius R, when r < R, Qenc = Q (r³/R³), yielding E = (Q r) / (4πε₀ R³).
Cylindrical symmetry (infinite line charge):
Take a Gaussian cylinder of radius r and length L. Flux through ends is zero (E parallel to ends). Side flux: E · (2πr L) = λL / ε₀ ⇒ E = λ / (2πε₀ r).
For a uniform cylinder of radius R, inside (r < R) we have λenc = λ (r²/R²), so E = (λ r) / (2πε₀ R²).
Planar symmetry (infinite sheet):
Use a pillbox of area A crossing the sheet. Flux through the two faces: 2 E A = σA / ε₀ ⇒ E = σ / (2ε₀), independent of distance.
Coulomb's Law gives the electric field of a point charge as E = kQ/r². Gauss's Law can be derived from Coulomb's Law, but it is more general: it applies to any closed surface and any charge distribution. In fact, Gauss's Law is equivalent to Coulomb's Law plus the principle of superposition. For symmetric situations, Gauss's Law often provides a much simpler path to the electric field.
Calculator Features: