Skip to content

How do electric and magnetic fields look?

Drag charges around, or switch to a wire or a coil, and see the field lines and the field strength at a probe point.

Electric and magnetic field lines

Key values as a table
QuantityValue
Charge 12 µC (−3, 0) cm
Charge 2−2 µC (3, 0) cm
Probe(0, 3) cm
Electric field at the probe14.1 MV/m
Direction of the field0°

Result

Electric field at the probe: 14.1 MV/m At the probe the field points right.
Charge 1
µC

cm

cm

Charge 2
µC

cm

cm

Charge 3
µC

cm

cm

Drag charges around, or switch to a wire or a coil, and see the field lines and the field strength at a probe point.

The field map fills the screen: zoom in on a charge, fit everything back in view, and set the sources in a panel under it.

How to use

  1. Pick what makes the field: point charges, a straight wire or a coil. Set the charges (positive or negative) or the current.
  2. Drag the charges, the probe point or the coil's radius in the drawing and watch the field lines bend.
  3. Read the strength and direction of the field at the probe point in the line under the drawing, or in the Probe tab.

How it works

A field says what force a small test charge or magnet would feel at each point. Field lines draw it: they point along the field, and where they crowd together the field is strong. Electric field lines start on positive charges and end on negative ones; the field of a magnet or a current has no beginning or end, so its lines close on themselves.

A point charge q makes an electric field E = k·q/r² at distance r, where k = 8.99 × 10⁹ N·m²/C². A long straight wire with current I makes a magnetic field B = μ₀I/(2πr) around it, in circles, with μ₀ = 1.2566 × 10⁻⁶ N/A². A coil of N turns and radius R has B = μ₀NI/(2R) at its centre, like a bar magnet. Fields from several sources add as arrows.

For example, a 1 µC charge makes a field of 9.99 MV/m at 3 cm. The drawing shows a flat slice through the setup, with the sources as dots: a dot in a circle for current out of the page, a cross for current into it. The lines are drawn with a fixed number per charge, so their spacing shows the shape of the field, not its strength. Source: OpenStax University Physics, volume 2, sections 5.4, 5.6, 12.2 and 12.4.

Worked example

How strong is the field of a 1 µC charge at 3 cm?

  1. E = k·q/r² = 8.99 × 10⁹ · 1 × 10⁻⁶ / (3 × 10⁻²)².

The electric field is 9.99 MV/m, pointing away from the charge.

Frequently asked questions

Why do field lines never cross?

At every point the field has just one direction. Two lines crossing would mean two directions at once.

Why do electric field lines start and end on charges?

Because electric charges are the sources and sinks of the field. Lines go out of positive charges and into negative ones; with a single charge they run off to infinity.

What does a dot in a circle mean?

It marks a current flowing out of the page towards you; a cross means into the page. The right-hand rule gives the direction of the magnetic field around it.

Why is the field zero between two equal charges?

Their fields point in opposite directions and are equally strong at the midpoint, so they cancel. The field lines bend away from that spot.

Does the number of lines show the strength?

Not exactly. This tool draws a fixed number of lines per charge, more for a bigger charge, so crowding shows where the field is strong but the count is only a guide. Read the strength at the probe point.

Send feedback