ResourcesPhysicsElectric Flux & Gauss's Law
PhysicsAP Physics C · A-Level · University

Electric Flux and Gauss's Law

Gauss's law links the electric field on a closed surface to the charge inside it. With the right "Gaussian surface", it turns hard field calculations for spheres, wires and sheets into a few lines of algebra.

This guide covers electric flux, the statement of Gauss's law, how to choose a Gaussian surface, fully worked examples for spherical, line and plane symmetry, conductors, key formulas, common mistakes, and a 10-question practice quiz.

Interactive: Gauss's Law Explorer

Choose a charge distribution, then resize the Gaussian surface. The flux only changes when the enclosed charge changes — and E only depends on distance when the field lines spread out.

0.10 m

Source: Q = 5.0 nC

Q enclosed5.00 × 10⁻⁹ C
Sphere area 4πr²0.126 m²
Flux Φ = Q/ε₀565 N·m²/C
E on surface4.50e+3 N/C
+

E vs distance from the charge

distance (m) → 0.30E

E(4πr²) = Q/ε₀ → E = Q/(4πε₀r²)

1Why Does Gauss's Law Matter?

Coulomb's law tells you the field of a single point charge. For anything bigger — a charged ball, a long wire, a metal plate — you would normally have to add up the fields of millions of tiny charges. Gauss's law offers a shortcut: if the charge is arranged symmetrically, you can find the field by counting how much field passes through an imaginary closed surface.

It is one of the four Maxwell equations, so it is not just a trick for homework. It explains why the field inside a metal box is zero, why charge on a conductor sits on its surface, and why the field between two parallel plates is uniform.

Real-World Examples
  • Faraday cages — a metal shell keeps external electric fields out (why you are safe in a car during lightning)
  • Coaxial cables — the field of a charged inner wire falls off as 1/r, which sets how cables are designed
  • Capacitors — the uniform field between charged plates comes straight from Gauss's law

2What Is Electric Flux?

Electric flux (Φ) measures how much electric field passes through a surface. Picture field lines as rain and the surface as a window: the flux depends on how strong the rain is, how big the window is, and how the window is tilted.

Φ = EA cos θ

E = field strength (N/C), uniform over the surface

A = area of the surface (m²)

θ = angle between E and the surface's normal (the line perpendicular to it)

Units: N·m²/C (the same as V·m)

θ = 0°

Field straight through the surface: maximum flux, Φ = EA

θ = 90°

Field skims along the surface: Φ = 0

Closed surfaces

Normal points outward: field leaving is positive flux, field entering is negative

If the field is not uniform or the surface is curved, you break the surface into tiny patches and add them up: Φ = ∮ E · dA. For the symmetric problems in this guide, E is constant over each part of the surface, so the integral collapses back to "E × area".

Worked Example: Flux Through a Tilted Rectangle

A uniform field of 500 N/C passes through a 0.20 m × 0.30 m rectangle. The field makes 30° with the normal to the rectangle. Find the flux.

Step 1: Area: A = 0.20 × 0.30 = 0.060 m²

Step 2: Φ = EA cos θ = 500 × 0.060 × cos 30°

Step 3: Φ = 30 × 0.866 ≈ 26 N·m²/C

Watch out: if a question gives the angle between the field and the surface (say 60°), the angle to the normal is 90° − 60° = 30°. Same answer, but only if you convert.

3What Does Gauss's Law Say?

Φclosed = ∮ E · dA = Qenc / ε0

Qenc = net charge inside the closed surface (C)

ε0 = 8.85 × 10−12 C²/(N·m²), the permittivity of free space

1

Only enclosed charge counts. Charges outside the surface change the field on it, but every field line they send in comes back out, so their net flux is zero.

2

Shape and size do not matter. A sphere, a cube or a potato-shaped surface around the same charge all have the same total flux.

3

Sign matters. Net positive charge inside → flux out (positive). Net negative charge → flux in (negative). Zero net charge → zero net flux (even if the field is not zero).

Worked Example: Charge Inside a Cube

A +2.0 μC point charge sits at the centre of a cube. Find (a) the total flux through the cube and (b) the flux through one face.

(a) Φ = Qenc/ε0 = (2.0 × 10−6)/(8.85 × 10−12) ≈ 2.26 × 105 N·m²/C

(b) By symmetry all six faces are identical: Φface = 2.26 × 105 / 6 ≈ 3.77 × 104 N·m²/C

Note: you could not use E × A for one face here, because E changes in size and direction across a flat face. Symmetry does the work instead.

4How Do You Choose a Gaussian Surface?

A Gaussian surface is an imaginary closed surface you draw to apply the law. It is not a real object. Pick it so that on every part of it, the field is either perpendicular to the surface and constant in size (contributes E × area) or parallel to the surface (contributes zero).

The Four-Step Recipe

1Identify the symmetry: spherical, cylindrical (line) or planar.
2Draw a Gaussian surface with the same symmetry that passes through the point where you want E.
3Write the flux: E × (area where E is perpendicular). Parts where E is parallel give zero.
4Find Q_enc for that surface, set E × area = Q_enc/ε₀, and solve for E.
SymmetryGaussian surfaceFluxE depends on
Point charge, sphere, shellConcentric sphereE · 4πr²1/r²
Long line, wire, cylinderCoaxial cylinderE · 2πrL1/r
Large flat sheetPillbox through the sheetE · 2ANothing (uniform)

5Spherical Symmetry: Point Charges and Spheres

Point Charge (Deriving Coulomb's Law)

Draw a sphere of radius r centred on charge Q. The field is radial, so it is perpendicular to the sphere everywhere and has the same size at every point on it. Flux = E × 4πr² = Q/ε0, so E = Q/(4πε0r²) = kQ/r² — exactly Coulomb's law.

Uniformly Charged Solid Sphere (Insulator)

A non-conducting ball of radius R holds charge Q spread evenly through its volume.

Outside (r ≥ R)

The Gaussian sphere encloses all of Q, so E = kQ/r². From outside, the ball acts like a point charge at its centre.

Inside (r < R)

Only the fraction r³/R³ of the charge is enclosed: E · 4πr² = Q(r³/R³)/ε0, so E = kQr/R³. The field grows linearly from zero at the centre.

Worked Example: Inside and Outside a Charged Ball

An insulating sphere of radius R = 0.10 m carries Q = 6.0 nC spread uniformly. Find E at r = 0.20 m and at r = 0.050 m. (k = 8.99 × 109 N·m²/C²)

Outside, r = 0.20 m: E = kQ/r² = (8.99 × 109 × 6.0 × 10−9)/(0.20)² = 53.9/0.040 ≈ 1.35 × 103 N/C

Inside, r = 0.050 m: E = kQr/R³ = (53.9 × 0.050)/(0.10)³ = 2.70/0.0010 ≈ 2.70 × 103 N/C

Check: at the surface E = kQ/R² = 53.9/0.010 ≈ 5.39 × 103 N/C. Halfway in, the linear rule gives half of that, 2.70 × 103 N/C. ✓

Thin Spherical Shell

For a hollow shell of charge Q, any Gaussian sphere inside encloses no charge, so E = 0 everywhere inside. Outside, E = kQ/r² again. This is the electric version of the result that there is no net gravity inside a hollow planet.

6Line Symmetry: Long Wires and Cylinders

For a very long straight line with charge per unit length λ (C/m), the field points radially away from the line. Use a cylinder of radius r and length L around it:

Curved side: E is perpendicular and constant → flux = E × 2πrL
Flat end caps: E runs parallel to them → flux = 0
Enclosed charge: Qenc = λL

E × 2πrL = λL/ε0

E = λ / (2πε0r) = 2kλ / r

The length L cancels — your choice of L does not matter.

Worked Example: Field Near a Charged Wire

A long wire carries λ = 3.0 μC/m. Find E at 0.15 m from the wire, then at 0.30 m.

Step 1: E = 2kλ/r = (2 × 8.99 × 109 × 3.0 × 10−6)/0.15

Step 2: E = 5.39 × 104/0.15 ≈ 3.6 × 105 N/C, pointing away from the wire

Step 3: At 0.30 m (double the distance) E ∝ 1/r, so E ≈ 1.8 × 105 N/C

7Plane Symmetry: Charged Sheets and Parallel Plates

For a large flat sheet with charge per unit area σ (C/m²), the field points straight away from the sheet on both sides. Use a "pillbox" (a short cylinder or box) that pokes through the sheet, with end caps of area A on each side.

Two end caps: flux = E × A + E × A = 2EA
Sides: E is parallel → flux = 0
Enclosed charge: Qenc = σA, so 2EA = σA/ε0 → E = σ/(2ε0)

Notice there is no r in the answer: the field of an infinite sheet is uniform. Field lines from a plane stay parallel instead of spreading out. Real sheets behave like this as long as you are close compared with their size and far from the edges.

Two parallel plates (+σ and −σ)

Between the plates the two sheet fields add: E = σ/(2ε0) + σ/(2ε0) = σ/ε0. Outside they cancel: E = 0. This is the ideal capacitor.

Surface of a conductor

Just outside a conductor with surface charge σ, E = σ/ε0 — twice the sheet value, because the field inside the metal is zero, so only one end cap has flux.

Worked Example: Sheet vs Parallel Plates

A large non-conducting sheet carries σ = 4.0 μC/m². (a) Find E near it. (b) Find E between two such plates with +σ and −σ.

(a) E = σ/(2ε0) = (4.0 × 10−6)/(2 × 8.85 × 10−12) ≈ 2.3 × 105 N/C — the same at 1 cm or 5 cm

(b) E = σ/ε0 = (4.0 × 10−6)/(8.85 × 10−12) ≈ 4.5 × 105 N/C between the plates, zero outside

8What Does Gauss's Law Say About Conductors?

In a conductor, charges are free to move. Once they stop moving (electrostatic equilibrium), four facts follow:

1

E = 0 inside the metal. If there were a field, free electrons would still be moving.

2

Excess charge sits on the outer surface. A Gaussian surface just inside the metal has E = 0 on it, so it encloses zero net charge.

3

E just outside is perpendicular to the surface with size σ/ε0. A sideways component would push charges along the surface.

4

A charge in a hollow cavity induces an equal and opposite charge on the cavity wall. Put +q inside a neutral metal shell: −q appears on the inner surface and +q on the outer surface.

Faraday Cage

An empty metal enclosure has zero field inside, whatever happens outside. That is why sensitive electronics are shielded in metal cases and why a car's metal body protects passengers from a lightning strike.

Key Formulas at a Glance

ConceptFormula
Flux (uniform field, flat surface)Φ = EA cos θ
Gauss's lawΦclosed = Qenc / ε0
Permittivity of free spaceε0 = 8.85 × 10−12 C2/(N·m2)
Coulomb constantk = 1/(4πε0) = 8.99 × 109 N·m2/C2
Point charge / outside a sphereE = kQ/r2
Inside a uniform solid sphereE = kQr/R3
Infinite line chargeE = λ/(2πε0r) = 2kλ/r
Infinite sheetE = σ/(2ε0)
Just outside a conductorE = σ/ε0
Between parallel plates (±σ)E = σ/ε0

9Memory Aids

What's Inside Counts

Flux is a head-count of the charge inside. Charges outside can push the field around, but they never change the total.

Point, Line, Plane

Point → 1/r². Line → 1/r. Plane → 1/r⁰ (constant). One fewer dimension of spreading each time.

Match the Symmetry

Sphere for a ball, can for a wire, pillbox for a sheet. The surface should look like the charge.

Sheet vs Conductor

Sheet: σ/2ε₀ (field on both sides). Conductor surface: σ/ε₀ (field on one side only).

10Common Mistakes Students Make

Mistake

"Using the angle to the surface in Φ = EA cos θ."

θ is measured from the normal. If you are given the angle to the surface, use 90° minus that angle (or use sin instead of cos).

Mistake

"Including charges outside the Gaussian surface in Q_enc."

Only charge inside the surface goes into Gauss's law. Outside charges change E point by point but add zero net flux.

Mistake

"Zero flux means zero field."

A closed surface with no net charge inside has zero net flux, but the field on it can be large (for example, a surface near an outside charge). You can only conclude E = 0 when symmetry says E is the same everywhere on the surface.

Mistake

"Using kQ/r² for a line or a sheet."

Line charges give 2kλ/r and sheets give σ/(2ε₀). The 1/r² law is only for point charges and spherical distributions.

Mistake

"Using Gauss's law to find E for a finite rod or a small square."

The law is still true, but without enough symmetry E is not constant on any surface you can draw, so you cannot pull it out of the integral. Use Coulomb's law and integration instead.

Mistake

"Forgetting the field inside a solid insulating sphere is not zero."

E = 0 inside a conductor or a hollow shell. Inside a uniformly charged insulating ball, E = kQr/R³.

Mistake

"Counting only one end cap for a charged sheet."

For an isolated sheet the field leaves through both caps, giving 2EA. One cap only applies to the surface of a conductor.

Frequently Asked Questions

What does Gauss's law say in simple words?
Gauss's law says that the total electric flux out of any closed surface equals the charge inside that surface divided by ε₀: Φ = Q_enc/ε₀. In plain terms, the number of field lines poking out of a closed surface is set only by how much charge is inside it, not by the shape or size of the surface.
What is electric flux?
Electric flux measures how much electric field passes through a surface. For a flat surface in a uniform field, Φ = EA cos θ, where θ is the angle between the field and the normal (perpendicular) to the surface. It is measured in N·m²/C (equivalently V·m).
When can you use Gauss's law to find the electric field?
Gauss's law is always true, but it only gives you E easily when the charge distribution is highly symmetric: spherical (point charges, spheres, shells), cylindrical (long lines and cylinders) or planar (large flat sheets). Then you can choose a Gaussian surface on which E is constant and either parallel or perpendicular to the surface.
Why is the electric field inside a conductor zero?
In electrostatic equilibrium, free electrons in a conductor move until there is no net force on them, which means E = 0 everywhere inside the metal. Applying Gauss's law to a surface just inside the metal shows the enclosed charge is zero, so any excess charge must sit on the outer surface.
Does a charge outside a closed surface affect the flux through it?
It affects the field at every point on the surface, but not the net flux. Every field line from an outside charge that enters the surface also leaves it, so its contributions cancel. Only enclosed charge changes the total flux.

Practice Quiz

Test your understanding of electric flux and Gauss's law — select the correct answer for each question.

1.A uniform electric field of 200 N/C points straight through a flat 0.50 m² surface, parallel to the surface's normal. What is the electric flux through the surface?

2.A uniform field of 400 N/C makes an angle of 60° with the normal to a flat 0.10 m² surface. What is the flux through it?

3.A closed surface encloses charges of +3.0 nC and −5.0 nC. A +10 nC charge sits just outside it. What is the net electric flux through the closed surface? (ε₀ = 8.85 × 10⁻¹² C²/N·m²)

4.A point charge Q sits at the exact centre of a cube. What is the electric flux through ONE face of the cube?

5.A spherical Gaussian surface surrounds a point charge. If the radius of the sphere is doubled, what happens to the total flux through it?

6.For a very long, uniformly charged straight wire, how does the electric field change if you move from 2 cm to 4 cm away from it?

7.How does the electric field of a large, uniformly charged flat sheet (far from its edges) depend on the distance from the sheet?

8.An insulating solid sphere of radius R carries charge spread uniformly through its volume. How does the field at r = R/2 compare with the field at the surface (r = R)?

9.A solid metal sphere is given a net charge and reaches electrostatic equilibrium. Which statement is correct?

10.A long straight wire carries a uniform charge of 2.0 μC/m. What is the field strength 0.10 m from the wire? (k = 8.99 × 10⁹ N·m²/C²)

Final Study Advice

  • 1. Always sketch the charge, the field lines and your Gaussian surface before writing any equation.
  • 2. Split the surface into pieces and say which ones have E perpendicular (flux = EA) and which have E parallel (flux = 0).
  • 3. Work out Qenc carefully — for "inside" questions it is only a fraction of the total charge.
  • 4. Check your answer's r-dependence: 1/r² for spheres, 1/r for lines, constant for planes.
  • 5. Practise the derivations, not just the final formulas — exams often ask you to "use Gauss's law to show that…".

Related Topics

Turn this topic into your own study guide

Upload your class notes, slides or textbook chapter and Remy builds a study guide, flashcards and practice tests on exactly what your course covers — then answers your questions as you go.

Study this with Remy — free

Teachers: print this page as a handout or share the link with your class — it’s free.