The law of charges states that like electrical charges repel each other, opposite charges attract, and the force between them is directly proportional to the product of their magnitudes and inversely proportional to the square of the distance between them. This fundamental principle of electrostatics—often formalized as Coulomb's Law—governs everything from why electrons stay bound to an atom to why a static shock jumps from your finger to a doorknob. For bench builders and electrical hobbyists, understanding this law isn't just academic trivia; it dictates how we size wire insulation, design capacitor banks, and protect sensitive microcontrollers from catastrophic electrostatic discharge (ESD).
The Core Mechanics: Attraction, Repulsion, and Force
At the subatomic level, electrons carry a negative charge and protons carry a positive charge. The law of charges dictates their spatial behavior: negative pushes away negative, positive pushes away positive, but negative and positive snap together. Think of it exactly like bar magnets on your workbench: north pushes north away, but north snaps violently to south.
The magnitude of this push or pull is described by Coulomb's Law:
F = k × (|q₁ × q₂|) / r²
Where F is the force in Newtons, k is Coulomb's constant (8.988 × 10⁹ N⋅m²/C²), q₁ and q₂ are the charge magnitudes in Coulombs, and r is the distance between them in meters.
What this changes in a real circuit or installation is physical design. The repulsive force between like charges is the exact reason electrons spread out evenly across the surface of a conductor, and why high-voltage transmission lines require massive ceramic insulator strings to prevent the charge from arcing to the grounded tower. The attractive force between opposite charges is what allows a capacitor to store energy across a dielectric barrier.
Worked Numeric Example: Calculating Electrostatic Force
Let's move off the whiteboard and run a real calculation. Suppose you are testing a high-voltage static setup and have two isolated spherical terminals. Terminal A holds a positive charge of +4 μC (microcoulombs) and Terminal B holds a negative charge of -2 μC. They are spaced exactly 5 cm (0.05 meters) apart in dry air.
Here is the step-by-step breakdown:
- Convert to base units: q₁ = 4 × 10⁻⁶ C, q₂ = -2 × 10⁻⁶ C, r = 0.05 m.
- Square the distance: r² = 0.05² = 0.0025 m².
- Multiply the charges (absolute value): |4 × 10⁻⁶ × -2 × 10⁻⁶| = 8 × 10⁻¹² C².
- Apply Coulomb's constant: F = (8.988 × 10⁹) × (8 × 10⁻¹²) / 0.0025.
- Solve: F = 0.071904 / 0.0025 = 28.76 Newtons.
Because the charges are opposite (+ and -), this 28.76 N force is attractive. That is roughly equivalent to the gravitational weight of a 3-kilogram (6.6 lb) bag of solder hanging from your terminal. If these were like charges (both positive), that same 28.76 N force would be pushing them apart, which is the mechanical stress that high-voltage busbars must be braced against during fault conditions.
Where You Meet the Law of Charges in Practice
You might think electrostatics only matters for high-voltage labs, but the law of charges is actively working on your workbench right now in three specific ways:
- Capacitor Sizing and Dielectrics: A capacitor works because the law of charges forces opposite charges to attract across an insulating gap (the dielectric). If you apply 50V to a ceramic capacitor, the attractive force pulls the electrons tight against one plate and the 'holes' against the other. If the voltage exceeds the dielectric's structural limit, the attractive force overcomes the insulation, causing a catastrophic short.
- Semiconductor PN Junctions: Inside every diode and transistor (including the ones inside your 555 timers and logic gates), P-type and N-type silicon are joined. The law of charges causes electrons and holes to diffuse and recombine at the boundary, creating a 'depletion region' that acts as an internal insulator until a forward voltage overcomes it.
- Wire Insulation Thickness: According to the All About Circuits DC textbook, the electric field strength radiating from a charged conductor drops off with distance. THHN wire insulation is precisely extruded to a thickness that ensures the repulsive force pushing electrons outward is contained well before it reaches the grounded conduit or adjacent wires.
Real-World Scenario: When Ignoring Charge Laws Bricks Your Board
The most common way hobbyists get punished by the law of charges is through Electrostatic Discharge (ESD). The law demands that charge imbalances seek equilibrium. If you are the imbalance, your microcontroller is the victim.
The Setup: It is January, and your workshop humidity is at 15%. You are wearing a synthetic fleece jacket. You walk across a nylon carpet to grab an ESP32-WROOM-32 dev board from its anti-static bag. You haven't grounded yourself. You grab the board by the edges, but your thumb brushes the exposed GPIO15 pin.
The Numbers: Your body acts as a capacitor. According to standard human-body models (HBM) referenced by the HyperPhysics ESD guidelines, your body capacitance is roughly 150 pF. Walking on the carpet in dry air, you generate a static potential of 6,000V. Using Q = CV, your body holds 0.9 μC of charge. The stored energy is E = 0.5 × C × V², which equals 2.7 millijoules. That sounds tiny, but it is delivered in nanoseconds.
The Outcome: The moment your thumb nears GPIO15, the air gap breaks down. The law of charges forces that 6,000V potential to equalize with the board's 0V ground plane. The spike travels through the pin, hits the internal MOSFET gate, and instantly punctures the gate oxide layer, which is only rated to withstand about 3.6V.
What Went Wrong: You ignored the physical reality that separated charges will violently seek equilibrium. The fix is procedural, not electrical:
- Plug your bench power supply into a grounded outlet.
- Connect a 1MΩ ESD wrist strap to the bench ground point.
- Wear the strap before opening the anti-static bag containing the ESP32.
- If a strap isn't available, touch the bare metal chassis of your grounded PC case or oscilloscope with your whole palm before touching the PCB to safely bleed off the charge over a larger surface area.
Common Confusions: Law of Charges vs. Circuit Laws
When studying for an exam or reading forums, beginners frequently mix up the law of charges with other fundamental electrical laws. Here is how to keep them straight:
| Law | What It Governs | Key Formula | Practical Application |
|---|---|---|---|
| Law of Charges (Coulomb's) | Electrostatic force between stationary charges. | F = k(q₁q₂)/r² | Capacitor design, ESD, insulation spacing. |
| Kirchhoff's Current Law (KCL) | Conservation of charge at a circuit node (charge in = charge out). | ΣI_in = ΣI_out | Nodal analysis, PCB trace sizing, breaker panels. |
| Ohm's Law | The rate of charge flow (current) driven by voltage through resistance. | V = I × R | Resistor sizing, voltage drop, LED current limiting. |
The easiest way to remember the difference: The Law of Charges is about the physical push and pull of the particles themselves (electrostatics). KCL is an accounting rule for counting those particles at an intersection (circuit topology). Ohm's Law is about how fast those particles flow through a pipe (electrodynamics).
FAQ: Quick Answers on Charge Behavior
Can the law of charges be broken or bypassed?
No. It is a fundamental law of physics. You cannot defeat the attractive force between opposite charges; you can only manage it by increasing the distance (thicker insulation) or inserting a material with a higher dielectric strength (like replacing air with SF6 gas or mica).
Why do electrons move if like charges repel?
Electrons in a copper wire do repel each other, which is exactly why they spread out evenly across the wire's cross-section rather than clumping in the center (a phenomenon related to the skin effect at high AC frequencies). They move forward in a circuit not because they are pulling each other, but because the voltage source (like a battery) creates an electric field that pushes them from the negative terminal toward the positive terminal.
Does the law of charges apply to AC circuits?
Yes, but the effects manifest differently. In AC, the charges are oscillating back and forth. The repulsive force between parallel AC conductors carrying current in opposite directions creates a physical magnetic repulsion (electrodynamic force), which is why busbars in high-current AC panels must be mechanically braced to prevent them from bending apart during a short circuit.






