Physics Laws & Theorems
Advanced

Gauss's Law

Electric flux through a closed surface is proportional to the enclosed charge.

Formula

∮E⃗⋅dA⃗=Qε0\oint \vec{E} \cdot d\vec{A} = \frac{Q}{\varepsilon_0}

Variables

\vec{E}Electric field
QEnclosed 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 the total electric field flowing outward through any closed surface is set entirely by the net charge inside that surface. Charges outside the surface can distort the field at different points on the surface, but their contributions cancel in the total flux. This works because electric field lines begin on positive charge and end on negative charge, so counting how many lines pass through a closed boundary is equivalent to counting the enclosed charge; the constant 1/ε0 converts that charge into the correct field-flux scale.

When to use it

Use Gauss’s law when a charge distribution has enough symmetry that the electric field is constant over a convenient closed surface, such as spherical, cylindrical, or planar symmetry. It is especially useful for finding electric fields of charged spheres, long wires, infinite sheets, and conducting surfaces.

Worked example, step by step

A spherical Gaussian surface encloses a total charge of Q = 3.0 × 10^-9 C. Use ε0 = 8.85 × 10^-12 C^2/(N·m^2). Gauss’s law gives the total electric flux: ΦE = Q / ε0 Substitute the values: ΦE = (3.0 × 10^-9) / (8.85 × 10^-12) Compute the ratio: ΦE ≈ 3.39 × 10^2 N·m^2/C Final answer: ΦE ≈ 339 N·m^2/C outward through the closed surface.

Common mistakes to avoid

  • Using the total charge in the universe instead of only the charge enclosed by the surface
  • Forgetting that Gauss’s law gives total flux, not directly the electric field unless symmetry is used
  • Mixing up the sign of Q and therefore the direction of the net flux

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