Electromagnetism  ·  6 September 2026

Electric Potential Calculator: Equipotential Lines and Work Done Moving a Charge

Shuffle across a carpet in winter and reach for a doorknob, and somewhere around the last centimetre a spark jumps the gap on its own. Nothing about your charge changed in that last centimetre — what changed was your electric potential relative to the doorknob, and once the gap got small enough, the difference was enough to break down the air. A 9V battery keeps exactly that kind of difference standing between its two terminals, on purpose, for as long as the battery lasts.

This page is an electric potential calculator built around something you can actually grab and move: point charges on a 2D plane, with the resulting equipotential lines drawn live underneath them, like a topographic map of an electrostatic hill. Drag a test probe between two points and the calculator reads off the potential difference and the work done — no force diagram, no vector addition, just two numbers and a subtraction.

What Is Electric Potential?

Electric potential (VV) at a point in space is the potential energy per unit charge that a small positive test charge would have if placed there. For a single point charge qq, at distance rr:

V=kqr=14πϵ0qrV = \frac{kq}{r} = \frac{1}{4\pi\epsilon_0}\frac{q}{r}

with k=8.99×109k = 8.99 \times 10^9 N·m²/C² and ϵ0=8.85×1012\epsilon_0 = 8.85 \times 10^{-12} C²/(N·m²), the same constants from Coulomb's Law.

Here's the part that trips people up: potential is a property of the location, not of any charge sitting there. It exists at every point in space around qq whether or not you ever park a test charge at that point — exactly the way a hillside has an altitude at every point whether or not a hiker happens to be standing on it. Put a charge there and it picks up potential energy U=qVU = qV; take the charge away and VV is still there, waiting.

One more wrinkle worth knowing before you touch the simulator: only differences in potential are ever physically measurable. The formula above sets V=0V = 0 at infinite distance from an isolated charge, which is a convention, not a law of nature — shift every value on the map by the same constant and nothing physical changes. A voltmeter never reads "the potential"; it reads the potential difference between its two probes.

How Is Electric Potential Different from Electric Field?

Electric Field (E\vec{E})Electric Potential (VV)
TypeVector — has directionScalar — just a number
UnitsN/C or V/mV (volts) = J/C
Point-charge formulaE=kq/r2E = kq/r^2V=kq/rV = kq/r
Falls off with distanceAs 1/r21/r^2As 1/r1/r (slower)

That last row is worth checking with real numbers: move from 10 cm to 5 cm away from a +5 nC charge and VV goes from 449.5 V to 899.0 V — exactly double, because V1/rV \propto 1/r. The electric field at the same two distances would quadruple, because E1/r2E \propto 1/r^2. Same charge, same move, very different growth rate.

The two are connected by E=dVdrE = -\dfrac{dV}{dr}: the field always points in the direction potential drops fastest — the electrostatic equivalent of "downhill." Positive charges are pushed from high potential to low, the same way a ball rolls from high altitude to low.

How Do You Calculate Electric Potential from Multiple Charges?

Because potential is a scalar, combining the effect of several charges is just addition — no angles, no components:

Vtotal=ikqiriV_{\text{total}} = \sum_i \frac{kq_i}{r_i}

Compare that with superposing electric fields, where you have to break each contribution into xx and yy components before adding — exactly what the electric field simulator has to do at every point on its grid. Here, you just add plain numbers, sign and all.

Worked Example

Example 1 — Potential from two charges at a point

A charge q1=+8q_1 = +8 nC sits at the origin. A second charge q2=3q_2 = -3 nC sits 6 cm to its right, at (6,0)(6, 0) cm. Find the potential at point P=(10,8)P = (10, 8) cm.

Distance from q1q_1 to PP: r1=102+82=16412.806r_1 = \sqrt{10^2 + 8^2} = \sqrt{164} \approx 12.806 cm

Distance from q2q_2 to PP: r2=(106)2+82=808.944r_2 = \sqrt{(10-6)^2 + 8^2} = \sqrt{80} \approx 8.944 cm

V1=kq1r1=8.99×109×8×1090.12806561.6 VV_1 = \frac{kq_1}{r_1} = \frac{8.99\times10^9 \times 8\times10^{-9}}{0.12806} \approx 561.6\text{ V}

V2=kq2r2=8.99×109×(3×109)0.08944301.5 VV_2 = \frac{kq_2}{r_2} = \frac{8.99\times10^9 \times (-3\times10^{-9})}{0.08944} \approx -301.5\text{ V}

VP=V1+V2260.1 VV_P = V_1 + V_2 \approx 260.1\text{ V}

Notice q2q_2 is closer to PP than q1q_1 is, yet its contribution is smaller in magnitude — because q2<q1|q_2| < |q_1|. Distance and charge both matter, and neither one alone tells you the answer.

Interactive Equipotential Simulator: Drag Charges, Measure Work

Every closed loop on the map below is an equipotential line — a curve where VV has the same value at every point. Warm colours are high potential, cool colours are low, and the heavy dashed line is V=0V = 0. The green dot is a test probe: it reads the potential wherever it sits, and it remembers the path you drag it along.

Try it yourself

  1. Drag the red (+) and blue (−) charges around and watch the whole map reshape live — the contour loops crowd together where the potential changes fastest.
  2. Park the green probe at the exact midpoint between the two default charges. It reads V ≈ 0 — then switch on the field-arrow overlay and look at the arrow right there. Zero potential, obviously nonzero field.
  3. Click Mark A here, drag the probe on a long detour, click Mark B here. Your actual wandering trail is drawn next to the straight A→B line — and W couldn’t care less which one you took.
  4. Turn on the field arrows and check any arrow against the contour it crosses: 90° every time, everywhere, for any arrangement of charges you can build.
V at the probe = 0.0 V
Drag the green probe anywhere and watch the number change. Mark A, wander off by any route you like, then mark B — the panel will draw the route you took and ignore it.
A flat slice through a three-dimensional field: the contours are the lines where this plane cuts surfaces of constant potential, not rings floating in space. Levels are drawn at 0 and ±75, ±150, ±300, ±600, ±1200 and ±2400 V. Colour saturates near a charge because the ramp is tanh(V/800 V) — two neighbouring reds deep inside a charge can be hundreds of volts apart, so read the probe, not the paint. Potentials and fields are the exact kq/r and kq/r2 everywhere beyond 0.4 cm of a charge’s centre, with a softening clamp inside that radius purely so nothing divides by zero when a charge is dragged under the probe.
Source charges — drag them on the map
6 nC
-6 nC
Test probe (green)
2 nC
Idealised as vanishingly small: it reads the landscape without denting it, so the map never changes when you drag it or change its charge.
Measure work A → B
The probe records its own route between the two marks.
Overlay

Try the midpoint experiment before reading on. With the default charges (+6 nC and −6 nC, symmetric about the centre), the probe at the origin reads V0.0V \approx 0.0 V even though a positive test charge placed there would feel a very real push to the right. Zero potential does not mean zero field; it just means the two contributions happened to cancel at that one spot. The dashed V=0V=0 line through the middle is the whole family of such spots.

The trail experiment is the deeper one. Mark A, take the probe on any loop you like — out to a corner, around a charge, anywhere — and mark B. The work readout is identical to what you'd get walking A to B in a straight line, because the electrostatic force is conservative: WW depends only on the endpoints, never on the road taken between them. It's the same property that lets you define gravitational potential energy for a ball rolling down an arbitrarily bumpy hill.

What Are Equipotential Lines?

An equipotential line (or, in three dimensions, an equipotential surface) is a curve along which VV never changes. Moving a charge along one costs zero work, because W=q(VAVB)W = q(V_A - V_B) and VA=VBV_A = V_B for any two points A and B on the line, by definition.

Why Are Equipotential Lines Always Perpendicular to the Electric Field?

If the field had any component running along an equipotential line, that component would do nonzero work pushing a charge along the line — contradicting ΔV=0\Delta V = 0 there. So the field can only point across equipotential lines, never along them: field lines and equipotential lines always cross at right angles. The simulator's field-arrow overlay lets you audit this claim directly — every arrow crosses every contour at 90°, no matter how you arrange the charges. It's the same geometric fact as a topographic map, where the steepest downhill path always cuts straight across the contour lines, never runs along one.

This is also why the surface of a conductor in electrostatic equilibrium is always an equipotential surface — any leftover field component tangent to the surface would push charge around until it vanished, which is exactly what "equilibrium" means here.

What Is the Formula for Work Done by an Electric Field?

The work done by the electric force moving a charge qq from point A to point B is:

W=q(VAVB)W = q(V_A - V_B)

This comes straight from the definition of potential energy, U=qVU = qV: work done by a conservative force equals the drop in potential energy, W=UAUB=q(VAVB)W = U_A - U_B = q(V_A - V_B).

How Do You Calculate the Work Done Moving a Charge Between Two Points?

  1. Find the potential at the starting point, VAV_A, by summing kqi/rikq_i/r_i over every source charge.
  2. Find the potential at the ending point, VBV_B, the same way.
  3. Multiply the charge being moved by the difference: W=q(VAVB)W = q(V_A - V_B).
  4. A positive WW means the field itself pushed the charge there — no outside effort needed. A negative WW means an external agent had to do work against the field.

Worked Example

Example 2 — Work done moving a test charge

Using the same two charges from Example 1 (q1=+8q_1 = +8 nC at the origin, q2=3q_2 = -3 nC at (6,0)(6,0) cm), a test charge qtest=+2q_{\text{test}} = +2 nC is moved from A=(3,0)A = (3, 0) cm to B=(3,4)B = (-3, 4) cm.

VA1498.3 VVB1164.6 VV_A \approx 1498.3\text{ V} \qquad V_B \approx 1164.6\text{ V}

ΔV=VBVA333.8 V\Delta V = V_B - V_A \approx -333.8\text{ V}

W=q(VAVB)=(2×109 C)(333.77 V)667.5 nJW = q(V_A - V_B) = (2\times10^{-9}\text{ C})(333.77\text{ V}) \approx 667.5\text{ nJ}

WW comes out positive: the field itself does positive work pushing the positive test charge from the higher-potential point A toward the lower-potential point B — the "downhill" direction, no outside push required. Moving the same charge the other way, from B to A, would need 667.5 nJ of external work to fight the field.

Where Does Electric Potential Matter in Real Life?

  • Batteries: a battery's voltage rating is the potential difference it maintains between its terminals — a 9V battery keeps V+V=9V_+ - V_- = 9 V for as long as its chemistry can sustain it.
  • Capacitors: the charge stored on a capacitor's plates is directly proportional to the potential difference across them, Q=CVQ = CV — the whole basis of energy storage in circuits.
  • Power lines and birds: a bird perched on a single high-voltage wire is fine, because both its feet sit at (essentially) the same potential — no potential difference across its body means no current. Touch that wire and a grounded pole at the same time, and the enormous ΔV\Delta V becomes lethal.
  • Defibrillators: deliver a large, brief potential difference across the chest specifically to force current through the heart muscle and reset its rhythm.
  • Lightning: charge separation between a thundercloud and the ground can build a potential difference of hundreds of millions of volts — once the difference gets large enough relative to the gap, it breaks down the insulating air, the same effect (at a vastly larger scale) as the doorknob spark this article opened with.

Frequently Asked Questions

Explore more simulations

Every concept on PhysicStuff has an interactive simulation. No login, no setup required.