Physics & Mechanics

Gauss's Law Calculator

Calculate the total electric flux out of a closed surface enclosing a given electric charge. Fundamental to Maxwell's equations.

C
Total Electric Flux (Φ_E)
903,527.254

Calculated locally in your browser. Fast, secure, and private.

The Secret of the Sphere

Gauss's Law is one of Maxwell's four fundamental equations of electromagnetism. It provides an incredibly elegant shortcut for calculating electric fields and fluxes.

The law states that the total outward electric flux through any closed 3D surface (like a sphere or a box) is exactly equal to the total electric charge enclosed inside that surface, divided by the permittivity of free space.

The Magic of the Gaussian Surface

The beautiful thing about Gauss's Law is that the shape of the closed surface doesn't matter at all! Whether you put a charged particle inside a perfect sphere, a crumpled cardboard box, or a rubber duck, the total electric flux blasting out of that shape will be exactly the same, as long as the charge inside hasn't changed.

Practical Applications

  • Coaxial Cables: The cables that bring internet to your router rely on Gauss's Law. The outer copper shield perfectly cancels out the electric field of the inner wire. Because the total enclosed charge of the whole cable is zero, Gauss's law proves that zero electric field leaks out of the wire, preventing interference.
  • Lightning Safety: When a car is struck by lightning, the metal frame acts as a "Faraday Cage." Because all the charge stays on the outside surface of the metal, the total enclosed charge inside the car is zero. Gauss's law dictates that the electric field inside the car must therefore be exactly zero, keeping the passengers perfectly safe.

The Formula

ΦE=Qencε0\begin{aligned} \Phi_E = \frac{Q_{enc}}{\varepsilon_0} \end{aligned}

Where:
ΦE\Phi_E=
Total Electric Flux (N·m²/C)
QencQ_{enc}=
Total Enclosed Charge (Coulombs, C)
ε0\varepsilon_0=
Vacuum Permittivity (8.854 × 10⁻¹² F/m)

Example Calculation

You place a tiny speck of dust with a massive charge of $+8 , \mu\text{C}$ ($0.000008 , \text{C}$) inside a sealed plastic box. What is the total electric flux bursting out of the box?

  1. Divide Enclosed Charge by $\varepsilon_0$: $0.000008 / (8.854 \times 10^{-12})$.
  2. Calculate: $903,534 , \text{N}\cdot\text{m}^2/\text{C}$.

Exactly $903,534 , \text{N}\cdot\text{m}^2/\text{C}$ of electric flux is radiating outward through the plastic walls of the box. If you crush the box to half its size, the total flux passing through the walls will remain exactly the same!

Frequently Asked Questions

If you put a closed box next to a charged particle, the electric field lines will pierce into the left side of the box (negative flux) and shoot exactly out the right side of the box (positive flux). The negative and positive perfectly cancel out. Since the enclosed charge is zero, the net flux is exactly zero!

It is a fundamental physical constant ($\varepsilon_0$) that represents how much 'resistance' the absolute vacuum of space puts up against the formation of an electric field. It defines the maximum speed of light when combined with the magnetic permeability of space.

Carl Friedrich Gauss was an 18th-century German mathematician and physicist, often referred to as the 'Prince of Mathematicians'. He made massive contributions to number theory, geometry, planetary astronomy, and magnetism.