Skip to content
Omnikalc

Coulomb's law calculator: electrostatic force between two charges

Calculate the electric force between two point charges, whether it attracts or repels, the electric field and the potential energy.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

Value out of range

Results

Force (magnitude)

21.57 N

Opposite charges: the force is attractive
Electric field of charge 1 at this distance
7,190,041 N/C
Electric potential energy
-1.079 J
Elementary charges in charge 1
12,483,018,148,922
Force expressed as a weight
2.2 kg

The force between charges

Electric charges come in two kinds, positive and negative. Like charges repel and opposite charges attract. In 1785, Charles-Augustin de Coulomb measured this force with a torsion balance and found that it follows an inverse-square law, just like gravity.

Coulomb’s law

F = k × q₁ × q₂ ÷ r²

  • k = 1 ÷ (4πε₀) ≈ 8.9876 × 10⁹ N·m²/C², the Coulomb constant
  • q₁, q₂: the charges in coulombs, with their signs
  • r: the distance between them

A negative result means attraction; a positive one, repulsion. In a material, the force is divided by its relative permittivity εᵣ.

The calculator also gives:

  • the electric field of charge 1 at that distance, E = k q₁ ÷ r²
  • the potential energy of the pair, U = k q₁ q₂ ÷ r
  • the number of elementary charges (1.602 × 10⁻¹⁹ C each) in charge 1

Worked example

Charges of +2 µC and −3 µC are 5 cm apart in air.

  • F = 8.99 × 10⁹ × (2 × 10⁻⁶) × (3 × 10⁻⁶) ÷ 0.05² ≈ 21.6 N, attractive
  • That is about the weight of a 2.2 kg mass
  • Field of charge 1 at 5 cm: 7.19 × 10⁶ N/C
  • Potential energy: −1.08 J
  • +2 µC is an excess of about 1.25 × 10¹³ missing electrons

A sense of scale

Situation Force
Electron and proton in a hydrogen atom (0.053 nm) 8.2 × 10⁻⁸ N
Two 1 nC charges 1 cm apart 9 × 10⁻⁵ N
Two 1 C charges 1 km apart about 9,000 N

A coulomb is a huge amount of static charge: everyday static electricity involves nanocoulombs to microcoulombs.

Coulomb versus gravity

Between two protons, the electric force is about 10³⁶ times stronger than gravity. We do not feel enormous electric forces in daily life only because matter contains almost exactly equal amounts of positive and negative charge.

Limits

Coulomb’s law applies to point charges or spherically symmetric charge distributions, at rest. For extended objects, the forces must be added over all parts (or calculated with Gauss’s law), and moving charges also produce magnetic forces.

Frequently asked questions

What is Coulomb's law?

The force between two point charges is F = k × q₁ × q₂ ÷ r², where k ≈ 8.99 × 10⁹ N·m²/C². Like charges repel and opposite charges attract.

How strong is the force between 2 µC and −3 µC at 5 cm?

About 21.6 N, attractive, roughly the weight of a 2.2 kg object, from charges of only a few millionths of a coulomb.

Why is the electric force so much stronger than gravity?

Between two protons, the electric repulsion is about 10³⁶ times their gravitational attraction. Gravity dominates at large scales only because matter is almost exactly neutral overall.

What does the medium change?

A material between the charges weakens the force by its relative permittivity: about 80 times in water, which is why salts dissolve so easily.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.