Home / Guides / AC vs DC

AC vs DC Power: The Difference, Explained

AC (alternating current) reverses direction many times a second; DC (direct current) flows one way. Solar panels and batteries produce DC, homes and the grid run on AC, and an inverter converts between them.

Engineering & DIY · Reviewed 10 Nov 2026

AC and DC at a glance

AC (alternating current)DC (direct current)
DirectionReverses many times a second (60 in the US, 50 in India, the UK and Europe)Flows one way
Changing voltageEasy, with a transformerNeeds electronic converters
Where it comes fromThe grid, generators, an inverter’s outputSolar panels, batteries, fuel cells, phone chargers’ output
What runs on itHousehold sockets, motors, most appliancesElectronics, LEDs, EVs, battery systems
Solar system partAfter the inverter: your home and the gridPanels, charge controller, battery, inverter input

Why the grid runs on AC

AC won the “war of the currents” in the 1890s because its voltage can be raised and lowered with a simple transformer, while DC could not easily be converted between voltages. High voltage loses less power over long lines, so AC let power stations sit far from the towns they served. The U.S. Department of Energy notes that electricity is still delivered mainly as AC.

Where DC wins today

Computers, LEDs, solar cells and electric vehicles all run on DC, and batteries can only store it. Very long transmission links increasingly use high-voltage DC (HVDC) because it loses less power over distance. Inside your home, every phone charger, laptop brick and LED driver is quietly turning AC back into DC.

AC and DC in a solar system

  1. Panels produce DC. Wired in series, their voltages add (see series vs parallel wiring).
  2. Charge controller (battery systems) regulates that DC into the battery — see MPPT vs PWM.
  3. Battery stores DC at 12, 24 or 48 V.
  4. Inverter converts DC to AC at your mains voltage and loses a few percent as heat. See what size inverter do I need.
  5. Home and grid use the AC.

Because the DC side carries high current at low voltage, cable size matters most there: a 2,000 W load draws about 185 A from a 12 V battery but under 9 A at 230 V AC. Check yours with the watts to amps calculator and size the cable with the wire size calculator.

Calculating with AC and DC

For DC, power is simply volts times amps: W = V × A. For AC, motors and electronics shift current out of step with voltage, so real power is W = V × A × power factor, and a balanced three-phase supply adds a factor of √3. The watts to amps and amps to watts calculators do all three.

Frequently asked questions

Is a solar panel AC or DC?

DC. Solar cells produce direct current; an inverter turns it into AC for your home and the grid. Microinverters do the conversion behind each panel, string inverters for a whole row of panels.

Is a battery AC or DC?

DC. Batteries store and deliver direct current, which is why a battery backup system needs an inverter to run household AC appliances.

Why does the grid use AC instead of DC?

Because AC voltage is easy to change with a transformer, so power can travel at high voltage and be stepped down for homes. DC was historically hard to convert between voltages.

Is AC or DC more dangerous?

Both can kill at household and solar voltages. In practice DC needs extra care in solar systems because a DC arc does not stop on its own the way AC current passes through zero many times a second, so DC circuits need breakers, fuses and isolators rated for DC.

Do I use the same formula for watts and amps in AC and DC?

For DC and for resistive AC loads, amps = watts ÷ volts. AC loads with motors or electronics also divide by the power factor, and three-phase supplies divide by √3 as well — the watts to amps calculator handles all three.

Sources