A step-by-step guide to constructing a small-scale electromagnetic railgun that fires nails using capacitors and high-voltage electronics
· Updated · No. 142
Instructions for building a basic electromagnetic railgun using capacitors, copper rails and a nail as projectile, with safety warnings about high-voltage risks.
Building a railgun that fires nails is an advanced project that combines high-voltage electronics, pulsed power, and physics principles. Below is a step-by-step guide to constructing a small-scale, single-stage railgun capable of firing nails or other conductive projectiles.

This project involves dangerous voltages (300V+) and high currents.
Capacitors can retain lethal charges even when unplugged.
Always discharge capacitors with a resistor before handling.
Wear insulated gloves and work in a non-conductive environment.
A railgun uses electromagnetic force (Lorentz force) to accelerate a projectile:
Two parallel rails conduct a massive current.
A conductive armature (nail) bridges the rails, completing the circuit.
The current creates a magnetic field, propelling the armature forward.
Key Formula:
= Force (Newtons)
= Inductance gradient (typically 0.5 µH/m for simple rails)
= Current (Amperes)
For 10,000A, the force is 50 N (~11 lbs of thrust).
| Component | Purpose | Where to Find |
|---|---|---|
| Capacitor Bank | Stores energy for the pulse | Salvaged from microwaves (or buy 450V, 1000µF+ caps) |
| High-Voltage Power Supply | Charges capacitors | Microwave oven transformer (MOT) + diode bridge |
| Copper Rails | Conducts current | Thick copper bars (10mm wide, 30cm long) |
| Armature (Nail) | Projectile + current bridge | Steel nails (conductive) |
| Trigger Switch | Releases capacitor energy | SCR (Silicon Controlled Rectifier) or spark gap |
| Insulating Base | Holds rails apart | Plywood, acrylic, or PVC |
| Safety Discharge Resistor | Drains capacitors after use | 10ké, 10W resistor |
Wire at least 5x 450V, 1000µF capacitors in parallel for 5000µF total.
Connect a bleeder resistor (10ké) across them for safety.
Use a microwave oven transformer (MOT) + bridge rectifier to charge the caps to 300V+.
Add a current-limiting resistor (e.g., 100é) to prevent sparks.
Cut two copper bars (30cm long, 10mm wide).
Mount them 5-10mm apart on an insulated base (wood/PVC).
Polish the rails with sandpaper for low resistance.
Use an SCR (TYN616) or a spark gap to discharge the caps into the rails.
For remote firing, add a push-button switch in series with the SCR gate.
Place a steel nail across the rails at the breech.
Charge capacitors to 200-400V.
Trigger the SCR the nail should launch at 50-150 m/s.
| Voltage | Capacitance | Energy (Joules) | Nail Velocity (Est.) |
|---|---|---|---|
| 300V | 5000µF | 225J | ~70 m/s (230 fps) |
| 400V | 5000µF | 400J | ~100 m/s (330 fps) |
For comparison:
A BB gun fires at ~120 m/s.
A 9mm bullet travels ~360 m/s.
Higher Capacitance Add more caps (10,000µF+).
Multi-Stage Acceleration Add sequential rails with timed triggers.
Better Rails Use thicker copper or laminated conductors to reduce resistance.
Supercapacitors Lower voltage but extreme current bursts.
Check local laws Some places regulate electromagnetic weapons.
Never point at people/animals Even small railguns can cause injury.
Work in a clear area Projectiles can ricochet.
YouTube: 'DIY Railgun Tutorial' by ElectroBOOM (for a humorous safety lesson).
Books: 'The Physics of Railguns' by John Mallory (advanced theory).
This small railgun can fire nails at BB-gun speeds, but scaling up requires serious engineering.
Comments
No answered comments yet. Yours could be the first.
Add a comment
Your email address is needed so we can reply, and is never shown on the site. Comments appear here once they have been answered.