# How would someone with electric superpowers make a railgun?

So, in my story, there's a guy that can produce electricity, and functions as pretty much an endless power supply of electrical energy. With that, I was wondering, what would be required to make it so that he can function as a railgun? For example, what would be the minimum necessary materials for him to build a railgun arm cannon, and what amount of voltage would that need?

Sidenote: Assume that this guy can't get access to state-of-the-art materials, and can only get relatively basic stuff like alloys.

• Does he have the ability to create infinite current? There's not much point to a handheld railgun if you need a need to charge it up for days. Commented Nov 28, 2019 at 21:30
• You may want to read the manga A Certain Scientific Railgun which is about a girl with electrical powers that does just that.
– John
Commented Nov 29, 2019 at 2:21
• A Certain Scientific Railgun is the exact reason i'm asking this question lol Commented Nov 29, 2019 at 5:15
• Of course, your hero wouldn't really need a railgun, because he can just fry criminals with lightning bolts of arbitrary strength... but that just wouldn't look anywhere near as cool. Commented Nov 29, 2019 at 10:18
• The theory behind Misaka Mikoto's Railgun is a bit different from actual railgun principle though... Commented Nov 2, 2021 at 1:17

Power supply currently isn't the reason we're not all running around with railguns - it's an engineering problem.

Lets make a few assumptions about our power user first:

1. Newton's 3rd law doesn't apply (no reaction force)
2. Our super can make closed currents outside of his own body, which behave much like lightning (lightning makes a plasma, which allows for much higher current than anything we know excepting superconductors)
3. Our super can think really fast, or can "pre-program" his power (for example, do X, 3 nanoseconds later do Y)

The reason railguns don't work are because we can't accelerate them hard enough. Doing so requires a really high current in our electro magnets.

The superpower is required to fix that issue. So you'll make a series of really powerful magnets, use them to accelerate the bullet (or iron rod, or whatever you shoot). The fast switching requirement is because you need to switch off any magnetic field behind the bullet, or you'll slow it down.

It'll look like you make rings of lightning, then pull a bullet/whatever through it, cancelling the rings as it moves through them.

The reason we'll want to have no Newton's 3rd law is because we have our lightning rings free-floating. If we did have a reaction force, it'd push them out of alignment and disrupt them by pushing all the plasma's charged particles out of it.

• You're confusing railguns with coilguns. Commented Nov 30, 2019 at 8:40
• Now that I've checked, yes I am. However, the idea remains a bit the same. And with lightning superpowers, basically building a cylinder shell around your barrel seems like the best method to accelerate your bullets. Commented Nov 30, 2019 at 16:53
• What? A railgun is not a gauss/coilgun. No precise timing is necessary, just a boatload of current. The big engineering problem we face is that we lack the materials science to make a railgun which doesn't destroy the rails every 10 shots. This is because we can't make a high-current sliding contact conductor that works at hypervelocity without electrically eroding the rails. Commented Sep 25, 2020 at 16:46

Kinda obvious problem: we can't actually do a very good job of making a rail gun right now, even with access to plenty of money, power, engineering talent and high quality, high precision manufacuring. Unless your dude has super machinist powers too, any weapon he makes will likely be a less effective projectile thrower than a gun that he could probably just buy.

Lets see what we can do, though.

Lets say that to start with, we want something that is at least as capable as a regular handgun. Our theoretical handgun fires a 10g projectile at about 400m/s (compare with a 9mm parabellum, which is more like 8g and 380m/s). You want an "arm cannon", I'm not sure how big that is, but lets say it has a 25cm barrel (so, a forearm cannon, really). To reach the desired speed, you need an acceleration of 3.2x105m/s2 (about 2/3rds of the acceleration the 9mm bullet gets). On a 10g bullet, this needs a force of 3.2kN.

A railgun works by having a magnetic field pointing in one direction, an electric field at rightangles to that, and there interaction producing a force in the projectile at rightangles to them both. The pair of rails point at the target, the projectile sits between them, and you whack a massive current across the two (note that I said current, not voltage). You also need a load of magnets above and below the rails to provide the magnetic field. These will probably be electomagnets, and you'll need to feed them with a generous amount of current, too.

The simplest (and wrong, but it'll do here) model of a railgun says that $$F = I\ell \times B$$, or force is current multiplied by the length of the barrel multiplied by the strength of the magnetic field. An iron core electromagnet can have a maximum field strength of 1.6 tesla, though alternative materials can push thus up a bit. A real world example of a suitable magnet would perhaps be GMW 3470, which is about 38*28*23cm, and weighs over 30 kilos. It can develop over 1.6T and only costs a few thousand dollars. It is a very high grade bit of scientific kit, so maybe a more industrial one will be a bit cheaper and lighter, but I bet the figures are in the right ballpark. I'm not sure if you'll be able to run it at a high enough power level for a railgun magnet. It also says it needs water cooling if operated at high power. It isn't entirely adequate, as you'd be hard pressed to fit enough of them into your barrel space to provide a uniform magnetic field of high enough strength. You can of course use lighter, more compact, less powerful magnets, but you'll need to increase the current to compensate. Really, you need some room-temperature superconductors, and that's a whole new set of superpowers.

To provide the required force over the given length, we need a current of 8kA (more than 20-40 times more current than a powerful portable MIG welding rig). The projectile comes out with 800 joules of kinetic energy. It takes 1/800th of a second to leave the barrel, meaning that your gun must develop a power of 640kW whilst operating, if it is 100% efficient, which it won't be. Wastage will appear as heat, though I won't work out how much right now.

Even with this teeny tiny toy railgun, you can see that the power requirements are Quite Demanding. Sure, all those kilowatts and kiloamps only have to be supplied for a very brief length of time, but switching all that on and off precisely and avoiding nasty ringing effects (the magnets discharging might shock your dude, which could be embarassing) is quite challenging, which is why we don't have any railguns right now. Your rails need to be machined to very high tolerances, because they must contact the projectile perfectly, without airgaps because that will result in arcing which will waste power and damage the railgun. Your bullet will wear down the rails a little anyway, which will result in arcing soon enough. If the bullet gets stuck, it risks being welded to the rails immediately ruining the gun. The rails must be very firmly braced to prevent reaction forces bending them, which will cause rail-bullet wear or separation, resulting in more arcing. An 8kA arc is going to toast stuff pretty quickly, which is why current real-world railgun designs need to regularly swap out the rails (which is why you need super-machinist powers, to make lots of high quality replacements).

Note that the average power required for the railgun (again, at an implausible 100% efficiency) is 800W, assuming a rate of fire of one round per second (it'll scale linearly with the fire rate). That's a simliar power output to a serious aerobic athlete. I don't know how you plan to power your powers, but if you want to tend towards realism, he'll need to eat well and he'll get tired quickly in combat, especially he's doing anything more than just standing there shooting.

Lets look at the alternative. Use a common-or-garden, off the shelf handgun, if available, otherwise a rifle or a shotgun should be slightly more easily obtained. Just shoot people. Cheap, easy, all the machining issues are solved for you and mass production means costs are low. They don't weigh tens of kilograms and need no water cooling. If it breaks or you lose it you can always buy or steal another. You want to use electrical weapons? make like a taser and use your hands, and perhaps some weighed throwing wires.

He would be able to make one, and he could fire it, but there would be problems.

You see, even though he could shoot it, it would be a one-shot emergency weapon, as the recoil would be truly tremendous. As in "firing while standing equals broken wrist / shoulder" stupendous. It would be like an eight-year-old firing a 12 gauge shotgun (trust me, it's not pretty).

Also, it's worth mentioning that even if the recoil doesn't knock him into next week the gun would still be a 1 (possibly 2) shot weapon; one of the main reasons why railguns aren't in use today is because the conductive rails wear out extremely quickly.

• Well, no. You can already see that humans are capable of doing things like firing a 50 cal rifle, from standing, without so much as falling over. More powerful guns (20mm, for example) can be fired whilst suitably braced. There's no reason they should be thrown back by the recoil, Hollywood style. Commented Nov 29, 2019 at 8:51
• @StarfishPrime Fixed. Commented Sep 25, 2020 at 17:24