Skip to content

DIY Cost Tools

Coulomb’s Law Calculator

Calculate the electrostatic force between two ideal point charges. The sign is positive for like-charge repulsion and negative for opposite-charge attraction; magnitude is always nonnegative.

Enter every field, including explicit zeros when permitted. Decimal and scientific notation are accepted; commas, fractions and blanks are rejected. Each input must be finite and no larger than 1 billion in absolute value. Observe the stated units and domain limits.

Signed force indicator (N)-0.215701243
Force magnitude (N)0.215701243

How to use this calculator

  1. Enter every quantity in the unit printed beside its field.
  2. Select Calculate or press Enter.
  3. Read the labeled results and compare them with the assumptions below.

Formula and method

F = kq₁q₂/r², with k = 8.9875517923 × 10⁹ N·m²/C². Inputs in microcoulombs are converted to coulombs.

The calculation runs locally in your browser. If any entry is invalid or a mathematical condition is undefined, the prior result is hidden so it cannot be mistaken for a new answer.

Worked example

Using Charge 1 (µC) = 2, Charge 2 (µC) = -3, Separation (m) = 0.5, the formula returns Signed force indicator (N) = -0.215701243, Force magnitude (N) = 0.215701243. The displayed default result is generated from these same inputs.

Limitations and safety

Assumes point charges in vacuum and gives a one-dimensional sign convention, not a vector direction. Materials, charge distributions and other charges are not modeled. High voltage can be dangerous. Results use floating-point arithmetic and are displayed to about 10 significant digits; measurement uncertainty usually supports fewer. Verify units before relying on a result.

Frequently asked questions

What does a negative result mean?

With this sign convention it means the charges attract because their signs differ.

Why might a measured result differ?

The formula isolates the stated model. Real systems can add uncertainty, losses, changing properties, geometry or forces that are not among the inputs.

How should I handle units?

Convert every value to the unit shown beside its field before calculating. A numerically valid value in the wrong unit will still produce a wrong result.

Review notes and reference

Reviewed October 3, 2026. The default example and an independent edge or scaling case were checked against expected values. The live script was also checked for blank, text, comma-formatted, non-finite and out-of-range entries. Method reference. Constants use the values stated in the formula. This page’s explanation and example are original.

Related calculators

Science calculators · Gravitational Force Calculator · Projectile Motion Calculator · Free Fall Calculator · All calculators