Coulombs Law Calculator

Charges are signed: a negative value is an electron-type charge. Like signs repel, unlike signs attract, and the calculator reports the direction with the size. Scientific notation is welcome, for example 1.602e-19.

QuantityValue

Disclaimer: This calculator gives estimates for general information only. It is not financial, medical or other professional advice.

What this calculator does

Coulomb’s law is the electrostatic counterpart of Newton’s gravitation: two point charges pull or push on each other with a force proportional to the product of the charges and inversely proportional to the square of their separation, F = k|q₁q₂|/(εr r²). This calculator works the law in all three directions. Forward, it takes two signed charges, a separation and the medium between them, and returns the force with its direction, attractive or repulsive, read off the signs; the electric field of the first charge at the second one’s position comes with it. Rearranged, it solves for the unknown second charge that would produce a given force at a given distance, sign included, and for the separation at which a given pair of charges produces a given force. Charges can be entered in coulombs, millicoulombs, microcoulombs, nanocoulombs or elementary charges, distances from angstroms to kilometres, because the law is used at every scale from the inside of an atom to charged machinery, and the medium selector applies the relative permittivity honestly instead of leaving the vacuum constant to mislead in water or glass.

How to use it

  • Force mode (the default): enter both charges with their signs, the centre-to-centre separation, and the medium. The loaded defaults, +5 µC and −3 µC at 0.2 m, give 3.3703 N of attraction.
  • Signs are the direction. Same sign on both charges means repulsion; opposite signs mean attraction. The magnitude formula uses absolute values, and the direction is reported in words, which is the convention the brief for this page asks for and the one that prevents sign errors.
  • Solve for charge: give the target force, the known charge, the separation and whether the force attracts or repels; the calculator returns the second charge with the sign that makes it so.
  • Solve for separation: give the target force and both charges; the answer is the distance at which the law produces exactly that force, the design question behind spark gaps and electrostatic separators.
  • Media matter. Vacuum and air barely differ (εr 1 versus 1.0006). Water, at εr about 80, screens the force to about one eightieth, which is why ions in solution interact so much more weakly than the same ions in empty space. Glass sits near 5. Custom εr covers anything else.

The method

The constant k is Coulomb’s constant, k = 1/(4πε₀) = 8.987551787 × 10^9 N·m²/C², built from the permittivity of free space. In a medium, the material’s own polarisation screens the interaction, and the vacuum constant is divided by the relative permittivity εr (also called the dielectric constant), so the working constant is k/εr. The force magnitude is F = (k/εr) × |q₁ × q₂| / r². Direction follows the sign of q₁q₂: positive product, repulsion; negative, attraction; the force on each charge is equal in size and opposite in direction along the line joining them. The rearrangements are algebra on the same equation: |q₂| = F εr r²/(k|q₁|), with the sign set by whether the force attracts or repels relative to q₁’s sign, and r = sqrt(k|q₁q₂|/(εr F)). The electric field line in the results is q₁’s field at distance r, E = (k/εr)|q₁|/r², the force per unit charge, so F = E × |q₂| provides an internal cross-check on the headline figure. The elementary charge unit converts at e = 1.602176634 × 10^−19 C, exact since the 2019 SI redefinition. Everything is computed at full precision and rounded only for display.

Worked examples

Two textbook charges (the loaded defaults). +5 µC and −3 µC, 0.2 m apart in vacuum: F = 8.987551787 × 10^9 × (5 × 10^−6 × 3 × 10^−6) / 0.04 = 3.3703 N, attractive because the signs differ. Three newtons is the weight of a small apple: microcoulombs are large charges by laboratory standards, and this example is the quickest way to feel it.

The same charges under water. Change only the medium: εr 80.1 divides the force to 0.042077 N. Nothing else moved. This screening is not a footnote; it is why electrolytes conduct, why salts dissolve, and why electrostatic effects that dominate in air fade in solution.

Two electrons, one angstrom apart. Each charge is one elementary charge, entered as 1 in the e unit, at 1 Å: F = 2.3071 × 10^−8 N, repulsive. Tiny in newtons, enormous in context: divide by the electron’s mass and the acceleration is about 2.5 × 10^22 m/s². Coulomb’s law at atomic scale is not a gentle correction; it is the main event.

Inside the hydrogen atom. A proton (+e) and an electron (−e) at the Bohr radius, 0.529 Å: F = 8.2442 × 10^−8 N of attraction. Set that beside the gravitational attraction between the same two particles, about 3.6 × 10^−47 N, and the ratio, some 10^39, is the standard demonstration of why gravity is irrelevant inside atoms.

The boundary cases. Double the distance and the force quarters, the inverse-square signature: the defaults at 0.4 m give 0.8426 N. Set either charge to zero and the force is exactly zero, reported as such. And drive the separation toward zero and the formula’s force runs away without limit, which is the mathematics announcing that the point-charge model has stopped describing anything physical; the separation field refuses zero itself, since two charges cannot occupy the same point.

Reading your result

The verdict gives the force and its direction in one line, because a Coulomb force without a direction is half an answer. The table adds the field of the first charge at the second’s position (multiply it by the second charge and you recover the force, the built-in check), the effective constant for the medium you chose, and, in the solve modes, the quantity solved for in both its natural unit and in coulombs or metres. The working line shows the full substitution, every number in place, so a student can copy the pattern and a professional can audit it. Read very small forces against their context rather than against everyday intuition: 10^−8 N between electrons is colossal per unit mass, while 3 N between microcoulomb charges is the practical reason static experiments jump, spark and cling. When the medium is not vacuum, the note restates the screening factor, because the same pair of charges giving two very different answers in air and in water is the result most often mistaken for an error.

Limitations

  • Point charges, or spheres measured from their centres. The law is exact for point charges and for uniformly charged spheres outside each other, using centre distance. Extended, irregular or touching charge distributions need integration, not this formula.
  • The medium is treated as uniform and still. εr values are low-frequency figures. Water’s 80.1 falls sharply at high frequencies, and any medium with free charge carriers (salt water, plasmas) screens by conduction as well, on top of permittivity.
  • Static charges only. Moving charges produce magnetic forces and radiation as well; at relativistic speeds the simple picture needs the full electromagnetic theory. Nothing here models that.
  • Zero separation is refused, and tiny separations are the model’s edge. As r shrinks the force grows as 1/r² without any physical cut-off in the formula; real charges have size, and quantum mechanics governs the smallest scales. Treat results at angstrom scale as the classical figure, which is what the worked examples present it as.
  • Glass εr is a typical value. Glasses range roughly 4 to 10 by composition; the preset uses 5 and the custom field exists for a known material figure.

Frequently asked questions

Why is the force on both charges the same size?

Newton’s third law, which electrostatics obeys exactly: q₁ pulls q₂ exactly as hard as q₂ pulls q₁, in the opposite direction. If the charges differ in size the accelerations differ wildly (the electron in the hydrogen example accelerates about 1,836 times more than the proton for the same force), but the force pair itself is always equal and opposite. It is the same symmetry the gravity mode on the Force and Energy page shows with masses.

What does the sign of a charge actually do in the formula?

Two jobs. In the magnitude, nothing: the formula takes absolute values, so a −3 µC charge pulls or pushes exactly as hard as +3 µC at the same distance. In the direction, everything: the product’s sign decides attraction versus repulsion. Calculators that fold the sign into the force and report a negative number are using a radial convention; this page reports the direction in words instead, which reads unambiguously in a report.

Why does water weaken the force so much?

Water molecules are polar: each carries a permanent separation of charge. Around any charge placed in water, the molecules rotate to point their opposite ends toward it, partially cancelling its field for anyone looking from further away. That collective screening is what εr measures, and water’s small, highly polar molecules make it exceptionally strong, about 80 at room temperature. Ions in the body and in the sea live their whole lives inside this softened version of Coulomb’s law.

How is Coulomb’s law like gravity, and how is it different?

The shapes are identical: a product of the two source quantities divided by the square of the distance, with one constant (k here, G for gravity). The differences are the interesting part. Charge comes in two signs, so the force can repel; mass has one sign and gravity only attracts. And k is about twenty orders of magnitude stronger in effect: the hydrogen example’s electrical force outweighs the same particles’ gravity by a factor near 10^39, which is why chemistry is electrical and orbits are gravitational, each utterly dominating its own scale.

Related calculators

Method: F = k|q₁q₂|/(εr r²) with k = 8.987551787 × 10^9 N·m²/C²; direction from the sign of q₁q₂; medium applied as the relative permittivity εr (vacuum 1, air 1.0006, water 80.1, typical glass 5); elementary charge e = 1.602176634 × 10^−19 C; rearrangements |q₂| = Fεr r²/(k|q₁|) and r = sqrt(k|q₁q₂|/(εr F)). Last reviewed: 24 October 2026.