Gauss's law says that the net electric flux through any closed surface equals the charge enclosed by that surface divided by . In SI units,
Here is the total charge inside the surface. The law is always true, but it is most useful when symmetry lets you turn the flux integral into a simple expression for .
Electric flux in plain language
Electric flux measures how much electric field passes through a surface. Only the component of perpendicular to the surface counts:
If the field runs parallel to the surface, it contributes zero flux there. If it points outward through the surface, the contribution is positive; if it points inward, the contribution is negative.
For Gauss's law, the surface must be closed, such as a sphere, cylinder, or box. An open sheet is not enough.
What Gauss's law does and does not say
Gauss's law does not say that the electric field at each point depends only on the enclosed charge. It says that the net flux through a closed surface is set by the enclosed charge.
That distinction matters. Charges outside the surface can change the field at points on the surface, but their total contribution to the net flux through that closed surface is zero.
When Gauss's law is useful for finding the electric field
Gauss's law is most powerful when symmetry tells you something simple about the field on a carefully chosen Gaussian surface.
The standard cases are:
- Spherical symmetry, such as a point charge or uniformly charged sphere.
- Cylindrical symmetry, such as an ideal infinite line of charge.
- Planar symmetry, such as an ideal infinite sheet of charge.
In these cases, you can often pull out of the integral because its magnitude is constant on the chosen surface and its direction relative to is simple.
If the charge distribution lacks that symmetry, Gauss's law is still true, but it usually does not give directly.
Worked example: electric field of a point charge
Suppose a point charge sits at the center of an imaginary sphere of radius . Because the situation has spherical symmetry, the electric field is radial and has the same magnitude everywhere on that sphere.
For a sphere, the area vector points radially outward, so is parallel to everywhere on the surface. That makes the dot product simple:
The enclosed charge is just , so Gauss's law gives
Solving for gives
This is the familiar electric field of a point charge. The important idea is that Gauss's law became easy to use only because the symmetry told us the field had the same magnitude everywhere on the sphere.
Why the result scales like
If you double the radius of the sphere, its area becomes four times larger. The same enclosed charge is now spread over four times the area, so the field drops by a factor of .
That area argument is why the field of a point charge scales like .
Common mistakes
Confusing flux with field
Flux is not the same thing as electric field. Flux is a surface integral, so a strong field at some points does not automatically mean large net flux.
Using an open surface
Gauss's law in this form requires a closed surface. A disk or flat patch by itself does not enclose charge.
Forgetting the symmetry condition
Students often write too early. That shortcut is valid only when the field magnitude is constant on the chosen surface and the angle between and is fixed or otherwise easy to handle.
Thinking zero enclosed charge means zero field
If , then the net flux is zero. The field on the surface can still be nonzero because charges outside the surface may be present.
Where Gauss's law is used
Gauss's law is used to derive electric fields for highly symmetric charge distributions, to analyze conductors in electrostatic equilibrium, and to connect charge density to field behavior in Maxwell's equations.
In an introductory course, its main practical value is speed. When the symmetry is strong, it turns a long field calculation into a short argument.
Differential form of Gauss's law
In vacuum, Gauss's law can also be written locally as
Here is the volume charge density. This form says electric charge acts as a source of electric field divergence.
For most first-pass problems, the integral form is the better starting point because it connects directly to Gaussian surfaces and symmetry.
Try a similar problem
Try the same spherical argument for a uniformly charged spherical shell, first outside the shell and then inside it. That next example makes the roles of symmetry, enclosed charge, and distance much clearer.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →