Physics

Gauss Law

Apply spherical Gauss law to a uniformly charged solid sphere or an ideal infinitely thin charged spherical shell.

By Riano · Published · Updated · Report a correction

Gauss Law

Concept Overview

Gauss's Law relates the electric flux through any closed surface (a Gaussian surface) to the net charge enclosed by that surface. For highly symmetric continuous charge distributions like spheres, cylinders, and planar sheets, Gauss's law allows for straightforward calculation of the electric field.

Worked Example

Consider finding the enclosed charge, electric field, and outward flux for a uniform solid sphere using the standard rounded constants.

  1. Given values: Total charge Q = 1 nC, charge radius R = 1 m, Gaussian radius r = 0.5 m, distribution = Uniform solid sphere.
  2. Identify the enclosed charge Qenc: Because r < R, the volume enclosed by the Gaussian surface is a fraction of the total volume. Qenc = Q * (r / R)3 = 1 nC * (0.5 / 1)3 = 1 nC * 0.125 = 0.125 nC.
  3. Calculate Electric Field E: Using Coulomb's constant k = 8.99e9 N·m2/C2, the electric field at distance r is E = k * Qenc / r2. Substituting our values (converting nC to C exactly by 1e-9): E = 8.99e9 * (0.125e-9) / (0.5)2 = 1.12375 / 0.25 = 4.495 N/C.
  4. Calculate Outward Flux: Flux = 4 * π * k * Qenc = 4 * π * 8.99e9 * 0.125e-9 = 4.495 * π N·m2/C.

Experiment

You can interact with the Gauss Law module to observe these relationships dynamically.

  1. Change the Charge distribution to Uniform solid sphere.
  2. Set the Total charge Q to 1.
  3. Set the Charge radius R to 1.
  4. Set the Gaussian radius r to 0.5. Observe the calculated Qenc = 0.125 nC, E = 4.495 N/C, and flux = 4.495π ≈ 14.121459 N·m2/C.
  5. Change the Gaussian radius r to 2. Since r > R, Qenc now equals the total charge (1 nC), and E = 2.2475 N/C with flux = 35.96π ≈ 112.97167 N·m2/C.
  6. Change the Charge distribution to Thin spherical shell and set r to 0.5. Notice that Qenc = 0, E = 0, and flux = 0 despite the nonzero total shell charge.

Model Limitations

This experiment fixes the rounded teaching constant k = 8.99e9 N·m2/C2 and defines ε0 = 1/(4πk) consistently. Values are displayed with at least six significant digits; calculations retain full working precision before rounding.

Additionally, this mathematical model assumes idealized continuous charge distributions (perfect spheres and infinitely thin shells). At the exact boundary of a thin spherical shell (r = R) with nonzero charge, the electric field and enclosed-surface flux undergo a discontinuity. The module labels the inside and outside limits separately. The corresponding enclosed-charge limits are zero and Q. No single enclosed-charge, local-field or flux value is displayed on the nonzero charged sheet. When Q = 0, field and flux remain zero at the surface.

References

The following primary sources provide a deeper dive into the derivations and applications of Gauss's Law, as well as the idealized approximations used in introductory physics.

Experience it interactively

Adjust parameters, observe in real time, and build deep intuition with Riano’s interactive Gauss Law module.

Try Gauss Law on Riano →

More in Physics