Gauss's law

Gauss's law relates the net electric flux through a closed surface to the net electric charge enclosed by it. It is one of Maxwell's equations and can be expressed in integral or differential form. The law applies to any charge distribution, while its use to calculate an electric field directly is especially powerful when the distribution has strong symmetry.

Last updated
29 October 2026
Confidence
High (98%)
Sources
5
Versions
1
This article was researched and drafted with AI assistance and checked by an automated review pass. It is not guaranteed to be accurate — verify important facts against the references below.

Statement

In vacuum, the integral form of Gauss's law is ∮ₛ E · dA = Qₑₙc/ε₀. Here E is the total electric field on the closed surface S, dA is an outward-directed area element, Qₑₙc is the net charge within the surface, and ε₀ is the vacuum permittivity. Electric flux is the surface integral of the field through the surface. The law says that the net outward flux depends on the enclosed net charge, not on the shape or size of the chosen closed surface.

Gaussian surfaces and enclosed charge

A Gaussian surface is an imaginary closed surface chosen to evaluate electric flux; it need not coincide with a physical object. Charges inside contribute to the enclosed-charge term. Charges outside do not change the net flux through the closed surface, although their fields can contribute to the total electric field at points on it. If the net enclosed charge is zero, the net flux is zero, but the electric field need not be zero everywhere on the surface.

Using symmetry

Gauss's law is valid regardless of symmetry, but solving for the electric field becomes simpler when the charge distribution has spherical, cylindrical, or planar symmetry. A suitable Gaussian surface can then make the field magnitude constant on part or all of the surface, or make the field perpendicular to selected surface elements, simplifying the flux integral. For an arbitrary irregular charge distribution, the law alone generally does not determine the field at every point without additional information or methods.

Differential form and Maxwell's equations

Using the divergence theorem, the integral law can be written in differential form as ∇ · E = ρ/ε₀, where ρ is the local charge density. This states locally that electric charge density is a source of electric field. The relation is one of Maxwell's equations, a set of foundational equations for classical electromagnetism. In matter, equivalent formulations can use the electric displacement field and free charge, with the chosen form depending on how material polarization is represented.

Relation to Coulomb's law

For electrostatic charge distributions, Gauss's law and Coulomb's inverse-square law are closely related: under the usual assumptions, either can be derived from the other. The symmetry method provides a particularly direct route from Gauss's law to electric fields around idealized charge distributions such as spherical shells or uniformly charged infinite lines and planes.

Key facts

Integral form
∮ₛ E · dA = Qₑₙc/ε₀ in vacuum.
Differential form
∇ · E = ρ/ε₀ in vacuum.
Surface
A Gaussian surface is any closed mathematical surface used to calculate electric flux.
Practical use
Spherical, cylindrical, or planar symmetry can simplify finding the electric field.

Ask about this article

Answers use only “Gauss's law” and its references, with citations.

References

  1. 1.
    6.2 Explaining Gauss’s Law - University Physics Volume 2

    OpenStax, Rice University · other · reliability: unverified · retrieved 29 October 2026

    Supports: Explains the flux law, Gaussian surfaces, enclosed charge, and the distinction between applying the law generally and using symmetry to find fields.

  2. 2.
    6.3 Applying Gauss’s Law - University Physics Volume 2

    OpenStax, Rice University · other · reliability: unverified · retrieved 29 October 2026

    Supports: Describes how spherical, cylindrical, and planar symmetry permit useful Gaussian-surface calculations.

  3. 3.
    Gauss's Law

    The Physics Hypertextbook · other · reliability: unverified · retrieved 29 October 2026

    Supports: Presents integral and differential forms and worked examples for symmetric charge distributions.

  4. 4.
    Maxwell's Equations

    HyperPhysics, Georgia State University · other · reliability: unverified · retrieved 29 October 2026

    Supports: Summarizes electric flux through a closed surface, enclosed charge, and applications to field calculations.

  5. 5.
    17.5: Electric Flux and Gauss’s Law

    Physics LibreTexts · other · reliability: unverified · retrieved 29 October 2026

    Supports: Discusses electric flux, Gauss's law, its role among Maxwell's equations, and its relationship to Coulomb's law.

References are suggested by the research engine and may be incomplete. Unverified URLs are omitted rather than guessed.

Article history

  1. Version 129 October 2026 · EditorCreated by Zapia