Force between two charges

Rub a balloon on your hair and it will cling to a wall. The attraction is an electric force, and at its simplest it acts between two charged points. Coulomb's law gives the size of that force: it grows with the product of the two charges and falls with the square of the distance. This page evaluates the law for two point charges in vacuum. You enter the charges in coulombs and their separation in meters, and the page returns the force in newtons. The sign of the result tells you whether the pair repels or attracts. It follows the treatment in OpenStax College Physics, and it is aimed at classroom problems and quick estimates.

The formula and its constant

The force is F = k × q1 × q2 / r², with k equal to 8.9875517923e9 N·m²/C². That constant equals 1 / (4π ε0), where ε0 is the vacuum permittivity, about 8.854 × 10⁻¹² F/m. The page uses the rounded value stated, so results can differ from a precise calculation in the tenth significant digit or beyond. The sign convention is that like charges give a positive force, which means repulsion, and opposite charges give a negative force, which means attraction. The distance must be positive. The result is a signed radial force along the line joining the charges, and the page does not give its direction in space.

The default pair

The page opens with a charge of 0.000001 C, which is one microcoulomb, and a second of 0.000002 C at a separation of 0.1 m. The product of the charges is 2 × 10⁻¹² C², multiplying by k gives 0.0179751 N·m², and dividing by 0.01 m² gives about 1.7975 N. That is a force you could feel, roughly the weight of a 183 g object. Both charges are positive, so the force is repulsive. Microcoulomb charges are typical for classroom demonstrations with charged spheres, although a real lab sphere seldom holds even one microcoulomb without the air starting to discharge it. The default is chosen for easy numbers and not because it is easy to produce.

Attraction and the sign of the answer

Change the second charge to -0.000002 C and keep the rest. The product turns negative and the page returns about -1.7975 N, the same magnitude but pointing the other way. Negative means attraction in the sign convention used here. This matters when you assemble several forces, because attraction toward one charge and repulsion from another may cancel along a line. The page handles one pair at a time, so for three or more charges you compute each pair separately and add the forces as vectors, keeping track of direction. A common mistake is to type the magnitude of a negative charge and then misread a positive result as repulsion between unlike charges.

Distance and the inverse square

Doubling the separation divides the force by four, and tripling it divides by nine. With the default charges at 0.2 m, the force falls to about 0.4494 N, a quarter of 1.7975 N. Bringing them closer has the opposite effect. At 0.05 m, the force becomes 7.19 N, four times larger. Because of this sharp dependence, a small error in the measured distance has a large effect, and the distance must be measured between the centers of the charges. For spheres that are not tiny compared with their separation, treating them as points works for uniformly charged spheres but not when the charge shifts, as on a conductor brought near another charge.

Another example: 5 microcoulombs at half a meter

Two charges of 5 microcoulombs each, placed 0.5 m apart, push on each other with F = 8.9875517923e9 × 25 × 10⁻¹² / 0.25, which is about 0.8988 N. If one charge were removed, there would be no force at all, and if either were doubled the force would double. The result scales linearly with each charge, so you can estimate quickly. A ten times larger charge on one body gives a force ten times larger. The result is also independent of mass, so the same force acts on a light foam bead and a heavy bead, although the resulting accelerations differ by the ratio of their masses.

Why electric forces dwarf gravity at small scales

Both Coulomb's law and Newton's law of gravitation fall off with the inverse square of the distance, but their strengths differ enormously. Between a proton and an electron, the electric force is larger than the gravitational force by a factor of about 10³⁹. That is why atoms are held together by electromagnetic attraction and why gravity can be ignored in atomic physics. At planetary scales the situation reverses, because large bodies are electrically almost neutral, with positive and negative charges nearly cancelling, while mass always adds. The page works with charges only and ignores gravity, so it is not meant for comparing the two directly. For scale, the elementary charge is exactly 1.602176634 × 10⁻¹⁹ C in the SI, and a microcoulomb is about six trillion elementary charges, which is why everyday objects can carry plenty of charge while staying almost neutral.

Vacuum, point charges and medium

The constant applies to vacuum, and air is close enough for most purposes. In a dielectric such as oil or water the force is reduced by the relative permittivity of the medium, by about a factor of 80 in pure water, which the page does not include. The model also treats each charge as a point, so it does not consider spheres, plates or distributed charge, and it ignores charges that move or change in response to each other. If you need the force in a material or between extended bodies, use a method that includes the permittivity or integrate over the charge distribution.

Using the result carefully

The calculator is a scalar educational model, and all values must be finite, so a separation of zero is not allowed. It does not model magnetic effects from moving charges, acceleration radiation or any safety limits for high voltage. Static electricity at levels that can be produced in a classroom carries little danger, but high-voltage equipment does and should be handled according to a qualified instructor or technician. Source: OpenStax College Physics, the section on Coulomb's law. Check inputs in SI units, because charges given in microcoulombs or nanocoulombs must be converted into coulombs first.