Electricity & Magnetism
Advanced

Gauss's Law

Electric flux through a closed surface.

Formula

ΦE=Qencε0\Phi_E = \frac{Q_{enc}}{\varepsilon_0}

Variables

Q_{enc}Enclosed charge
\varepsilon_0Permittivity

Example

The electric flux out of any closed surface depends only on the charge inside it.

How it works

Gauss’s law says that if you imagine any closed surface around some charges, the net electric flux through that surface is set only by the total charge inside it, not by the surface’s size or shape. It works because electric field lines originate on positive charge and terminate on negative charge, so the net number crossing a closed boundary is a direct measure of enclosed charge. In symmetric situations, this turns a difficult field problem into a much simpler flux calculation.

When to use it

Use this law when a problem has high symmetry—spherical, cylindrical, or planar—because it can let you find the electric field much faster than summing contributions from individual charges. It is also useful for checking whether a proposed electric field is physically consistent with a given charge distribution.

Worked example, step by step

A spherical Gaussian surface encloses a net charge of 3.5 nC. Given: Q_enc = 3.5 × 10^-9 C, ε0 = 8.854 × 10^-12 C^2/(N·m^2) Use Gauss’s law: ΦE = Q_enc / ε0 Substitute values: ΦE = (3.5 × 10^-9) / (8.854 × 10^-12) Calculate: ΦE ≈ 3.95 × 10^2 N·m^2/C Final answer: ΦE ≈ 395 N·m^2/C

Common mistakes to avoid

  • using the total charge outside the surface instead of only the enclosed charge
  • forgetting that Gauss’s law gives flux through a closed surface, not the electric field directly
  • missing the sign of the enclosed charge, which determines whether the net flux is positive or negative

Did You Know?

Gauss's law is one of Maxwell's four equations that together describe all of electromagnetism.

Share this formula

Reviewed & maintained by the FormulaWon editorial teamLast reviewed September 2026