Coulomb’s Law Calculator

About this calculator

Calculate the electric force between two point charges in vacuum, or solve for their separation or one unknown charge.

Use signed charges and their positive center-to-center separation.

Enter a decimal or scientific notation such as 1e-6. Changing a unit reinterprets the entered number.

Embed this calculator

Paste this code into a Custom HTML block on your site. The calculator fits the width of the block. Adjust the height in the code if you want more room for results.

Find this widget in the publisher directory

How do you calculate the electric force between two charges?

Multiply the two charge values and Coulomb’s constant, then divide by the square of their separation. Use coulombs and meters to get newtons. Doubling the distance reduces the magnitude to one quarter. OpenStax explains the force magnitude and direction.

Signed radial force = k × q₁ × q₂ ÷ r².

For +2 µC and −3 µC at 10 cm, the force magnitude is about 5.393 N and the charges attract. The calculator uses positive force for repulsion and negative force for attraction along the line between the charges. The force on each charge points in the opposite spatial direction to the force on the other.

How do you solve Coulomb’s law for distance or charge?

For distance, take the square root of k × q₁ × q₂ divided by the signed force. The force sign must agree with the charges. For an unknown charge, multiply the signed force by the square of the distance and divide by k times the known nonzero charge. You can use independent prefixes such as µC and nC.

What happens if force or charge is zero?

A zero charge gives zero force at any positive separation. If both the force and one charge are zero, the distance is undetermined. Two nonzero charges cannot give zero force at a finite separation. With one known nonzero charge and a positive distance, zero force implies that the other charge is zero.

Which Coulomb constant does the calculator use?

The calculator uses k ≈ 8.98755179 × 109 N·m²/C², rounded from 1/(4πε₀) using the vacuum permittivity in the 2022 CODATA values published by NIST. The model uses two stationary point charges in vacuum. It does not account for additional charges, materials or extended objects.

Frequently asked questions

Do two negative charges attract or repel?
They repel. Their product is positive, as it is for two positive charges.
What units do I use for microcoulombs?
Select µC next to the corresponding charge. One microcoulomb is 10⁻⁶ coulombs.
Is the force negative for opposite charges?
This calculator uses a negative radial sign to represent attraction. The force magnitude is positive.
Can I enter a separation of zero?
No. The equation divides by distance squared and is undefined at zero separation.

Formulas and sample results on this page were checked against independent references. Page last reviewed or updated . How we verify calculators. Project led by Shaun Connell.