Coulomb's Law Calculator: Force, Field and Electric Potential
By FindMySum · Last reviewed
Rub a balloon on a sweater and it sticks to the wall; touch a doorknob in a dry Canadian winter and a spark jumps from your finger. Both are the electrostatic force, described by Coulomb's law. This Coulomb's law calculator finds the force between two point charges, or works backwards to the distance or the second charge that gives a force you choose. It also reports each charge's electric field and electric potential at the other, and the potential energy of the pair.
The formula
For two point charges q₁ and q₂ a distance r apart:
F = k · q₁ · q₂ ÷ r²
The Coulomb constant is k = 1 ÷ (4πε₀) = 8.987 551 7862 × 10⁹ N·m²/C², using the vacuum permittivity ε₀ = 8.854 187 8188 × 10⁻¹² F/m from NIST CODATA 2022. Charges are in coulombs, distance in metres and force in newtons.
The calculator keeps the sign. When both charges have the same sign the product q₁q₂ is positive and the force is repulsive; when they differ it is negative and the force is attractive. The force on each charge has the same size and points along the line joining them, away from the other charge for repulsion and toward it for attraction.
Worked example: the default
The calculator opens with q₁ = +2 µC, q₂ = −3 µC and r = 10 cm.
- Product of the charges: (2 × 10⁻⁶) × (−3 × 10⁻⁶) = −6 × 10⁻¹² C²
- Distance squared: 0.1² = 0.01 m²
- Force: 8.9876 × 10⁹ × (−6 × 10⁻¹²) ÷ 0.01 = −5.39 N
The minus sign says the charges attract, with a force of about 5.4 newtons, roughly the weight of a 550 g bag of flour. Microcoulombs are already large charges in everyday terms.
Field, potential and potential energy
The same constant gives three related quantities:
| Quantity | Formula | Unit | Default value |
|---|---|---|---|
| Electric field of q₁ at q₂ | E = kq₁ ÷ r² | N/C (= V/m) | 1.80 × 10⁶ N/C |
| Electric potential of q₁ at q₂ | V = kq₁ ÷ r | V | 1.80 × 10⁵ V |
| Potential energy of the pair | U = kq₁q₂ ÷ r | J | −0.539 J |
The field is the force per coulomb that any charge placed at that point would feel, so the force on q₂ is simply F = q₂E. The potential is energy per coulomb, measured from zero at an infinite distance. The potential energy is the work needed to assemble the pair from far apart; it is negative here because the charges attract, so you would have to add 0.539 J to pull them apart completely.
Solving for distance or charge
Choose "Distance" and enter the two charges and a force to find how far apart they must be: r = √(kq₁q₂ ÷ F). Two +1 µC charges repel with 0.9 N at 9.99 cm. The sign of the force must match the charges: positive for like charges, negative for opposite charges, or the calculator explains the mismatch.
Choose "Charge 2" to find the charge that gives a force at a distance: q₂ = F r² ÷ (k q₁). A 5 nC charge attracting another with 1 mN at 2 cm needs q₂ = −8.90 nC.
Charges in a medium
Between charges in a material, the material's molecules polarise and partly cancel the field. The force is divided by the relative permittivity εᵣ (the dielectric constant):
F = k · q₁ · q₂ ÷ (εᵣ · r²)
Set εᵣ under Advanced: 1 for a vacuum, 1.00059 for dry air at atmospheric pressure, about 2 to 4 for plastics and paper, and about 80 for water. Water's large εᵣ is why it dissolves ionic salts: the attraction between sodium and chloride ions is cut to an eightieth.
Units
Charges can be entered in coulombs, millicoulombs, microcoulombs, nanocoulombs, picocoulombs or elementary charges (e = 1.602 176 634 × 10⁻¹⁹ C, exact since the 2019 SI redefinition). Use "e" for atomic problems: a proton is +1 e and an electron −1 e. Distances go from picometres to kilometres, inches, feet and miles, and forces in newtons, kilonewtons or pounds-force.
Coulomb's law and gravity
Coulomb's law has the same shape as Newton's law of gravitation, F = Gm₁m₂ ÷ r², but the electric force is vastly stronger. Between a proton and an electron it is about 2 × 10³⁹ times their gravitational attraction. Gravity only dominates on large scales because matter is almost perfectly neutral, so electric forces cancel while gravitational ones always add.
Limits of the calculation
The formula assumes point charges, or spheres whose charge is spread uniformly and far enough apart that they don't disturb each other. Close conductors redistribute their charge, so the real force differs. The calculation is electrostatic: moving charges add magnetic forces. And at the scale of atoms, quantum mechanics takes over the details, even though the Coulomb energy remains the starting point for every chemical bond.
More questions
Who was Coulomb and how did he measure the force?
Charles-Augustin de Coulomb, a French military engineer, published the law in 1785. He used a torsion balance: a light rod hung from a thin fibre, with a small charged ball at one end. Bringing another charged ball near it twisted the fibre, and the twist angle measured the force. Halving the distance quadrupled the twist, revealing the inverse-square law.
Why is the electric force an inverse-square law?
Picture the field of a point charge as lines spreading out evenly in all directions. At distance r they cross a sphere of area 4πr², so their density, and the force they exert, falls as 1/r². That is also why the constant is written 1/(4πε₀): the 4π is the sphere's area factor. Gravity and the brightness of a light source follow the same geometry.
How many electrons make a coulomb?
One coulomb is 1 ÷ (1.602 176 634 × 10⁻¹⁹), about 6.24 × 10¹⁸ elementary charges. Everyday static charges are tiny by comparison: rubbing a balloon on your hair moves something like a few nanocoulombs to a microcoulomb, a few billion to a few trillion electrons.
Does Coulomb's law work for moving charges?
Only approximately. When charges move, they also produce magnetic fields and the electric field itself takes time to travel at the speed of light. For slow charges the correction is negligible; for currents in wires or particles in accelerators you need the full electromagnetic picture with magnetic forces and retarded fields.
What is the superposition principle?
With more than two charges, the total force on one charge is the vector sum of the forces from each of the others, each worked out with Coulomb's law as if the rest were absent. This calculator handles a single pair; for three or more charges, compute each pair and add the forces as vectors, taking their directions into account.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.