Gauss's Law & Electric Flux Visualizer
Select a charge distribution, adjust parameters, and see how Gauss's Law determines the electric field. Interactive 2D cross-sections, step-by-step KaTeX derivations, and E(r) field plots for five fundamental geometries.
Parameters
2D Cross-Section
E(r) Field Magnitude vs Distance
Results for Point Charge
Step-by-Step Gauss's Law Derivation
Reference Guide
Gauss's Law
The total electric flux through any closed surface equals the enclosed charge divided by the permittivity of free space.
where is the permittivity of free space. The integral is over the entire closed Gaussian surface.
Symmetry Arguments
Gauss's Law is most useful when the charge distribution has high symmetry, letting you pull E out of the integral.
- Spherical (point charge, charged sphere) uses a spherical Gaussian surface
- Cylindrical (line charge, charged cylinder) uses a cylindrical surface
- Planar (infinite plane) uses a pillbox surface
In each case, the symmetry ensures E is constant on the Gaussian surface and either parallel or perpendicular to the area element.
Common Distributions
Electric Flux
Electric flux measures how much electric field passes through a surface. For a uniform field passing through a flat area at angle ,
Flux is positive when field lines exit the surface and negative when they enter. The net flux through a closed surface depends only on the enclosed charge, not on charges outside.