Skip to content

Coulomb’s Law Calculator

Electrostatic force between two point charges, or the charge or distance that gives a known force, in vacuum, air or water.

Your details

Unit system
Find

Signed: positive for a lack of electrons, negative for an excess. Scientific notation such as 1.6e-19 is accepted.

Results update as you type

Electrostatic force F

21.57 N

Interaction
Attraction (opposite signs)
Force in pound-force
4.8492 lbf
Field of q₁ at q₂, E
7.19 × 10⁶ N/C
Potential energy U
-1.0785 J

Step-by-step solution
  1. F = k |q₁ q₂| / (r²) = 8.988 × 10⁹ × |2 × 10⁻⁶ × -3 × 10⁻⁶| / (0.05²) = 21.57 N
  2. U = k q₁ q₂ / (r) = -1.0785 J
  3. E = k |q₁| / (r²) = 7.19 × 10⁶ N/C

Rub a balloon on your hair and it sticks to the wall: that is the electrostatic force, and Coulomb’s law tells you exactly how strong it is. Two point charges push each other apart when they have the same sign and pull together when their signs differ, with a force proportional to the product of the charges and inversely proportional to the square of the distance between them. Double the distance and the force drops to a quarter.

This Coulomb’s law calculator handles the three usual questions. Force gives the magnitude of the force between q1q_1 and q2q_2, whether it attracts or repels, the electric field that q1q_1 creates at the position of q2q_2 and the potential energy of the pair. Charge q₂ finds the size of a charge from a measured force, and Distance r finds how far apart two charges must be to feel a given force.

Charges can be entered in coulombs, millicoulombs, microcoulombs, nanocoulombs, picocoulombs or as a number of elementary charges ee, so the same tool works for a classroom exercise with microcoulombs and for the proton and electron in a hydrogen atom. Choose vacuum, air, water or type any relative permittivity: a dielectric medium weakens the force by the factor εr\varepsilon_r, which is why salt dissolves in water.

How to use this calculator

  1. Choose what to find: the force, the charge q₂ or the distance r.
  2. Enter q₁ with its sign and pick its unit (C, mC, µC, nC, pC or e). Very small values can be typed as 1.6e-19.
  3. Enter q₂ and the distance, or the known force, depending on the mode.
  4. Select the medium. Vacuum and air give almost identical results; water divides the force by about 80.
  5. Read the result, whether the charges attract or repel, the field E and the potential energy U. Open the steps to see the numbers substituted into the formula.

The formula

Coulomb’s law for two point charges in a medium of relative permittivity εr\varepsilon_r:

F=k ∣q1q2∣εr r2,k=14πε0≈8.9875517923×109 N⋅m2/C2F = k \, \frac{|q_1 q_2|}{\varepsilon_r \, r^2}, \qquad k = \frac{1}{4 \pi \varepsilon_0} \approx 8.9875517923 \times 10^{9}\ \text{N·m}^2/\text{C}^2

The force acts along the line joining the charges: repulsive if q1q2>0q_1 q_2 > 0, attractive if q1q2<0q_1 q_2 < 0. Rearranging gives the other two modes:

∣q2∣=F εr r2k ∣q1∣r=k ∣q1q2∣εr F|q_2| = \frac{F \, \varepsilon_r \, r^2}{k \, |q_1|} \qquad r = \sqrt{\frac{k \, |q_1 q_2|}{\varepsilon_r \, F}}

The calculator also shows the field of q1q_1 at distance rr, E=k∣q1∣/(εrr2)E = k|q_1|/(\varepsilon_r r^2) (so that F=∣q2∣EF = |q_2| E), and the potential energy U=kq1q2/(εrr)U = k q_1 q_2 / (\varepsilon_r r), negative for an attracting pair. The elementary charge is exactly e=1.602176634×10−19e = 1.602176634 \times 10^{-19} C.

Worked example

Two classroom charges. q1q_1 = +2 µC and q2q_2 = −3 µC sit 5 cm apart in vacuum:

F=8.988×109×(2×10−6)(3×10−6)0.052≈21.57 NF = 8.988 \times 10^{9} \times \frac{(2 \times 10^{-6})(3 \times 10^{-6})}{0.05^2} \approx 21.57\ \text{N}

The signs differ, so the force is attractive, about the weight of a 2.2 kg mass. The potential energy is UU ≈ -1.079 J. Immersed in water (εr\varepsilon_r = 80.1) the same pair attracts with only 0.269 N. To feel exactly 10 N in vacuum, they would have to be 7.34 cm apart.

Reference values. Two charges of 1 µC one metre apart: FF = 8.988 × 10⁻³ N. The proton and electron of a hydrogen atom, at the Bohr radius 5.29×10−115.29 \times 10^{-11} m: FF ≈ 8.24 × 10⁻⁸ N.

Coulomb’s law and Newton’s gravitation

Coulomb’s law has the same inverse-square form as Newton’s law of gravitational force, F=Gm1m2/r2F = G m_1 m_2 / r^2, but the two differ enormously in strength. Between a proton and an electron, the electric attraction is about 2×10392 \times 10^{39} times the gravitational one. Gravity dominates at large scales only because matter is almost perfectly neutral: positive and negative charges cancel, while mass always adds up. Another difference: gravity always attracts, while electric forces can attract or repel.

Charles-Augustin de Coulomb established the law in 1785 with a torsion balance, measuring the tiny twist of a wire caused by charged spheres. Today kk follows from the vacuum permittivity ε0\varepsilon_0, measured with a relative uncertainty below one part in a billion.

Limits of the formula

The law is exact for point charges at rest, and for uniformly charged spheres measured from their centres. For extended objects close together (plates, rods, real balloons) the charge distribution matters and you must integrate or use Gauss’s law. In a medium, dividing by εr\varepsilon_r is valid when the medium fills all the space around the charges and the distance is large compared with the molecules; it is a macroscopic average. Moving charges also feel magnetic forces, which Coulomb’s law does not include.

Frequently asked questions

What is the formula of Coulomb’s law?

F = k |q1 q2| / r², with k ≈ 8.988 × 10⁹ N·m²/C². The charges are in coulombs, the distance in metres and the force in newtons. In a medium other than vacuum, divide by its relative permittivity εr.

How do I know if the force is attractive or repulsive?

Look at the signs. Charges of the same sign (both positive or both negative) repel; charges of opposite signs attract. The formula with absolute values gives the magnitude and the calculator states the direction.

What is the value of Coulomb’s constant k?

k = 1/(4π ε0) = 8.9875517923 × 10⁹ N·m²/C² (CODATA 2018), often rounded to 9 × 10⁹ in exercises. The rounding changes results by about 0.14 %.

Why is the force weaker in water?

Water molecules are polar and orient themselves around each charge, partly screening it. The force is divided by the relative permittivity, about 80 for water at 20 °C, which is why ionic salts dissolve so readily.

How many electrons make one coulomb?

One coulomb is 1 / 1.602176634 × 10⁻¹⁹ ≈ 6.24 × 10¹⁸ elementary charges. Choose the e unit to enter a charge as a number of electrons or protons.

Sources

Last updated:

More Physics calculators

People also use