What a generator does
A generator converts mechanical energy — motion from an engine, falling water, wind, or your own hand — into electrical current you can use to power devices. Inside every generator is a magnet and a coil of wire. When the magnet spins past the wire, it creates an invisible push on the electrons inside the metal, forcing them to move. Moving electrons are electric current.
The reason this matters is straightforward: you cannot store motion easily, but you can store and transport electricity. A generator lets you turn the work happening right now — a diesel engine running, a river flowing downhill, wind pushing a blade — into power you can use later or somewhere else. That is why generators power construction sites, backup your home during outages, and why power plants use them to send electricity through the grid to your house.
Key Takeaways
- A generator works by spinning a magnet inside a coil of wire, which pushes electrons and creates electrical current.
- The magnet must keep moving for current to keep flowing — stop the motion and the electricity stops.
- Generators produce either AC current (alternating, used in homes) or DC current (direct, used in batteries and small devices), depending on how they are built.
- The size of the current depends on how fast the magnet spins and how strong it is — faster spin and stronger magnet mean more power.
The magnet and coil: the core of every generator
Strip away the engine, the fuel tank, and the metal housing, and every generator has the same basic part: a magnet rotating inside or past a stationary coil of copper wire. As the magnet moves, its magnetic field pushes on the electrons in the wire. The electrons want to move in the direction the field is pushing them. That movement of electrons is what we call electric current.
The coil is wound in a specific way so that as the magnet spins, the magnetic field through the coil gets stronger, then weaker, then stronger again in the opposite direction. This changing field is what keeps pushing electrons back and forth. In a generator that makes AC current (alternating current), this back-and-forth push is exactly what you want — the current naturally reverses direction many times per second. In a generator that makes DC current (direct current), a device called a commutator flips the connections to the coil every half rotation, so the current always flows the same direction out of the generator.
Why the magnet has to keep spinning
The moment you stop spinning the magnet, the magnetic field stops changing, and the electrons stop moving. No motion means no current. This is why a generator connected to nothing will spin freely — there is no load pulling power out, so the engine does not have to work hard. The moment you plug in a device and start drawing current, the magnetic field of the spinning magnet and the magnetic field created by the current in the coil push against each other. This resistance makes the engine work harder to keep the magnet spinning at the same speed.
This is also why a generator slows down when you load it heavily. If you plug in a space heater that draws a lot of current, the resistance increases, and the engine has to burn more fuel to maintain the spin speed. If the engine cannot keep up, the magnet slows, the magnetic field changes more slowly, and the voltage drops. This is why generators have a maximum load rating — beyond that point, the engine cannot spin fast enough to maintain proper voltage.
AC versus DC: two ways to wire the output
As the magnet spins, the magnetic field through the coil naturally reverses direction twice per rotation. In an AC generator, the coil is wired directly to the output terminals, so the current flows one direction, then the other, then back again. In North America, this happens 60 times per second (60 hertz). Most household appliances, power tools, and the grid itself use AC current because it is easier to transmit over long distances and easier to transform to different voltages.
A DC generator uses a commutator — a split ring attached to the spinning coil. The commutator flips which side of the coil connects to which output terminal every half rotation, so the current always flows the same direction out of the generator, even though the magnetic field is still reversing inside. DC current is what batteries produce, and it is what small portable devices often use. A car alternator, for example, is actually an AC generator with a rectifier (a device that converts AC to DC) so it can charge the battery.
How fast the spin affects the power output
The voltage a generator produces depends on two things: how fast the magnet spins and how strong the magnet is. Spin it faster, and the magnetic field changes more rapidly, pushing harder on the electrons and creating higher voltage. Use a stronger magnet, and the field is more intense, again pushing harder on the electrons. This is why a small hand-crank generator produces only a few volts — the crank spins slowly and the magnet is weak — while a large industrial generator spinning at thousands of RPM produces thousands of volts.
The current (measured in amps) depends on the resistance of the coil and the load connected to it. A thicker wire has less resistance, so more current can flow. A heavier load (like a space heater) draws more current than a light load (like a phone charger). The power output, measured in watts, is voltage multiplied by current. A generator rated for 5,000 watts at 120 volts can produce about 42 amps. If you try to draw more current than the generator can produce, the voltage will sag and the engine will strain.
Why generators need fuel or external motion
A generator does not create energy — it converts energy from one form to another. A portable generator burns gasoline or diesel to turn an engine, which spins the magnet. A hydroelectric generator uses falling water to spin a turbine, which spins the magnet. A wind turbine uses wind to spin blades, which spin the magnet. A hand-crank generator uses your arm muscles to spin the magnet. In every case, something external has to do the work of spinning.
This is why you cannot run a generator indefinitely without fuel or an external energy source. The magnet itself does not create the motion — it only converts the motion into current. Once the fuel runs out or the wind stops or the water stops flowing, the magnet stops spinning and the current stops flowing. This is also why generators are less efficient than you might hope: some of the energy from the fuel or the motion is lost as heat in the engine, friction in the bearings, and resistance in the wires. A typical portable generator is about 70 to 80 percent efficient, meaning 20 to 30 percent of the fuel energy becomes heat rather than electricity.
Common generator types and what they power
Portable generators, usually powered by gasoline or propane, are small enough to move and produce between 2,000 and 10,000 watts. They power tools on construction sites, backup essential devices during outages, and run RVs. Inverter generators are a type of portable generator that produces cleaner power by converting the output to DC and then back to AC at a precise frequency — this protects sensitive electronics like computers and phones. Standby generators are permanently installed outside a home or building, run on natural gas or propane, and automatically start when the power goes out. They produce 10,000 to 20,000 watts and can run indefinitely as long as fuel is available.
Industrial generators at power plants are enormous, spinning at 3,600 RPM and producing tens of thousands of watts. They are driven by steam turbines (heated by coal, natural gas, or nuclear reactions), water turbines (at hydroelectric dams), or wind turbines. Car alternators are small AC generators that spin whenever the engine runs, producing 50 to 150 amps at 12 to 14 volts to charge the battery and power the car's electrical system. Hand-crank generators are educational tools and emergency devices that produce a few watts when you turn the crank — enough to charge a phone slowly or power a flashlight.
Frequently Asked Questions
Can a generator power itself?
No. A generator converts motion into electricity, but it cannot use that electricity to create the motion that produces it. If you tried to connect a generator's output back to a motor that spins the generator, you would lose energy at every step — the motor would not spin fast enough to keep the generator running. This is why generators always need an external energy source: fuel, falling water, wind, or human muscle.
Why does my generator get hot?
Generators produce heat because no conversion is perfectly efficient. Energy is lost as heat in the engine, in the friction of spinning bearings, and in the resistance of the copper wire. The harder the generator works (the more current you draw), the hotter it gets. This is why generators have cooling fins and why you should never cover a running generator — it needs air to cool down. Overheating can damage the windings and reduce the generator's lifespan.
What is the difference between a generator and an alternator?
Technically, an alternator is a type of AC generator. The term "alternator" is usually used for the device in a car that charges the battery while the engine runs. A "generator" usually refers to a standalone device with its own engine. Both work the same way — spinning a magnet inside a coil to create current — but an alternator is integrated into another machine, while a generator is a separate unit.
Why does voltage drop when I plug in a heavy load?
When you draw a lot of current, the magnetic field created by that current pushes back against the spinning magnet, slowing it down slightly. A slower spin means the magnetic field changes more slowly, producing lower voltage. If the engine cannot speed up fast enough to compensate, the voltage sags. This is why generators have a maximum load rating and why running too many devices at once can dim lights or cause motors to run slowly.
Can I use a generator indoors?
Portable generators that burn fuel should never run indoors, in a garage, or in an enclosed space. They produce carbon monoxide, an odorless gas that is deadly in high concentrations. Always run fuel-powered generators outside, at least 20 feet away from windows and doors. Inverter generators are still fuel-powered and produce carbon monoxide, so the same rule applies. Only battery-powered generators or solar generators are safe to run indoors.