PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Electricity & Magnetism

Other simulators in this category — or see all 56.

View category →
NewSchool

Ideal Op-Amp (feedback)

Inverting, non-inverting, buffer; sine or DC; optional rail clipping.

Launch Simulator
NewSchool

Van de Graaff Generator

Belt charges a dome; V = Q/C; stylized spark to ground when V_break is exceeded.

Launch Simulator
NewSchool

Kirchhoff's Laws (KCL & KVL)

3-node DC: junction divider + optional R∥V; hints, KCL/KVL, solved currents.

Launch Simulator
NewSchool

Plane EM Wave (vacuum)

E ⊥ B ⊥ k: sin(kz−ωt) fields, Poynting along z; ω = ck (c = 1).

Launch Simulator
NewSchool

DC Motor & Generator

Coil in B: motor V = IR + kω, generator E = kω into a load — same k, two modes.

Launch Simulator
NewUniversity / research

Gradient-B Drift

B_z(x,y) with weak gradient; orbit from q(E+v×B) at local B — gyration + drift.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Electricity & Magnetism/Electric Dipole Field (2D)

Electric Dipole Field (2D)

A fixed two-charge dipole on the x-axis uses the Coulomb superposition V = Σ k qᵢ/rᵢ on a regular grid. A masked min/max range colors the heatmap away from singularities; equipotentials come from marching squares on that grid; field lines integrate forward along E from seeds near the positive charge until they reach the negative charge or the boundary.

Who it's for: Introductory electrostatics; complements the free-form Electric Field Visualizer with a formula-forward dipole preset.

Key terms

  • electric dipole
  • equipotential
  • field line
  • Coulomb potential
  • dipole moment

Dipole ±q

0.22
1
32

Fixed on-axis dipole: +q at (−a, 0), −q at (+a, 0). Equipotentials are contour levels of the Coulomb potential (marching squares on a grid; singularities near charges are masked in the color scale).

Shortcuts

  • •Toggle heatmap vs lines to compare patterns
  • •Separation sets dipole arm 2a on the x-axis

Measured values

Dipole moment |p| ∝ 2aq0.2200 (sim)
V range (grid, masked)-23.37 … 23.37

How it works

This page is dedicated to a pure dipole in 2D: two point charges +q and −q on the x-axis. The scalar potential V adds 1/r contributions; electric field lines follow E (perpendicular to equipotentials). Compare with the general Electric Field lab where you place arbitrary charges.

Key equations

V(r) = Σᵢ k qᵢ / |r − rᵢ|
E = −∇V (field lines tangent to E)
Far from origin: V ∝ (p·r̂)/r² , |p| = 2aq

Frequently asked questions

Why do contours look jagged near the charges?
The potential diverges at point charges; the visualization masks grid points very close to each charge when setting the color scale, and contour segments are piecewise linear on a finite grid.
How does this differ from the general electric field page?
That sandbox lets you place many charges interactively. Here the geometry is locked to a textbook ±q dipole so the text can quote standard dipole-field vocabulary and far-field behavior.