Home▸Articles▸Magic Around Us

The Magnetic Force: Attracting Paperclips in 2D

Discover the invisible forces that pull objects towards magnets, and learn how they work through simple interactions.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What Magnetism Is

Magnetism is a fundamental force in nature, mediated by charged particles moving within atoms. It causes objects to attract or repel each other without touching, much like gravity but with more complexity and directionality.

In the 2D simulation, you can see this force in action through the attraction of paperclips towards a bar magnet. The magnetic field lines emanate from one pole of the magnet (north) and terminate at the opposite pole (south).

The Inverse-Square Law

The force between two magnets or magnetic objects follows an inverse-square law, meaning that the strength of the magnetic field decreases with the square of the distance from the magnet. This is similar to how gravitational forces work.

In the simulation, you can observe this principle as paperclips closer to the magnet are pulled more strongly than those further away.

live demo · related simulation● LIVE

Magnetic Poles and Fields

Every magnet has two poles: a north pole (N) and a south pole (S). The magnetic field lines always run from the north pole to the south pole, creating a pattern that can be visualized using iron filings or small paperclips.

In the simulation, dragging the magnet changes its orientation, altering the direction of the magnetic field lines. This change in orientation affects how the paperclips are attracted.

Practical Applications

Magnetism has numerous practical applications ranging from everyday items like refrigerator magnets to complex technologies such as MRI machines and particle accelerators.

Understanding magnetic fields is crucial in many fields, including electronics, materials science, and even space exploration. The 2D simulation provides a simplified yet insightful look into these concepts.

Frequently asked questions

How does the strength of the magnet affect the paperclips?

The stronger the magnet, the more pronounced the magnetic field and thus the greater the force on the paperclips. This is why you can see a clear difference in how strongly different paperclips are attracted to the magnet based on its strength.

Why do some paperclips move faster than others?

Paperclips closer to the magnet experience a stronger magnetic field and thus feel a greater force, causing them to move more quickly towards the magnet. This is a direct result of the inverse-square law governing magnetic forces.

Can I change the direction of the magnetic field?

Yes, by dragging the magnet, you can change its orientation and thus alter the direction of the magnetic field lines. This changes how the paperclips are attracted or repelled, demonstrating that the magnetic field has a directional component.

How does this relate to real-world magnets?

This simulation accurately represents the behavior of real magnets in terms of their fields and forces. It provides a visual and interactive way to understand concepts like magnetic poles, field lines, and the inverse-square law that govern these interactions.

Try it live

Everything above runs in your browser — open Magnet & Paperclips 2D: pull paperclips toward a magnet you can drag and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Magnet & Paperclips 2D: pull paperclips toward a magnet you can drag simulation

What did you find?

Add reproduction steps (optional)