1. Home
  2. Class 11–12
  3. Physics
  4. CBSE Class 12
  5. Gauss's Law

Gauss's Law

Blow up a sphere around a charge and see the flux stay at 1000 N m²/C, squash it into any shape and move the charge about, then find that only the charge inside counts.

Interactive 3DPhysicsIntermediate9 min read

Drag to rotate · Right-drag to pan · Click, then scroll to zoom · Space play · Left arrowRight arrow step

What's happening

Formula & steps

    Your progress and quiz scores are saved on this device, and in your account once you sign up.

    Try this in the 3D model

    • In A sphere of any size, what happens to E and to the area as the sphere grows?
    • In A surface of any shape, what is the net count of lines once the charge is outside?
    • In Only the charge inside counts, does E on the surface change when the +5 nC comes closer? Does the flux?

    The size of the sphere does not matter

    In the 3D model, choose A sphere of any size and press Play. A charge q=+8.85q = +8.85 nC sits at the centre of an imaginary sphere. The field is the same all over the sphere and meets it at right angles, so the flux is simply E×AE \times A.

    r (m) E (N/C) A (m²) E × A (N m²/C)
    0.3 885 1.13 ≈ 1000
    0.6 221 4.52 ≈ 1000
    0.9 98 10.2 ≈ 1000

    As the sphere grows, E falls as 1/r21/r^{2} and the area grows as r2r^{2}, so their product never changes. Each field line crosses the sphere once, however big it is. With the algebra:

    Φ=14πε0qr2×4πr2=qε0\Phi = \frac{1}{4\pi\varepsilon_{0}}\frac{q}{r^{2}} \times 4\pi r^{2} = \frac{q}{\varepsilon_{0}}

    and rr has cancelled. Here q/ε0=1000q/\varepsilon_{0} = 1000 N m²/C.

    Gauss’s law

    Choose A surface of any shape. Squash the surface into a lump and every line still gets out. Move the charge off-centre and nothing changes while it stays inside. Take it outside, and each line that enters also leaves: the net count is zero.

    This is Gauss’s law:

    Φ=∮E⃗⋅dA⃗=qinε0\Phi = \oint \vec{E}\cdot d\vec{A} = \frac{q_{\text{in}}}{\varepsilon_{0}}

    The total flux through any closed surface equals the total charge inside it, divided by ε0\varepsilon_{0}. The surface is imaginary, and we are free to choose it. It is called a Gaussian surface.

    Only the charge inside counts

    Choose Only the charge inside counts.

    • +3 nC inside: Φ=3×10−98.85×10−12=339\Phi = \dfrac{3 \times 10^{-9}}{8.85 \times 10^{-12}} = 339 N m²/C.
    • Add −1 nC inside: the charge inside is +2 nC, so Φ=226\Phi = 226 N m²/C.
    • Bring +5 nC near from outside: every field line bends, yet Φ\Phi stays 226 N m²/C.

    So there are two different questions. The field E at a point depends on every charge, inside and outside. The total flux depends only on the charge inside.

    Why it is so useful

    Gauss’s law is always true. It gives E quickly when the charge has symmetry, because then you can choose a surface on which E is the same everywhere and take it outside the integral. The next three lessons do this for a long wire, a flat sheet and a spherical shell.

    It works the other way too. For a point charge, take a sphere: E×4πr2=q/ε0E \times 4\pi r^{2} = q/\varepsilon_{0} gives E=14πε0qr2E = \dfrac{1}{4\pi\varepsilon_{0}}\dfrac{q}{r^{2}}, which is Coulomb’s law.

    Worked example

    A charge of 2 μC sits at the centre of a cube. Find the total flux through the cube and the flux through one face.

    1. Total: Φ=qε0=2×10−68.85×10−12=2.26×105\Phi = \dfrac{q}{\varepsilon_{0}} = \dfrac{2 \times 10^{-6}}{8.85 \times 10^{-12}} = 2.26 \times 10^{5} N m²/C.
    2. The six faces are alike, so one face has 2.26×1056=\dfrac{2.26 \times 10^{5}}{6} = 3.77 × 10⁴ N m²/C.

    Remember: total flux out of a closed surface = charge inside ÷ ε₀. Its size and shape do not matter, and charges outside add nothing.

    Formulas and where to use them

    Gauss's law

    Φ=∮E⃗⋅dA⃗=qinε0\Phi = \oint \vec{E}\cdot d\vec{A} = \frac{q_{\text{in}}}{\varepsilon_{0}}
    where
    Φ\Phi
    total flux through the closed surface (N m²/C)
    qinq_{\text{in}}
    total charge inside the surface, with signs (C)
    ε0\varepsilon_{0}
    permittivity of free space, 8.85 × 10⁻¹² C²/N m²

    Use it when: Any closed surface, for any charges. It gives E directly when symmetry makes E the same all over the surface.

    Common mistakes

    • Thinking E on the surface depends only on the charge inside. E comes from all charges. Only the total flux depends on just the charge inside.
    • Thinking a bigger surface collects more flux. Size and shape do not matter; only the charge enclosed does.
    • Forgetting the signs. Add the charges inside with their signs: +3 nC and −1 nC make +2 nC.
    • Using Gauss’s law to find E with no symmetry. The law is always true, but it gives E simply only when symmetry lets you take E out of the integral.

    Quick check

    Test yourself — pick an answer to see if you got it.

    1. A charge of 8.85 nC is inside a closed surface. The total flux through it is…

    2. The Gaussian sphere around a charge is made twice as big. The flux through it…

    3. A charge sits just outside a closed surface. The total flux through the surface due to it is…

    4. A charge q sits at the centre of a cube. The flux through one face is…

    5. A closed surface holds +5 nC and −5 nC. The total flux through it is…

    Saved on this device.
    Spotted a mistake or a bug in the 3D model?

    Report a mistake

    in Gauss's Law. Thank you — every report makes the lesson better for the next reader.

    We'll also include a link to the step of the 3D model you're on and your browser type, so we can reproduce it.