Imagine a boundary around the charges
Imagine a closed boundary around some charges. At some places the field points outwards; elsewhere it may point inwards or along the surface. Flux counts outward normal components positively and inward components negatively. Every surface patch must be included. The balance depends on enclosed positive minus negative charge; one patch alone is insufficient.[1]
- Prior knowledge: electric field is a vector. Its dot product with the outward surface normal selects the normal component.
- A Gaussian surface is selected for calculation. It adds no conductor and does not change the original field.
- Separate total flux from local field. The law answers the first question without symmetry.
What does Gauss’s law state, and what are the units of flux?
Total electric flux through a closed surface equals enclosed net charge divided by . Use the full field and outward normal. Electric flux is measured in ; it is not magnetic flux.[1]
Normal points outward; enclosed positive and negative charges are summed algebraically.[1]
A Gaussian surface is a mathematical surface, not an added conducting shell. The integrand uses the full field on it, including contributions from external charges. Those sources affect local field values but give no net flux through the complete closed surface. Zero enclosed net charge therefore means zero total flux, not necessarily zero field.[1]
How do you calculate electric flux through a surface?
θ is the angle between local field and outward normal, not between field and the surface.[1]
Outward contribution is positive, inward contribution negative and tangential contribution zero. Only a constant normal projection across a surface part permits its integral to become projection times area. An open measurement rectangle may have field flux, but that flux is not automatically because an open surface has no enclosed interior.[1]
Explore further: solid angle and local form
For a point source, signed solid-angle projection connects inverse-square field to surface-area scaling.[1]
Coulomb’s law supplies the point-charge field used here. For a central point charge on a sphere the check is direct: , area and unit normal projection give . More generally, oriented solid-angle balance over a closed surface is 4π for an enclosed point source and 0 for an external one. Vector superposition sums all contributions. This establishes the law within the Coulomb model rather than proving a universal natural fact from the flux definition alone. Avoid charges exactly on the chosen surface in this simple source-counting argument.[1]
The local form follows from the divergence theorem for suitably smooth fields; ideal point sources require a distributional interpretation.[1]
How do you choose a Gaussian surface to calculate the field?
A convenient surface does not create symmetry. First inspect the charge distribution and other sources. Only when these are, for example, spherically symmetric is radial field constant on a concentric sphere. Otherwise total flux is still known, but varying field cannot be pulled outside the integral as a common value.[2]
Spherical symmetry about a centre gives a radial field of equal magnitude on each concentric sphere. The electric field of an infinite line charge has cylindrical symmetry: it gives radial side flux, while end-cap flux is zero. The field is tangential to those faces; its magnitude need not be zero. Planar symmetry of an ideal infinite sheet gives a normal field on both sides. Merely drawing a spherical Gaussian surface does not make an arbitrary charge distribution spherically symmetric.[2]
here is a signed radial component. Enclosed charge may depend on radius.[2]
Interior field of a uniformly charged insulating sphere
Free with a Quanta account. Your download stays ready after registration.
Sphere and cube: distinguish charge, field and flux
Zero enclosed net charge does not necessarily mean zero field: the third example has a uniform field whose flux contributions cancel. The charged sphere in the second example is insulating with fixed volume charge; a conductor in electrostatic equilibrium has a different interior field model.[1][2]
Flux through a cube without field symmetry
- Given
- A cube of side 0.120 m encloses fixed point charges +3.00 nC and −0.500 nC at different interior locations. No charge lies on a face; external sources may be present. Vacuum model.
- Find
- Find total flux and state whether this determines E on every face.
Approach: Total flux requires only algebraic enclosed charge; cube geometry without symmetry does not supply local field values.
Sum interior sources with signs.
Total flux is independent of cube shape and side length.
Result: ≈282.352 N·m2/C. Without further symmetry this determines neither local field nor equal flux through the six faces.
Check: A larger closed surface enclosing the same charges has the same total flux. External sources do not change the sum even though they can change its distribution among faces.
Uniformly charged insulating model sphere
- Given
- A nonconducting sphere has fixed uniform volume charge density, radius and total charge . Vacuum environment and no other sources. Find fields at and .
- Find
- Find enclosed charge and signed radial fields.
Approach: Uniform fixed volume charge and spherical symmetry give enclosed charge first, then the signed radial field component.
Inside, enclosed charge grows with sphere volume.
The interior Gauss solution is proportional to radius.
Outside, all charge is enclosed.
Result: Both fields point inward. At half the radius only one eighth of charge is enclosed; outside the inverse-square relation holds.
Check: At , both forms give the same value of about −8425.8298 N/C. Inside, . A conducting equilibrium sphere is a different model with zero interior field.
Flux with no enclosed charge
- Given
- A cube of side 4.00 cm lies in a uniform field along +x. It contains no charge; its faces are perpendicular to the coordinate axes.
- Find
- Find flux through the right and left faces and through the whole boundary.
Approach: each flat face has . Outward normals of the two x-faces point oppositely.
Substitute: convert side length to metres before squaring.
Result: Net flux is zero even though field magnitude is 250 N/C everywhere. The other four faces contribute zero because the field is tangent to them.
Check: Gauss independently gives . Equal incoming and outgoing flux confirms the balance, not a vanishing field.
Which charge belongs in the flux laws for E and D?
For actual electric field E, Gauss’s law contains total enclosed charge, both free and bound. Do not simply replace by while still using the same total charge. In macroscopic material modelling, displacement field D satisfies the flux balance for free charge. Only with a suitable linear isotropic constitutive law does hold.[4][6]
Inside conducting material in electrostatic equilibrium, . A Gaussian surface there therefore encloses zero net charge. This does not mean every region associated with a conductor is charge free: excess charge can reside on surfaces and cavities may contain sources. The uniformly charged insulating example must not be confused with mobile charges in a conductor.[2]
Five flux and symmetry exercises
Calculate · Foundation
A closed surface encloses +4.00 nC and −7.00 nC. Find total flux.
Show hint
Add charges algebraically, not by magnitude.
Learning goal: Convert enclosed net charge to total flux.
Show solution and calculation
Model and approach: Add enclosed charges algebraically, not their magnitudes.
=−3.00 nC.
≈−338.823 N·m2/C.
Negative sign means net inward flux.
Check: .
Interpret · Application
A central positive charge +1.00 nC lies inside concentric spheres of radii 0.0500 m and 0.100 m. Compare fields and total fluxes.
Show hint
Field scales as ; total flux counts charge.
Learning goal: Separate radius-dependent field from radius-independent total flux.
Show solution and calculation
Model and approach: The positive point charge is at the common centre, so field is radial.
The larger sphere has one quarter of the field magnitude.
Both fluxes are ≈112.941 N·m2/C.
Field and flux are distinct quantities.
Check: .
Interpret · Application
A uniform external field points along +x through an empty cube. Is E zero because =0?
Show hint
Compare entry and exit faces.
Learning goal: Explain zero total flux despite nonzero field.
Show solution and calculation
Model and approach: Use outward normals, opposite on the two x-faces.
No.
The two x faces contribute −EA and +EA; the other four have tangential field and zero flux.
Total flux is zero despite nonzero field.
Interpret · Application
A spherical surface encloses one point charge q. The charge moves from the sphere centre to another interior point without crossing the surface. Compare total flux before and after. May field still be treated as uniform and normal over the sphere?
Show hint
Gauss counts enclosed charge; pulling E outside the integral needs additional symmetry.
Learning goal: Recognize flux invariance without a uniform surface field.
Show solution and calculation
Approach: enclosed charge remains q, so total flux remains .
Off centre, distances and angles vary across the surface; using with one magnitude is unjustified.
Check: the charge has not crossed the surface, so the flux balance still applies. Individual surface regions can change contributions while the total stays fixed.
Error analysis · Challenge
A closed mathematical surface encloses +2.00 nC free and −0.50 nC net bound charge. A solution uses only for ∮E·dA. Correct using ε0=8.8541878×10−12 F/m. The requested quantity is E flux, not D flux.
Show hint
The electric Gauss law with ε0 uses total enclosed charge.
Learning goal: Distinguish total charge in E flux from free charge.
Show solution and calculation
Approach: .
E flux is about 169.411 N·m2/C, not 225.882 N·m2/C.
Check: returns 1.50 nC. The displacement-field D balance instead counts free charge; its quantity and units cannot be equated to E flux. These net charges determine total flux but no local surface field without symmetry.
Distinguish electric and magnetic Gauss laws
Electric Gauss balance remains a Maxwell law for asymmetric or time-varying sources; static symmetries do not automatically solve a time-dependent problem. An enclosed charge of 2.0 nC gives . For the sole central charge, field magnitude at 0.10 m is about 1.80 kN/C. Finite asymmetric systems additionally require source geometry, boundary conditions or a field solution; net flux must not be distributed uniformly over an arbitrary surface. Maxwell’s equations in integral form supplement electric charge accounting with the magnetic law: net flux through a closed surface is zero. This likewise does not mean that the field vanishes everywhere.[1][2][7]
What to take away
- Closed flux counts enclosed net charge; external sources can still change local field.
- Zero net flux does not mean zero field. Incoming and outgoing contributions may cancel.
- Calculating local field requires additional symmetry of the source arrangement. The E-field balance counts free plus bound charge.
Sources for this explanation
Quanta · Updated October 1, 2026
- OpenStax UP2 §6.2: Explaining Gauss’s Law
- OpenStax UP2 §6.3: Applying Gauss’s Law
- OpenStax UP2 §5.4: Electric Field
- OpenStax UP2 §8.5: Molecular Model of a Dielectric
- NIST CODATA2022: full constants table, vacuum permittivity and electron mass
- MIT8.02 Chapter5: Capacitance and Dielectrics
- OpenStax UP2 §16.1: Maxwell’s Equations and Electromagnetic Waves
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 3 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An internal human subject review is documented for an earlier release of this page. That confirmation does not apply automatically to the revised explanation and new exercises.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Clarified total flux, units and symmetry; distinguished zero end-cap flux from zero field and made existing examples and links to line charge, Coulomb and Maxwell accessible.
- Added two exercises; labelled all five by task type, difficulty and learning goal.
- Added an accessible entry and prerequisites, explained model steps, and added a complete example and quantitative diagram; retained existing examples, five exercises and sources.
Cite this reference page
Quanta. Gauss's Law for Electrostatics. Updated October 1, 2026. https://quanta-study.de/en/formula-sheet/gauss-gesetz-elektrisches-feld
When citing a specific scientific statement, also cite the specialist source linked to that statement.