← thecodex.expert
Electromagnetism Hub Maxwell's Equations (Equation Page)
Definition Curious Exploring Deep Dive Sources
Electrostatics · Concept · Full equation page

Gauss's Law

Reading time: 8 minConfidence: HighLast verified: July 2026

Gauss's law states that the net electric flux passing through any closed surface is proportional to the total electric charge enclosed within that surface, regardless of the charge's exact position or distribution inside it.

Curious

One sentence that captures itDraw any imaginary closed bubble around some charge, and the total amount of electric field "leaking" out through that bubble's surface depends only on how much charge is inside — not on where inside, or on any charge sitting outside the bubble.

Imagine an imaginary balloon-shaped surface surrounding some electric charges. Gauss's law says that if you carefully add up the electric field poking outward through every point of that balloon's surface (a quantity called electric flux), the total only depends on how much net charge is trapped inside — it doesn't matter whether that charge is one lump in the centre, or split into pieces scattered around, or how any charges outside the balloon are arranged.

This might sound like just a bookkeeping trick, but it becomes an extremely powerful shortcut whenever a charge distribution has some symmetry (spherical, cylindrical, or planar) — instead of adding up the contribution from every bit of charge individually (as Coulomb's law would require), Gauss's law often lets you find the field with a few lines of algebra.

Exploring

Real-world exampleGauss's law explains why the interior of a hollow charged conductor (like a car during a lightning strike, or a Faraday cage) is completely shielded from external electric fields: any imaginary Gaussian surface drawn just inside the conductor's cavity encloses zero net charge, forcing the field within to be exactly zero, regardless of how strong the external field is.
Φ_E = ∮ E · dA = Q_enc/ε₀
SymbolNameSI Unit
Φ_EElectric flux through the closed surfaceN·m²/C
Q_encTotal charge enclosed by the surfaceC
ε₀Vacuum permittivityF/m
Common mistake — Commonly ConfusedGauss's law relates total enclosed charge to total flux — it does not, by itself, tell you the field's value at every point unless the charge distribution has enough symmetry to pull E outside the flux integral as a constant. For arbitrary, non-symmetric charge arrangements, Gauss's law remains true but is not a practical shortcut for finding E directly; you'd fall back on Coulomb's law and superposition, or full numerical methods.

Worked example: A solid sphere carries a uniform charge Q = 4 µC. Using a spherical Gaussian surface of radius r = 0.3 m outside the sphere, by symmetry E is constant over the surface and points radially, so E(4πr²) = Q/ε₀, giving E = Q/(4πε₀r²) = kQ/r² = (8.99×10⁹)(4×10⁻⁶)/(0.3)² ≈ 3.996 × 10⁵ N/C — recovering exactly the same result Coulomb's law would give for a point charge, confirming that a uniformly charged sphere behaves, from outside, exactly like a point charge at its centre.

Deep Dive

Primary sourceGauss, C.F. (1867). Werke, Vol. 5. Göttingen: Königliche Gesellschaft der Wissenschaften. (Collected works; original results date to 1835, published posthumously.)

Gauss's law is one of Maxwell's four equations (see the full Maxwell's Equations page for the complete set and the electromagnetic wave derivation). Mathematically, it follows directly from Coulomb's law via the divergence theorem: integrating the point-charge field over any closed surface and applying the divergence theorem converts the surface integral of E into a volume integral of ∇·E, yielding the differential form ∇·E = ρ/ε₀ used throughout modern electrodynamics.

Symmetry-based technique: Gauss's law is a practical calculational tool specifically because certain charge distributions (spherical, infinite line, infinite plane) have enough symmetry to guarantee the electric field's magnitude is constant over a cleverly chosen Gaussian surface and always points perpendicular to it — under these conditions, the flux integral collapses to E multiplied by the surface area, letting E be solved for algebraically rather than through direct integration over the charge distribution.

The same mathematical structure (a conserved or flux-related quantity related to an enclosed source) recurs throughout physics: Gauss's law for magnetism (∇·B = 0, reflecting the absence of magnetic monopoles), and analogous "Gauss's law" formulations appear in gravity and in general relativity's treatment of enclosed mass-energy.

Sources

  • Gauss, C.F. (1867). Werke, Vol. 5. Königliche Gesellschaft der Wissenschaften, Göttingen.
  • Griffiths, D.J. (2017). Introduction to Electrodynamics, 4th ed. Cambridge University Press, Ch. 2.
Last verified: July 2026 · Source: Griffiths (2017) · Confidence: high