Gauss's law
The total field through a closed surface is the enclosed charge divided by ε₀. This is a law of nature, tested by experiment. It is not a fact about spheres.
Charge, Fields & Light Lab · Coulomb's law
Two small charged spheres push each other apart. Move one of them to twice the distance and the force does not halve. It drops to a quarter.Predict the reading, then double the distance.
Computed from the modelDrag the right-hand charge or use the slider. The force is calculated from Coulomb's law for two charges at rest in empty space. The drawn balls are markers: in this model each charge sits at a point. Arrow length is proportional to the force.
Force on each charge
Start here: the reading at 10 cm is marked. What will it be at 20 cm?
The marked reading is 89.9 µN at 10.0 cm.
Measured from centre to centre. Zero distance is excluded: the formula has no value there.
In nanocoulombs. Same signs repel, opposite signs attract. Doubling either charge doubles the force.
04Sphere around the source
The field of the source, multiplied by the area of this sphere, stays the same at every radius. A bigger sphere has more area, so the field on it is weaker.
On real metal spheres the charge moves away from (or toward) the other sphere, so the force is no longer exactly inverse-square when they are close. Far apart, the two models agree.
The square comes from a sphere. The source affects space equally in every direction. Gauss's law says its field, added up over any closed surface around it, depends only on the charge inside. A sphere of twice the radius has four times the area, so the field on it, and the force on a charge placed there, is a quarter.
What the answer rests on
The exponent 2 needs three things together. Change any one of them and the distance rule changes.
The total field through a closed surface is the enclosed charge divided by ε₀. This is a law of nature, tested by experiment. It is not a fact about spheres.
A single charge at rest has no preferred direction, so its field is equally strong all over a sphere centred on it. A long charged wire or a large flat sheet has a different symmetry and a different rule.
The area of a sphere is 4πr². That r² is where the 2 appears. The charges here are drawn on a flat screen, but the field fills three-dimensional space.
The reasoning, in the open
For two point charges q₁ and q₂ at rest in vacuum, a distance r apart:
F = q₁ q₂ / (4π ε₀ r²)
ε₀ = 8.854 187 8188 × 10⁻¹² F/m (CODATA 2022). A positive result means the charges repel. The field of the source at distance r is E = q₁ / (4π ε₀ r²), the sphere of radius r has area A = 4πr², and so E × A = q₁/ε₀ at every radius. The force on the test charge is q₂E.
"Metal spheres" uses two conducting spheres that each keep a fixed total charge. Their energy is found from Maxwell's series for the capacitance coefficients of two spheres, and the force is the rate at which that energy falls as they move apart. For equal spheres of radius a far apart, the first correction to Coulomb's law is a factor 1 − 4a³/r³ for equal charges.
Charges at rest, in vacuum, with nothing else nearby: no table, no air, no walls. Point charges are an idealization; real small spheres holding 10 nC would also slowly lose charge to the air. The field shown is the field of the source alone. The "metal spheres" option stops just before the spheres touch, where the series converges slowly. Whether the exponent is exactly 2 is a question for experiment: see Testing Coulomb's Law.
Use Tab to reach each control, arrow keys for sliders, and Enter or Space for buttons. Everything that can be dragged can also be set with a slider. The short glide when you double the distance is skipped when your system asks for reduced motion. Results are written as text. The page runs entirely in your browser with no accounts, trackers or external code. See the privacy notice.