Coil & Compass

A nail, some wire, and a battery: my first electromagnet

· 10 min read

This is the experiment that started the whole notebook. An iron nail, a meter of thin insulated wire, and one small battery turn into a magnet that can be switched on and off. It takes ten minutes, it costs almost nothing, and the first time a paper clip jumps up to the nail you will want to do it again immediately. Here is my version, with all the mistakes included.

What you need

The list is short and deliberately ordinary. An iron nail, the longer the better — mine is about ten centimeters, the kind sold for carpentry, not a stainless or coated one, because some coatings and alloys respond poorly. Thin insulated copper wire, about a meter; I used enamel wire from an old toy motor, but any thin insulated wire works, and magnet wire from a hobby shop is the easiest to wind neatly. One small battery, the ordinary AA size, ideally in a holder with wires, because holding bare contacts with your fingers gets tiring and unreliable. Tape to fix the ends of the winding. And a handful of steel paper clips for testing — they must be steel, not aluminum or plastic-coated ones with a steel core that is too thin.

Two checks before starting. The wire must be insulated along its whole length: bare turns touching each other spoil the coil, and I will come back to that. And the battery should be fresh-ish — a tired battery gives a weak current and a weak magnet, the quiet failure that makes a beginner think the whole idea does not work.

Winding the coil

I leave about ten centimeters of wire free at the start, then wind the rest around the nail in tight turns, all in the same direction, from the head toward the point. The turns should lie next to each other like thread on a spool, not crossing over each other in a heap. Fifty turns is a good first target; a hundred is better if the wire allows it. When the winding is done, I fix it with a piece of tape so it cannot unwind, and leave another ten centimeters of free wire at the end.

The direction matters more than beginners expect. All turns must go the same way around the nail, because each turn adds its own small magnetic contribution, and turns wound in opposite directions cancel each other. If you lose count or the wire slips, it is better to unwind and start again than to hope. My first coil was a messy criss-cross heap, and it picked up nothing; the neat second coil, wound the same evening with the same materials, picked up four clips. Same nail, same battery — only the winding changed.

If the wire is enameled, the enamel must be removed at the two ends that will touch the battery, because the enamel is an insulator and the current cannot enter through it. I scrape the last centimeter of each end with fine sandpaper or the edge of a knife, carefully, until the copper shines. Forgetting this was my second failure: a beautifully wound coil connected to a battery through its own insulation, which is to say, not connected at all.

The first lift

With the ends cleaned, I touch one bare end to each terminal of the battery and bring the point of the nail near a paper clip lying on the table. The clip jumps. It is a small, undramatic jump, a centimeter at most with my first coil, and it is one of the best feelings a kitchen table can offer. I count how many clips the nail can hold in a chain, write the number in the notebook, then disconnect one end and watch the clips fall. On, off. The nail is a magnet only while the current flows, and that is the whole point of an electromagnet: magnetism on demand.

I repeat the lift three times and write all three numbers, because the first attempt is usually clumsy. My notebook for that evening reads: fifty turns, four clips, three clips, four clips. Later, with a hundred turns on the same nail: seven, eight, seven. Nothing else changed. That pair of rows taught me more about coils than any diagram.

Why it works, in plain words

An electric current is moving charge, and moving charge creates a magnetic field around itself. A single straight wire has a field too, but it is weak and spread out. Winding the wire into a coil stacks the field of every turn on top of the others, so inside the coil the fields add up into one strong, directed field along the nail. The nail does the rest: iron is full of tiny magnetic regions that normally point in random directions and cancel each other. The coil's field persuades them to line up, and the iron itself becomes a magnet, adding its own field to the coil's. This is why an iron core makes the magnet many times stronger than the same coil in air.

Soft iron, like a plain nail, loses most of this alignment as soon as the external field is removed, which is why the clips fall when the battery is disconnected. Hardened steel keeps the alignment longer — that is how permanent magnets are made. A good follow-up for another evening: stroke a needle with a magnet in one direction many times, and it will float on a leaf in a bowl of water and point north.

What changes the strength

From my notebook, three things clearly change how many clips the nail holds. The number of turns: more turns, stronger magnet, roughly in proportion, as long as the turns stay neat and in the same direction. The current: a fresh battery lifts more clips than a tired one, and two batteries in series lift more than one — but the wire gets warm faster, so I do not recommend it for a first experiment, and I never leave it connected. And the core: the same coil with the nail pulled out picks up almost nothing, which is the cleanest demonstration that the iron is doing most of the work.

What does not help: winding faster, pressing the coil against the clips, or a longer nail without extra turns. I tried all three; the notebook rows are flat. A magnet is persuaded by turns, current, and iron, not by effort.

The compass trick

There is a second experiment hiding inside this one, and it needs only a small compass. Put the compass on the table, wait for the needle to settle, then hold a straight piece of the same wire above the needle, parallel to it, and briefly connect the wire to the battery. The needle swings away from north. Disconnect, and it returns. Reverse the battery connections, and the needle swings the other way. The current in the wire creates a magnetic field that reaches the needle through the air, with no iron and no coil at all — the field is really there, around every wire that carries current.

This observation first connected electricity and magnetism in the history of physics, and it remains the best way to see the connection with your own eyes. The site is named after these two objects: the coil that makes the field strong, and the compass that shows it is there.

Failures and safety

My three failures, in order: a criss-cross winding that cancelled itself; enameled ends never scraped, so no current flowed; and a tired battery too weak to lift anything. Each symptom pointed at its cause once I stopped guessing and checked one thing at a time. That habit — change one thing, write the result — is the real instrument here.

A coil connected straight across a battery is a short circuit: the wire and the battery both get warm, and a small battery left connected this way can leak or rupture. So the rules at my table are simple. Connect only for a few seconds at a time, disconnect between tests, never use wall outlets or large rechargeable packs for this, and stop at once if anything smells hot. The experiment is safe precisely because it is small and brief; keeping it small and brief is the whole safety manual. With that, a nail and a battery will keep giving you the same small surprise every time, and the notebook will keep filling with honest rows of numbers.