Coulomb's Law Calculator — Electric Force Between Charges

Coulomb's Law describes the force between two point charges. Published by Charles-Augustin de Coulomb in 1785, it is the electrostatic analogue of Newton's Law of Gravitation — both forces follow an inverse-square relationship with distance. Coulomb's Law is the foundation of electrostatics, and from it we can derive electric fields, potential, and eventually Maxwell's equations.

Set the charge magnitudes and signs, adjust the separation, and watch how the electric field pattern changes between attraction and repulsion.

Repulsion

35.96 mN

Charge 1 (negative = −, positive = +)

1 μC
1 μC
50 cm

The Formula

F=kq1q2r2F = k \frac{q_1 q_2}{r^2}

SymbolQuantityValue/Unit
FElectrostatic forceN (positive = repulsion, negative = attraction)
kCoulomb's constant8.99 × 10⁹ N·m²/C²
q₁, q₂ChargesCoulombs (C)
rDistance between chargesm

In SI units, k=14πε0k = \dfrac{1}{4\pi\varepsilon_0} where ε0=8.85×1012\varepsilon_0 = 8.85 \times 10^{-12} C²/N·m² is the permittivity of free space.

Sign rule: Like charges (both positive or both negative) → F > 0 → repulsion. Opposite charges → F < 0 → attraction.


Worked Examples

Worked Example

Example 1 — Two protons

Two protons are separated by 1 nm (10⁻⁹ m). Each proton carries charge q = +1.6 × 10⁻¹⁹ C. What is the electrostatic repulsion between them?

F=kq2r2=8.99×109×(1.6×1019)2(109)2F = k\frac{q^2}{r^2} = \frac{8.99 \times 10^9 \times (1.6 \times 10^{-19})^2}{(10^{-9})^2}

F=8.99×109×2.56×103810182.3×1010 NF = \frac{8.99 \times 10^9 \times 2.56 \times 10^{-38}}{10^{-18}} \approx 2.3 \times 10^{-10} \text{ N}

That's 0.23 nN — tiny in everyday terms, but enormous relative to the proton's mass (1.67 × 10⁻²⁷ kg). This is why protons in a nucleus need the strong nuclear force to hold them together against electrostatic repulsion.

Worked Example

Example 2 — Comparing gravity and electrostatics

Compare the gravitational and electrostatic forces between two electrons separated by 1 mm.

Electron charge: q = −1.6 × 10⁻¹⁹ C, mass: m = 9.11 × 10⁻³¹ kg

Electrostatic: FE=kq2/r2=8.99×109×(1.6×1019)2/(103)22.3×1022F_E = k q^2 / r^2 = 8.99 \times 10^9 \times (1.6 \times 10^{-19})^2 / (10^{-3})^2 \approx 2.3 \times 10^{-22} N

Gravitational: FG=Gm2/r2=6.67×1011×(9.11×1031)2/(103)25.5×1065F_G = G m^2 / r^2 = 6.67 \times 10^{-11} \times (9.11 \times 10^{-31})^2 / (10^{-3})^2 \approx 5.5 \times 10^{-65} N

The electrostatic force is about 10⁴³ times stronger than gravity between electrons. Gravity is utterly negligible at the subatomic scale.


Frequently Asked Questions

Explore more simulations

Every concept on PhysicStuff has an interactive visualisation — no login, no setup required.