Coulomb's Law Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

Visualizing Coulomb’s Law Force

Coulomb’s law describes an electrostatic force that cannot be seen directly. Two charged objects may attract or repel strongly enough to move one another, yet the interaction itself has no visible shape. This calculator turns the charge values and separation you enter into a diagram: colored circles represent the two charges, while an arrow indicates the direction and relative size of the calculated force. Positive charges are red, negative charges are blue, and a longer arrow corresponds to a larger force magnitude. Trying different charge signs, charge sizes, and distances makes the inverse-square behavior easier to recognize than the equation alone.

The Coulomb’s law display also provides a text caption alongside the graphic. That caption reports the force magnitude and identifies the interaction as attractive or repulsive whenever a valid calculation has been made. Presenting the result in both graphical and text form helps make the charge relationship understandable whether you are looking at the canvas or reading the update through assistive technology.

Coulomb’s Law Mathematical Walkthrough

Coulomb’s law calculates the magnitude of the force between two point charges from the product of their charges and the square of their separation. In MathML form the relationship reads:

Formula: F = k (| q_1 q_2 |) / r^2

F = k | q1 q2 | r 2

In this Coulomb’s law calculation, k is Coulomb’s constant, approximately 8.988 × 10 9 N·m²/C². The input fields use coulombs for both charges and meters for separation, so the reported force is in newtons. The point-charge model is most appropriate when the size of each charged object is small compared with the distance between their centers. The calculator uses the absolute value of the charge product for force magnitude and formats the result in scientific notation to keep very small and very large values readable.

The signs of the entered charges determine the Coulomb’s law interaction type. A positive product q1 q2 means the charges have the same sign, so the force is repulsive. A negative product means opposite signs, so the force is attractive. The magnitude formula does not carry that direction itself; the calculator uses the signs separately to label the result and orient the canvas arrow. Repulsion sends the left-hand arrow away from the right-hand charge, while attraction directs it toward that charge.

Worked Coulomb’s Law Example with the Canvas

For a Coulomb’s law example, enter 2 × 10 -6 C for each charge and 0.05 m for the separation. The calculator gives a force magnitude of approximately 14.4 N. Because both charges are positive in this example, the result is repulsive and the diagram arrow points away from the other charge. Change either charge to a negative value without changing its magnitude and the force magnitude remains the same, but the caption and arrow identify attraction instead. Reducing the separation makes the arrow grow quickly because distance is squared in the denominator.

Coulomb’s Law Scenario Comparison

q₁ (µC) q₂ (µC) r (cm) F (N)
2 2 5 14.4
2 -2 5 14.4
5 5 10 22.5
1 1 1 89.9

These Coulomb’s law cases separate magnitude from direction. Equal positive charges repel with the same magnitude that equal-and-opposite charges attract when the charge sizes and separation are unchanged. Doubling a particular separation reduces the corresponding force to one quarter, because the distance is squared. The final row also shows why unit conversion matters: microcoulomb charges only a centimeter apart can still exert a substantial force. Enter values in the form exactly requested by the calculator—coulombs and meters—rather than entering the microcoulomb and centimeter labels used only in this comparison table.

Interpreting the Coulomb Force Diagram

The Coulomb force canvas places the two charges symmetrically, with the first charge on the left and the second on the right. Red circles denote positive charge and blue circles denote negative charge. The arrow begins at the center of the left charge and points left for a repulsive interaction or right for an attractive interaction. Its length uses the logarithm of the calculated force rather than a direct linear scale, allowing extremely different force magnitudes to remain visible in the same canvas. When the browser size changes, the canvas redraws its geometry to fit the available width. The caption beneath it supplies the calculated value and interaction type in text, such as “Force: 1.438e+1 N, repulsive.”

Limitations of the Coulomb’s Law Model

Coulomb’s law in this calculator models ideal point charges in a vacuum. Real objects have finite dimensions, and charge can be distributed over a surface or volume rather than concentrated at one point. In a material medium, the electric interaction depends on that medium’s permittivity; this calculator does not accept a material property and therefore does not adjust the vacuum constant. It also does not model magnetic effects, charge motion, shielding, induced charge distributions, or other forces that may matter in a physical setup.

Within its point-charge assumptions, Coulomb’s law remains a useful way to estimate electrostatic interactions. It helps relate the static charge effects seen in laboratory demonstrations, electronic components, and charged particles to the quantities that control them: charge magnitude, sign, and separation. Use the calculator to test one variable at a time, and double-check that separation is measured center to center and supplied in meters before interpreting the displayed force.

For a meaningful Coulomb’s law estimate, consider whether the entered values represent net charges rather than merely the presence of charged material. A result can be numerically large when the centers are close, but the point-charge approximation becomes less reliable if the separation is comparable to either object’s dimensions. Keep the sign attached to each charge, use consistent SI units, and treat the force as the mutual electrostatic force on each charge, directed along the line joining their centers.

Conclusion: Calculating Electrostatic Force with Coulomb’s Law

This Coulomb’s law calculator combines a numerical force magnitude with an immediate attraction-or-repulsion diagram. Changing a charge changes the force in direct proportion, while changing separation has a squared effect, so distance deserves particular care when entering values. The result, caption, comparison cases, and model limitations together provide a focused way to connect the point-charge equation to the electrostatic interaction it represents.

Enter charges and distance to calculate the force.
Force diagram will update with your inputs.

Coulomb Field Balance Mini-Game

Guide the probe through changing attractive and repulsive electric fields, keeping it inside the glowing stability band as charge signs and spacing shift.

Click to Play

Balance the probe for 90 seconds before instability spikes. Left/Right move, tap canvas halves on mobile.

Score: 0 Best: 0 Stability: 100% Mode: Attract