Coulomb’s Law Calculator (Electrostatic Force)
Calculate the electrostatic force between two point charges from their charges and the distance between them, in a vacuum or another medium.
This calculator applies an idealised textbook model with SI units. Real systems can differ.
How to use this calculator
Enter both charges with their signs and the distance between their centres. The calculator gives the size of the force on each charge and whether it is attractive or repulsive. For charges in water, oil or another material, enter its relative permittivity (dielectric constant), which reduces the force.
Formula
F = k |q₁ q₂| ÷ (εᵣ r²), where k = 1 ÷ (4πε₀) ≈ 8.9875517862 × 10⁹ N⋅m²/C² and ε₀ = 8.8541878188 × 10⁻¹² F/m. Like charges repel; opposite charges attract. Electric field of q₁ at the distance of q₂: E = k|q₁| ÷ (εᵣ r²).
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Expert reviewHiraMPhil Physics, Computational Physicist
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
What is Coulomb's law?
The electrostatic force between two point charges is proportional to the product of the charges and inversely proportional to the square of the distance between them.
What is Coulomb's constant?
k ≈ 8.99 × 10⁹ N⋅m²/C², equal to 1/(4πε₀), where ε₀ is the electric constant (vacuum permittivity).
What happens if I double the distance?
The force falls to a quarter, because of the inverse-square law.
How is the direction decided?
Like charges (both positive or both negative) repel; opposite charges attract. The force acts along the line joining the charges.
What is relative permittivity?
How much a material reduces electric forces compared with a vacuum. Water's is about 80, so forces between ions in water are about 80 times weaker.
Does it work for large charged objects?
Exactly for point charges and uniformly charged spheres (measured centre to centre). Other shapes need integration.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- Ling, S. J., Moebs, W., & Sanny, J. (2016). University physics volume 2. OpenStax. View source
- Mohr, P. J., Newell, D. B., Taylor, B. N., & Tiesinga, E. (2025). CODATA recommended values of the fundamental physical constants: 2022. Journal of Physical and Chemical Reference Data, 54, 033105. View source
- Bureau International des Poids et Mesures. (2019). The International System of Units (SI) (9th ed.). View source
- Urone, P. P., & Hinrichs, R. (2022). College physics 2e. OpenStax. View source