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.
What you enter stays on your device while you use this tool. Opening a shared link sends the settings in its address to HowToolbox to prepare the page.
Electric and magnetic field lines
Key values as a table
| Quantity | Value |
|---|---|
| Charge 1 | 2 µC (−3, 0) cm |
| Charge 2 | −2 µC (3, 0) cm |
| Probe | (0, 3) cm |
| Electric field at the probe | 14.1 MV/m |
| Direction of the field | 0° |
- Electric field at the probe
- 14.1 MV/m
- Field, horizontal part
- 14.1 MV/m
- Field, vertical part
- 0 V/m
- Field lines drawn
- 16
E = k·q/r²
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
- Pick what makes the field: point charges, a straight wire or a coil. Set the charges (positive or negative) or the current.
- Drag the charges, the probe point or the coil's radius in the drawing and watch the field lines bend.
- 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?
- E = k·q/r² = 8.99 × 10⁹ · 1 × 10⁻⁶ / (3 × 10⁻²)².
The electric field is 9.99 MV/m, pointing away from the charge.
Sources
- NIST: Fundamental Physical Constants (CODATA)Used for: constants
- OpenStax University Physics, vol. 2, §12.1 The Biot-Savart LawUsed for: formula
- OpenStax University Physics, vol. 2, §12.2 Magnetic Field Due to a Thin Straight WireUsed for: formula
- OpenStax University Physics, vol. 2, §12.4 Magnetic Field of a Current LoopUsed for: formula
- OpenStax University Physics, vol. 2, §5.4 Electric FieldUsed for: formula
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.
Next you might need
More in Physics
- Artificial gravity calculator, private, runs on your device
- Cooling calculator, private, runs on your device
- Decibel calculator, private, runs on your device
- Doppler effect calculator, private, runs on your device
- Double pendulum, private, runs on your device
- Double-slit experiment, private, runs on your device





