Guide

How Do Generators Work and Produce Electricity?

A generator burns fuel in an engine, and the engine spins an alternator. Inside the alternator, magnets move past coils of copper wire, which pushes electrons through the wire and creates alternating current. A voltage regulator keeps that output steady so your outlets deliver usable power.

Updated 2026-11-11 · Based on published specifications and maker information

Top picks from our best generator comparison

The basic idea: motion becomes electricity

A generator does not make energy from nothing. It converts motion into electrical energy. The science behind it is electromagnetic induction. When a magnet moves past a coil of copper wire, or a coil moves through a magnetic field, the field pushes electrons along the wire. That moving charge is electric current.

In a portable generator, an engine supplies the motion. Fuel burns, the engine turns a shaft, and the shaft spins the part of the alternator that holds the magnetic field. Faster or stronger magnetic movement means more voltage. More coil windings also mean more voltage. This is why engineers pay close attention to engine speed.

The main parts inside a portable generator

Most portable units share the same core design, whether they run on gasoline, propane or natural gas. Knowing the parts helps you read a spec sheet with more confidence.

  • Engine: burns fuel and creates the spinning motion.
  • Alternator: holds the rotor (the spinning magnet) and the stator (the fixed copper coils) where current is produced.
  • Voltage regulator: adjusts the magnetic field so voltage stays steady as loads change. Some listings call this AVR, short for automatic voltage regulation.
  • Fuel system: tank, valve, carburetor or injection, and for multi-fuel units a dial or switch to pick the fuel.
  • Control panel: outlets, breakers and sometimes a CO sensor, hour meter or fuel gauge.
  • Frame and muffler: hold everything together and manage exhaust and some of the noise.

From fuel to outlet, step by step

Here is the path energy takes inside the unit, from the tank to the plug.

  • Fuel and air enter the engine and burn in the cylinder.
  • The pistons turn the crankshaft, which is connected to the alternator rotor.
  • The spinning rotor creates a moving magnetic field around the stator windings.
  • That field induces alternating current in the stator coils.
  • The regulator trims the field strength to hold voltage close to its target.
  • Current reaches the outlets, where a breaker protects against overloads.

Conventional versus inverter generators

Conventional generators run the engine at a fixed speed so the output stays at the right frequency. This is simple and sturdy, but the engine runs at full speed even when the load is small.

Inverter generators first make raw current, convert it to direct current, then rebuild it as clean alternating current with electronics. Because the electronics set the final output, the engine can slow down when demand is low. That usually means less noise and better fuel stretch at light loads. Our best generator page lists noise and THD so you can see the difference in the numbers.

THD, or total harmonic distortion, describes how smooth the power is. Lower is gentler on phones, laptops and TVs. The Westinghouse iGen8200TFc inverter lists less than 3% THD and 60 dBA, with up to 17 hours at 25% load from a 3.9 gal tank. The Westinghouse WGen11500TFc lists 11,500 running watts, 74 dBA and THD of 5% or less.

FeatureConventionalInverter
Engine speedFixedAdjusts to demand
Power cleanlinessFine for tools and heatersCleaner, better for electronics
Typical noiseLouderQuieter
Fuel use at light loadHigherLower
Common sizeOften larger, higher wattsOften compact to mid-size

What is wet stacking?

Wet stacking happens when an engine runs for long periods at a very light load. The engine does not get hot enough to burn all its fuel, so unburned fuel and soot collect in the exhaust system. You may see black, oily residue at the exhaust outlet. It is best known in diesel generators, but light-load running can also cause carbon buildup in other engines.

Over time, wet stacking can reduce efficiency, foul the engine and shorten its life. The usual fix is to run the generator under a meaningful load, as your manual describes, rather than letting it idle with almost nothing connected. When you plan a purchase, match running watts to what you will actually use. An oversized unit that never sees a real load invites this problem.

What is load bank testing?

A load bank is a device that applies an adjustable electrical load to a generator on purpose. Think of it as a controlled stress test. It uses banks of resistors (and sometimes reactive elements) to turn electricity into heat, so the generator works as it would during a real outage.

Load bank testing shows whether the unit can hold voltage and frequency under load, and it helps burn off buildup caused by light use. It is common for standby systems that sit idle for long periods. For a portable unit, a regular run with real appliances connected does a similar job for most households. Follow the maker's maintenance schedule, and have a qualified technician handle any formal load bank test.

Safety notes before you start one

Generators produce deadly carbon monoxide, so run one outdoors, far from windows, doors and vents. A CO sensor adds a layer of protection, and our best generator guide suggests checking whether the maker lists one. For example, the Generac 12500W tri-fuel listing mentions COsense technology, and the Westinghouse iGen8200TFc lists a CO sensor. A sensor does not replace safe placement or a working household CO alarm.

Never plug a generator into a wall outlet to power the house. This can send current back into utility lines and endanger line workers. Use a transfer switch or interlock kit installed by a licensed electrician. Keep the unit dry, let it cool before refueling, store fuel in approved containers, and wear hearing protection if you stand close to a loud open-frame model.

Matching what you learned to a purchase

Once you understand the alternator, the regulator and the inverter, spec sheets become easier to read. Running watts tell you what the unit holds for hours. Peak watts cover short motor starts. THD hints at power quality, and noise in dBA shows how loud the engine will be.

Also compare runtime, tank size and fuel type. Tri-fuel units, such as the 11,500 W Westinghouse listing, offer gasoline, propane and natural gas. Then check the outlets you need, such as a 240V outlet for home backup or a TT-30R for camping.

Frequently asked questions

Does a generator make electricity or just move it?

It converts mechanical motion into electrical energy. The copper coils already hold electrons, and the moving magnetic field pushes them into a current.

Why does a generator need a voltage regulator?

Load changes would otherwise make voltage swing up and down. The regulator adjusts the magnetic field strength so output stays steady for your devices.

Can I run a generator with nothing plugged in?

It will run, but extended light-load running wastes fuel and can lead to buildup. It is better to run it with a sensible load.

Why are inverter generators quieter?

The engine can slow down when demand is low, since electronics set the final output. A slower engine makes less noise and burns less fuel.

Compare the products