Gauss’s Law

Gauss’s law states that the total electric flux through any closed surface is proportional to the total electric charge enclosed by that surface. It’s one of the four Maxwell equations of electromagnetism and the most powerful tool for calculating electric fields when the situation has high symmetry. Where Coulomb’s law gives the field from individual charges, Gauss’s law gives the field from any charge distribution that has spherical, cylindrical, or planar symmetry — often in one line of algebra.

Gauss's law illustration — spherical Gaussian surface enclosing a point charge with radial electric field lines.
Gauss’s law: the total electric flux through a closed surface equals the enclosed charge divided by ε₀.

The Law

For any closed surface (a ‘Gaussian surface’) enclosing total charge \( Q_{\text{enc}} \):

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

where \( \varepsilon_0 = 8.854 \times 10^{-12} \) C²/(N·m²) is the permittivity of free space. The integral is over the closed surface, with \( d\vec{A} \) pointing outward at every point. Flux has units of N·m²/C or V·m.

What Flux Means

Electric flux measures how much electric field ‘pierces’ a surface. For a uniform field perpendicular to a flat area: \( \Phi = EA \). For a tilted surface: \( \Phi = EA\cos\theta \). For a curved surface or non-uniform field: integrate over the surface. Gauss’s law says the total flux through a closed surface depends only on the enclosed charge — not on the position of the charge inside, not on charges outside, and not on the surface’s shape.

Strategy: Symmetry First

Gauss’s law is most useful when you can pick a Gaussian surface where the field’s magnitude is constant and its direction is everywhere parallel or perpendicular to the surface. The integral collapses to a simple product.

  • Spherical symmetry (point charge, uniformly charged ball or shell): Gaussian sphere.
  • Cylindrical symmetry (infinite line of charge, infinite charged cylinder): Gaussian cylinder.
  • Planar symmetry (infinite charged sheet, parallel-plate capacitor): Gaussian ‘pillbox’ straddling the plane.

Three Classic Results

Point charge. A Gaussian sphere of radius \( r \) around a charge \( Q \) gives flux \( E \cdot 4\pi r^2 = Q / \varepsilon_0 \), so \( E = Q / (4\pi\varepsilon_0 r^2) \) — Coulomb’s law falls out as a special case.

Infinite line of charge. Charge per unit length \( \lambda \). A Gaussian cylinder of radius \( r \) and length \( L \) gives \( E \cdot 2\pi r L = \lambda L / \varepsilon_0 \), so \( E = \lambda / (2\pi\varepsilon_0 r) \) — field falls off as \( 1/r \), not \( 1/r^2 \).

Infinite sheet of charge. Surface charge density \( \sigma \). A Gaussian pillbox of area \( A \) gives \( 2EA = \sigma A / \varepsilon_0 \), so \( E = \sigma / (2\varepsilon_0 ) \) — the field is uniform and doesn’t depend on distance from the sheet.

Worked Example: Uniformly Charged Sphere

A solid sphere of radius \( R \) carries total charge \( Q \) distributed uniformly throughout its volume. Find \( E \) inside and outside.

Outside (\( r > R \)): Gaussian sphere of radius \( r \) encloses the full charge \( Q \). So \( E(4\pi r^2) = Q/\varepsilon_0 \), giving \( E = Q/(4\pi\varepsilon_0 r^2) \) — same as if all the charge were at the center.

Inside (\( r < R \)): Gaussian sphere encloses only the fraction \( (r/R)^3 \) of the total charge. So \( E(4\pi r^2) = Q(r/R)^3 / \varepsilon_0 \), giving \( E = Qr/(4\pi\varepsilon_0 R^3) \) — field grows linearly from zero at the center to the surface value.

Why It Matters

  • Maxwell’s equations. Gauss’s law is the first of Maxwell’s four equations. The other three are Gauss’s law for magnetism (no magnetic monopoles), Faraday’s law (changing B makes E), and Ampère-Maxwell law (current and changing E make B).
  • Conductors at equilibrium. A direct consequence: in any conductor in electrostatic equilibrium, all excess charge resides on the outer surface and the field inside is exactly zero. This is why a Faraday cage shields its contents from external fields.
  • Capacitor design. The uniform field between parallel-plate capacitor plates follows directly from the infinite-sheet result.
  • Astrophysics. The gravitational analogue (Gauss’s law for gravity) makes calculating the gravitational field inside a uniform planet trivial — and explains why a satellite orbiting Earth doesn’t feel anything from the mass interior to its orbital radius.

Related study notes: Coulomb’s Law, Electric Field, Maxwell’s Equations, Capacitance.

Frequently Asked Questions

What does Gauss’s law state?

The total electric flux through any closed surface equals the total charge enclosed by that surface divided by ε₀ (the permittivity of free space). In symbols: ∮ E · dA = Q_enclosed / ε₀. The flux depends only on the enclosed charge — not on charges outside the surface or on the surface’s shape.

When is Gauss’s law most useful?

When the charge distribution has high symmetry — spherical, cylindrical, or planar. You pick a Gaussian surface that respects the symmetry, so the field magnitude is constant and direction is uniform across the surface. The integral collapses to E times the area, and you can solve for E in one line. Without symmetry, Gauss’s law is still true but isn’t a useful calculation tool.

Is Gauss’s law the same as Coulomb’s law?

Mathematically equivalent for static charges. Coulomb’s law gives the force between point charges directly. Gauss’s law is the integral form of the same physics and is easier to apply to extended charge distributions with symmetry. Coulomb’s law is the consequence of Gauss’s law plus the inverse-square geometry of three-dimensional space.

Why is the field inside a conductor zero?

Apply Gauss’s law to a tiny surface just inside a conductor in equilibrium. If there were any field inside, free electrons would respond to it and move — but in equilibrium nothing is moving. Therefore the field inside must be zero, which means any enclosed charge is also zero. All excess charge ends up on the conductor’s outer surface.

What is a Faraday cage?

An enclosure made of conducting material. Because the field inside a conductor in equilibrium is zero, the interior of the cage is shielded from external static and slowly-varying electric fields. Charges on the cage redistribute to cancel the external field. Faraday cages protect electronics from EMI, keep aircraft passengers safe from lightning, and shield MRI rooms from radio interference.

How does Gauss’s law fit into Maxwell’s equations?

It’s the first of the four equations. Maxwell’s equations are: (1) Gauss’s law for electricity (this one), (2) Gauss’s law for magnetism (no magnetic monopoles), (3) Faraday’s law of induction, (4) Ampère’s law with Maxwell’s correction. Together they describe all of classical electromagnetism, including light as an electromagnetic wave.