Coulomb's Law Calculator

Calculate electric force, field strength, potential energy, and attraction or repulsion between two point charges.

Electrostatic force calculator
Enter two signed charges, their separation, and the medium's relative dielectric constant.

About Coulomb's law

Coulomb's law describes the electrostatic interaction between two ideal point charges. Force magnitude is proportional to the product of the charge magnitudes and inversely proportional to the square of their separation. In vacuum, the proportionality constant is approximately 8.98755 times 10 to the ninth newton square metres per square coulomb. This calculator converts the selected charge and distance units to coulombs and metres before applying the equation. Charge signs determine direction. Charges with the same sign repel, while opposite signs attract. The calculator reports force as a positive magnitude and labels the interaction separately. This avoids confusing a negative algebraic result with negative force magnitude. In a full vector calculation, the force acts along the line joining the charges, with direction assigned by a coordinate system. Distance has a powerful inverse-square influence. Doubling separation reduces force to one quarter; halving separation increases it fourfold. Charge enters linearly, so doubling one charge doubles force. These patterns help explain strong microscopic interactions and the rapid weakening of electrostatic effects with distance. Inputs must represent centre-to-centre separation between point-like charges. A material medium reduces the ideal vacuum interaction according to its relative dielectric constant. Air is often approximated as one, while water at common conditions is near eighty. The calculator divides force, field, and potential energy by the entered relative dielectric value. Real permittivity varies with temperature, frequency, composition, and field conditions, so use a value appropriate to the application. Electric field strength here is the magnitude of the field produced by charge 1 at charge 2's location. It equals the Coulomb constant times the absolute first charge divided by relative dielectric constant and distance squared. Potential energy equals the constant times the signed charge product divided by dielectric constant and distance. Unlike force magnitude, potential energy is negative for opposite charges and positive for like charges under the conventional zero-at-infinity reference. The point-charge model neglects finite object size, charge distribution, polarization geometry, nearby conductors, screening, and quantum effects. For several charges, calculate each vector contribution and use superposition rather than inserting total scalar charge blindly. The tool is suitable for physics exercises and preliminary estimates. High-voltage design, nanoscale modeling, and safety-critical electrostatics require geometry-aware numerical analysis and verified material properties.

Coulomb's law examples

Charges and separationForceInterpretation
+1 μC and +1 μC, 1 cm apart in air89.88 N, repulsiveEqual positive charges repel strongly at short range.
+1.6e-19 C and -1.6e-19 C, 5.3e-11 m apart8.19e-8 N, attractiveAn idealized electron-proton interaction.
+2 μC and -3 μC, 5 mm apart in water (εr 80)26.96 N, attractiveThe dielectric medium reduces the vacuum force by a factor of eighty.

How to use the Coulomb calculator

  1. Enter both signed charge values and choose their common unit.
  2. Enter centre-to-centre distance and choose its unit.
  3. Enter the relative dielectric constant of the surrounding medium.
  4. Select Calculate to view force, direction, field strength, and potential energy.

Coulomb's law FAQ

When is force attractive?

Opposite-sign charges attract, so their algebraic product is negative. Same-sign charges repel and have a positive product.

Why is distance squared?

A point charge's influence spreads over spherical area that grows with radius squared. Consequently field and force decrease according to an inverse-square relationship.

What dielectric constant should I use for air?

For many basic calculations, use 1 because air is close to vacuum permittivity. Precision work should use a value matched to environmental conditions.

Which charge defines the displayed electric field?

The displayed field is produced by charge 1 at the position of charge 2. Its magnitude does not depend on charge 2.

Can this calculate forces from several charges?

Not in one operation. Calculate each pair's vector contribution, resolve components, and add them using the superposition principle.