AC vs DC: Alternating and Direct Current Explained

Illustration comparing direct current as a flat line from a battery with alternating current as a sine wave from a power outlet

Direct current (DC) flows in one direction at a steady polarity, as it does from a battery or a solar panel. Alternating current (AC) reverses direction many times a second, as it does from a wall outlet. Both are measured in the same units: current in amperes (A) and voltage in volts (V). What AC adds is a frequency, measured in hertz (Hz), which is the number of complete back-and-forth cycles per second: 60 Hz in the United States and Canada, 50 Hz in the UK and Australia. Stanford University’s energy education pages put it simply: AC is produced by generators, while DC is produced by solar panels, batteries and fuel cells.

So what is “the unit” of alternating current? It is the ampere, the same as for DC, but AC amps and volts are normally quoted as RMS (root mean square) values, which are explained below. This guide covers how AC and DC differ, how to read AC voltage and current ratings, why the grid uses AC, why your devices need DC, how AC is converted to DC (and back), and what happens when AC flows through a coil. It also corrects some persistent myths.

Key takeaways

  • DC has a constant direction. AC alternates direction at a set frequency (60 Hz or 50 Hz for mains power).
  • The unit of current is the ampere for both. AC adds frequency (Hz) to describe how fast it alternates.
  • AC voltage ratings are RMS values. A 120 V outlet actually swings between about +170 V and −170 V.
  • The grid uses AC because transformers, which only work with changing current, make it easy to step voltage up for transmission and down for homes.
  • Most electronics, batteries, EVs, and solar panels use DC, so rectifiers (AC to DC) and inverters (DC to AC) are everywhere.
  • Neither AC nor DC is inherently “safe”. Both can cause serious injury or death.

AC vs DC at a glance

Feature Direct current (DC) Alternating current (AC)
Direction of flow One direction, constant polarity Reverses periodically (a sine wave in mains power)
Typical sources Batteries, solar panels, fuel cells Generators at power plants, inverters
Unit of current / voltage Amperes (A) / volts (V) Amperes (A) / volts (V), usually as RMS values
Frequency Not applicable (0 Hz) 50 or 60 Hz for mains power
Changing voltage level Needs electronic converters Simple with a transformer
Typical uses Electronics, phones, LED lighting, EV batteries, solar, data centers Wall outlets, grid transmission and distribution, large motors and appliances
Long-distance transmission Used in high-voltage DC (HVDC) lines for very long distances Standard for the grid

What is direct current?

In direct current, charge flows in one direction. A battery has a fixed positive and a fixed negative terminal, so it can only push current one way. A solar cell does the same: the U.S. Department of Energy (DOE) explains that sunlight frees electrons in a solar cell, and the current flows out through metal contacts before it travels to an inverter, which converts the direct current (DC) to alternating current (AC) for the grid and your home. DC also powers most electronics internally, from phones to computers to LED lighting.

What is alternating current?

Alternating current reverses direction in a regular pattern. The most common form, and the one used on the grid, is a sine wave: voltage rises to a positive peak, falls through zero, reaches a negative peak,eak and returns, completing one cycle. The number of cycles per second is the frequency.

Where AC comes from: a coil in a magnetic field

Power plants make AC because of how generators work. The U.S. Energy Information Administration (EIA) explains that moving a magnet inside a coil of wire induces an electric current in the wire, a discovery attributed to Michael Faraday in 1831. In a rotating generator, the coil sweeps past the north pole and then the south pole of a magnet, so the current flows one way and then the other. A University of Maryland physics text describes this: for a simple generator, to produce 60 Hz power the generator must turn 60 times each second in the simplest arrangement, and 50 times each second for 50 Hz. Real power plant generators have different pole arrangements, but the principle is the same: the speed of rotation sets the grid frequency.

Units of alternating current: amps, volts, hertz, Hz, and RMS

Quantity Unit Symbol Note for AC
Current ampere A Quoted as an RMS value
Voltage volt V Quoted as an RMS value
Frequency hertz Hz 50 or 60 Hz for mains power
Real power watt W Average power that does work
Apparent power volt-ampere VA Volts times amps, which can exceed watts in AC

Our guide to volts, amps and watts explains these units and the difference between watts and VA.

What RMS means

An AC voltage is constantly changing, so “120 volts” has to mean something specific. The convention is the root-mean-square (RMS) value: square the voltage at each instant, average the squares over a cycle, then take the square root. Britannica describes RMS voltage as the equivalent direct current voltage of an alternating current source, and for a sine wave it equals the peak voltage divided by the square root of 2 (about 0.707 of the peak). In other words, a 120 V RMS supply delivers the same heating power to a resistor as 120 V DC.

A physics textbook from OpenStax shows what that means for household voltage: the AC voltage swings from 170 V to −170 V and back 60 times every second, and the equivalent DC voltage is a constant 120 V. Standard practice is to quote RMS values for voltage and current, not peaks.

Mains supply RMS voltage Peak voltage (RMS × 1.414) Frequency
United States, Canada 120 V (240 V for large appliances) About 170 V (about 340 V) 60 Hz
United Kingdom, Australia 230 V nominal About 325 V 50 Hz

Worked example: current and peak current for a heater (hypothetical)

  • A 1,500 W resistive heater at 120 V RMS draws 1,500 ÷ 120 = 12.5 A RMS.
  • Its peak current is about 12.5 × 1.414 = 17.7 A.
  • The same heater at 230 V RMS draws 1,500 ÷ 230 = about 6.5 A RMS.

Circuit breakers, meters, and appliance labels use RMS values. The 1.414 factor applies only to a pure sine wave. Other waveforms have different ratios, which is why some meters are described as “true RMS”.

Why the electricity grid uses AC

The “War of the Currents” in the late 1800s pitted Thomas Edison’s DC systems against the AC systems promoted by George Westinghouse and Nikola Tesla. The DOE’s account says the problem was that direct current is not easily converted to higher or lower voltages, and that Tesla believed AC was the solution. The Union of Concerned Scientists makes the technical point: the real difference was transformers, which only work with time-varying AC voltage. Transformers let utilities raise voltage for long-distance transmission, which cuts losses, and lower it again for safe household use. You can see the process in our guides to the electric substation and the pole transformer.

The DOE notes that direct current has since had a renaissance. Because it is more stable, companies use high-voltage direct current (HVDC) to transport electricity long distances with less loss. Modern power electronics can convert between AC and DC at each end, which makes HVDC practical for very long lines and undersea cables. So the grid is overwhelmingly AC, but DC has an important niche.

Converting between AC and DC

Conversion Device Where you see it
AC to DC Rectifier, power supply, charger Phone and laptop chargers, TVs, LED drivers, EV chargers
DC to AC Inverter Solar systems, battery backup, UPS units, car power inverters
AC to AC (different voltage) Transformer Pole and pad transformers, substations, some small power adapters
DC to DC (different voltage) DC-DC converter Inside EVs, laptops, and phones

DC to AC: inverters

The DOE describes an inverter as a device that converts DC electricity, which is what a solar panel generates, to AC electricity, which the electrical grid uses. Its page on inverters explains that an inverter does this by switching the direction of a DC input back and forth very rapidly, with filters to smooth the result into a clean sine wave. Solar systems use either one central or string inverter or microinverters on each panel, and a battery can charge from solar over DC directly or after conversion to AC.

AC to DC: chargers and rectifiers

Electronics run on DC, so a charger or built-in power supply converts the wall’s AC into the DC the device needs, usually also lowering the voltage. The same happens with electric vehicles. The DOE explains that AC Level 1 and Level 2 chargers supply AC power through the charging port, and the vehicle’s on-board charger converts it to DC before it reaches the traction battery, while DC fast chargers do the conversion in the station and send DC directly to the battery. Every conversion loses some energy as heat, which is one reason chargers get warm.

What happens when AC flows through a coil?

Coils behave very differently with AC and DC, and this is the principle behind transformers, motors, and generators.

  • With DC, a coil of wire makes a steady magnetic field (an electromagnet). Once the current has settled, only the wire’s resistance limits the current.
  • With AC, the current and magnetic field keep changing, and a changing magnetic field induces a voltage in the coil itself and in any nearby coil. This is how transformers work, and it is also why a coil resists AC more than the same coil resists steady DC.

That extra opposition is called inductive reactance: XL = 2π × frequency × inductance. A hypothetical example: a coil with an inductance of 0.1 henry at 60 Hz has a reactance of 2π × 60 × 0.1 = about 37.7 ohms, on top of its wire resistance. At 0 Hz (DC), the reactance is zero. This is why a transformer or motor winding that works safely on its rated AC supply could overheat if connected to DC of the same voltage. Never connect equipment to a supply type it is not rated for.

Where DC is gaining ground in the home

  • Solar and batteries. Panels and batteries are DC. The DOE notes that building-integrated solar could power DC applications in buildings such as LED lighting, computers, sensors,s and motors. Systems that connect a battery on the DC side (DC-coupled) avoid some conversion steps compared with systems that convert to AC first.
  • Electric vehicles. The battery is DC. See our guide to amp hours and kWh for how battery ratings work.
  • Consumer electronics and LED lighting use DC internally, which is why they have power bricks or built-in drivers.

Still, wall outlets and almost all home wiring are AC, so for the near future most homes use both, with converters in between.

AC and DC motors in brief

Motors use the same coil-and-magnet principle in reverse: current in coils creates forces that spin a rotor. AC motors (such as induction motors) run directly from the grid and are common in fans, pumps, ps and appliances, while DC motors and DC-based brushless designs are common in battery-powered tools, vehicles,les and many modern variable-speed appliances. This is general background, and motor types vary widely.

AC vs DC safety

A popular myth says that one is safe and the other deadly. In the late 1880s, Edison’s campaign claimed AC was more dangerous, and the DOE’s account describes it as misinformation. Both AC and DC can cause serious injury or death, and the hazard depends on voltage, current, the path through the body, and the duration of contact. High-voltage DC systems, such as solar arrays and battery banks, can also sustain dangerous arcs. Work on household wiring, solar systems, batteries, series, and EV chargers should be left to qualified, licensed professionals, following local codes and the manufacturer’s instructions.

Common mistakes and misconceptions

  • “AC is more dangerous than DC” (or the reverse). Both are hazardous.
  • “DC can’t travel far.” Modern HVDC lines carry power over very long distances. Early low-voltage DC systems could not.
  • “Batteries produce AC.” Batteries produce DC. Any AC from a battery system comes from an inverter.
  • “120 V means the voltage never exceeds 120.” It is the RMS value, and the peak is about 170 V.
  • “Hertz is a kind of voltage.” Hertz measures frequency, not voltage.
  • Mixing up supply types. Plugging a DC-only device into AC (or the reverse) can destroy it. Check the label.
  • Assuming a travel adapter changes frequency and voltage. Many only change the plug shape. Check the device’s rated input range.

Frequently asked questions

What is the unit of alternating current?

The ampere (A), the same unit as for direct current. AC also has a frequency, measured in hertz (Hz). AC amps and volts are normally given as RMS values.

What is the difference between AC and DC?

DC flows in one direction with constant polarity. AC reverses direction periodically, 60 times per second in the US and Canada and 50 times per second in the UK and Australia.

Why do we use AC for the power grid?

Because transformers make it easy to raise AC voltage for efficient long-distance transmission and lower it for use in homes. Transformers only work with changing current.

Do batteries and solar panels produce AC or DC?

DC. Solar systems use inverters to convert the DC to AC for the grid and household appliances.

How do you convert AC to DC?

With a rectifier, usually built into a power supply or charger, often combined with a transformer or converter to reduce the voltage and electronics to smooth the output. EV on-board chargers and DC fast chargers do the same job at higher power.

What does RMS voltage mean?

It is the effective value of an AC voltage: the DC voltage that would deliver the same average power to a resistor. For a sine wave, the RMS value is the peak voltage divided by the square root of 2, so a 120 V RMS supply peaks near 170 V.

Conclusion

AC and DC differ in how the current flows: one direction for DC, constantly reversing for AC. They share the same units, amperes and volts, with AC adding frequency in hertz and RMS ratings to describe a constantly changing wave. The grid uses AC because transformers can change its voltage, while batteries, solar panels and electronics use DC, so converters sit between them. Knowing which is which, and reading the ratings correctly, helps you choose chargers, understand solar and battery systems,ystems and avoid mixing up equipment. For related background, see our guides to volts, amps and watts and what a pole transformer does.

admin
Article Author & Researcher

admin

admin is an energy contributor and editorial researcher at Modern Energy Hub covering clean power, home storage, and residential efficiency.

Leave a Reply

Your email address will not be published. Required fields are marked *