Magnetic field & compass
Compass position(0, 1.2)
Field direction from +x0.0°
Relative field strength0.533
Explore settings
Explore and explain
A small compass north tip aligns with the local magnetic field. Outside a bar magnet, field lines travel from the labelled north end toward the south end; inside a real magnet they continue to form closed loops.
The outside field is approximated by two equal opposite effective poles. They are a mathematical approximation, not isolated magnetic monopoles. The magnet interior is excluded. Coordinates and field strength are relative; Earth’s field, material magnetization and interactions between compasses are omitted.
OpenStax · Magnetic fields and magnetic field lines