Gauss’s law says the electric flux out of any closed surface depends only on the charge inside. It is one of Maxwell’s equations and makes field calculations easy for symmetric charge distributions.
How to use the Gauss’s Law Calculator
- Enclosed charge Q
- Relative permittivity ε_r
- Every result field is editable: type into Electric flux Φ_E and Enclosed charge Q plus every other field update to match.
Results update as you type, every field has its own unit menu, and everything is calculated in your browser.
How it works
Enter the enclosed charge (or type a flux into the result to find the charge).
Inputs explained
| Field | What to enter |
|---|---|
| Enclosed charge Q | Units: nC, µC, C, pC, e |
| Relative permittivity ε_r | A number |
Example values
How the main result changes when Enclosed charge Q changes and everything else stays at the example values above:
| Enclosed charge Q (nC) | Electric flux Φ_E (V·m) |
|---|---|
| 2.5 | 282.3523 |
| 3.75 | 423.5284 |
| 5 | 564.7045 |
| 6.25 | 705.8807 |
| 7.5 | 847.0568 |
| 10 | 1,129.4091 |
Formula
Φ_E = Q_enc / (ε₀·ε_r)
Worked example
Inputs: Enclosed charge Q: 5 nC; Relative permittivity ε_r: 1.
Results: Electric flux Φ_E = 564.704534 V·m.
Key terms
- Electric flux
- Field integrated over a surface.
Frequently asked questions
Does the shape of the surface matter?
No, only the enclosed charge.
What if the charge is outside?
The net flux is zero.
What are the units of flux?
V·m, or N·m²/C.
How is Gauss's law used?
To find fields around spheres, wires and plates easily.