Coulomb's Law Calculator
This calculator finds the electrostatic force between two point charges using Coulomb's law, F = k times the absolute value of q1 times q2, divided by r squared. Enter each charge in coulombs and the separation in metres to get the force in newtons, along with a clear note on whether the charges attract or repel. It uses the Coulomb constant k = 8.9875 x 10^9 N m^2 / C^2.
How to use the Coulomb's law calculator
- Type the first charge into the Charge 1 field in coulombs, entering one microcoulomb as 1e-6 and one nanocoulomb as 1e-9.
- Type the second charge into the Charge 2 field, adding a leading minus sign for a negative charge.
- Type the separation into the Distance field in metres; it must be greater than zero.
- Read the electrostatic force in newtons on the result card.
- Check the label underneath: attractive for opposite signs, repulsive for like signs, then press Copy to save the answer.
Examples
Two like charges repel
q1 = 1e-6 C, q2 = 1e-6 C, r = 1 m
F = 0.0089875 N (repulsive)
Opposite charges attract
q1 = 1e-6 C, q2 = -1e-6 C, r = 1 m
F = 0.0089875 N (attractive)
Closer, larger charges
q1 = 3e-6 C, q2 = 2e-6 C, r = 0.05 m
F = 21.57 N (repulsive)
Frequently asked questions
What is Coulomb's law?
It describes the force between two point charges as F = k times the absolute value of q1 times q2, all divided by the square of their separation r. The constant k is about 8.9875 x 10^9 N m^2 / C^2. The force acts along the line joining the charges.
When is the force attractive or repulsive?
Charges with opposite signs pull toward each other, and charges with the same sign push apart. The calculator reads the signs you type and labels the result attractive or repulsive, while the force number itself is always reported as a positive magnitude.
What units should I use?
Enter charge in coulombs and distance in metres to get force in newtons. Because everyday charges are tiny, use scientific notation such as 1e-6 for a microcoulomb, 1e-9 for a nanocoulomb, and 1.6e-19 for a single electron.
Why must the distance be greater than zero?
The force depends on 1 divided by r squared, so a separation of zero would give an infinite, unphysical result. The tool rejects zero or negative distances and asks you to enter a positive value.
How is the force displayed for very small or large numbers?
When the magnitude lands between 0.001 and 10 million newtons it is shown as an ordinary decimal to six significant figures. Outside that band the result switches to scientific notation, for example 3.59500e-4 N, so the value stays readable.
Does this handle two charges in a vacuum or in a material?
The default constant assumes a vacuum or air, which is very close to it. Inside a material you would divide by the relative permittivity of that medium, which this tool does not apply, so treat the answer as the free-space force.
How does the electric force compare to gravity?
Both follow an inverse-square law, but electrostatics is enormously stronger for typical charges. The force between two one-microcoulomb charges a metre apart is about 0.009 newtons, vastly more than the gravitational pull between the same two small objects.
Can I model more than two charges?
This calculator handles one pair at a time. For several charges, compute the force from each pair separately and add the results as vectors, since real forces have direction as well as magnitude.
Is my data kept private?
Yes. Every calculation runs locally in your browser and nothing is sent to a server, so the charges and distances you test never leave your device.
Learn more
- Understanding Coulomb's law and electric force
What each term in Coulomb's law means, how the inverse-square distance shapes the force, and how to enter charges in coulombs correctly.
Related tools
Gravitational Force Calculator
Calculate the gravitational force between two masses with Newton's law of universal gravitation, F = G m1 m2 / r squared. Free physics calculator.
Ohm's Law Calculator
Solve Ohm's law online. Enter any two of voltage, current, resistance or power and get the other two, with the V, I, R and P formulas shown.
Force Calculator
Solve Newton's second law online. Enter any two of force, mass or acceleration and get the third, in newtons, kilograms and metres per second squared.
555 Timer Calculator
Calculate 555 timer astable frequency, period, high and low times and duty cycle from R1, R2 and the timing capacitor. Free oscillator design helper.
Absolute Humidity Calculator
Calculate absolute humidity in grams of water vapor per cubic meter from air temperature and relative humidity. Fast, free and works in your browser.
Allele Frequency Calculator
Find allele frequencies from genotype counts. Enter the number of AA, Aa and aa individuals to get the A and a allele frequencies and allele totals.