When sizing battery banks, fuses, and DC wiring for an inverter, the DC to AC formula is not a simple voltage multiplier; it is a power conservation equation that accounts for AC power factor and inverter efficiency losses. The core formula to calculate the required DC input current for a given AC load is:
IDC = (VAC × IAC × cos(θ)) / (VDC × η)
This equation ensures your DC-side components (wire gauge, busbars, and battery management systems) are rated for the actual current drawn from the battery, which is always significantly higher than the AC output current due to the step-up in voltage and conversion losses.
The Core DC to AC Power Conservation Formula
The formula above is derived from the law of conservation of energy: Power In = Power Out + Losses. In AC circuits, real power (Watts) is the product of RMS voltage, RMS current, and the Power Factor (PF). The inverter’s efficiency (η) accounts for the heat lost during the DC-to-AC switching process.
| Symbol | Parameter | Unit | Typical DIY / Off-Grid Range |
|---|---|---|---|
| IDC | DC Input Current | Amps (A) | 10A to 300A+ |
| VDC | DC Bus / Battery Voltage | Volts (V) | 12V, 24V, or 48V nominal |
| VAC | AC RMS Output Voltage | Volts (V) | 120V (US) or 230V (EU/AU) |
| IAC | AC RMS Output Current | Amps (A) | 1A to 50A |
| cos(θ) | Power Factor (PF) | Dimensionless | 0.60 (inductive motors) to 1.0 (resistive heaters) |
| η | Inverter Efficiency | Decimal | 0.85 to 0.95 (85% to 95%) |
Rearranged Forms for Every Variable
Depending on whether you are sizing a battery bank, selecting an inverter, or diagnosing efficiency losses, you will need to isolate different variables. Here are the algebraic rearrangements of the core formula:
- Solve for DC Current (Sizing wire/breakers):
IDC = (VAC × IAC × cos(θ)) / (VDC × η) - Solve for DC Voltage (Selecting battery bank topology):
VDC = (VAC × IAC × cos(θ)) / (IDC × η) - Solve for AC Current (Sizing AC output breakers):
IAC = (VDC × IDC × η) / (VAC × cos(θ)) - Solve for Inverter Efficiency (Bench testing/diagnostics):
η = (VAC × IAC × cos(θ)) / (VDC × IDC) - Solve for Real AC Power (Watts):
PAC = VDC × IDC × η (Note: This assumes you are solving for the real power delivered to the load, where PAC = VAC × IAC × cos(θ)).
Worked Examples with Unit Tracking
Abstract formulas lead to melted wire lugs. Here are two real-world scenarios with explicit unit tracking to show how the math translates to physical hardware decisions.
Problem 1: Sizing DC Wiring for a 12V Inverter Running a Fridge
Scenario: You are wiring a 12V LiFePO4 battery to a 2000W inverter. The load is a 120V AC compressor fridge drawing 8.5A with a Power Factor of 0.75. The inverter’s datasheet lists a peak efficiency of 0.90. Under this heavy load, the battery voltage sags to 12.2V at the inverter terminals. What is the DC current, and what AWG wire do you need?
- Identify knowns: VAC = 120V, IAC = 8.5A, cos(θ) = 0.75, VDC = 12.2V, η = 0.90.
- Set up the equation:
IDC = (120V × 8.5A × 0.75) / (12.2V × 0.90) - Calculate the numerator (Real AC Power):
120V × 8.5A × 0.75 = 765 Watts (W) - Calculate the denominator (Effective DC Voltage):
12.2V × 0.90 = 10.98 Volts (V) - Divide to find DC Current:
IDC = 765W / 10.98V = 69.67 Amps (A) - Hardware Decision: A continuous 70A draw requires wire rated for at least 87.5A (NEC 125% continuous load rule). You must use 2 AWG THHN or 1/0 AWG welding cable and a 100A Class T fuse. 4 AWG wire (rated ~85A in free air) will overheat in conduit.
Problem 2: Selecting Battery Bank Voltage for a Well Pump
Scenario: You are designing an off-grid system for a 240V AC submersible well pump that draws 12A at a 0.80 PF. Your maximum available DC breaker is 150A. The inverter efficiency is 0.92. Should you build a 24V or 48V battery bank?
- Identify knowns: VAC = 240V, IAC = 12A, cos(θ) = 0.80, η = 0.92, Max IDC = 150A.
- Calculate Real AC Power:
240V × 12A × 0.80 = 2,304W - Test 24V Bank (assuming 23.5V under load):
IDC = 2,304W / (23.5V × 0.92) = 2,304W / 21.62V = 106.5A. (Fits within the 150A breaker, but requires massive 1/0 AWG cables). - Test 48V Bank (assuming 47.0V under load):
IDC = 2,304W / (47.0V × 0.92) = 2,304W / 43.24V = 53.2A. - Hardware Decision: Choose the 48V bank. The 53.2A draw allows you to use much cheaper and easier-to-route 6 AWG wire and an 80A breaker, drastically reducing I²R heat losses in the cables.
Unit Mistakes and Magnitude Sanity Checks
The most common reason DIY inverter builds fail or catch fire is not bad hardware, but bad math. Watch out for these specific unit traps:
- Using Peak Voltage instead of RMS: Multimeters set to AC measure RMS voltage (e.g., 120V). The peak voltage of a 120V sine wave is actually ~170V. If you plug 170V into VAC, your calculated DC current will be 41% too high, leading you to massively overspend on wire and busbars. Always use the RMS value.
- Percentage vs. Decimal Efficiency: If your inverter is 90% efficient, η = 0.90. If you type 90 into the denominator, your calculated DC current will be 100 times too small. You will install 14 AWG wire for a 100A load, resulting in an immediate thermal event.
- Ignoring Voltage Sag: A "12V" LiFePO4 battery rests at 13.6V. Under a 100A load, it sags to 12.0V or lower. If you use 13.6V in your formula, you underestimate the DC current by over 10%. Always calculate using the loaded terminal voltage.
Frequently Asked Questions
What is the formula to convert DC voltage to AC RMS voltage?
If you are designing the inverter topology itself rather than sizing the power system, the relationship between the DC bus voltage and the AC RMS output voltage for a modern Sinusoidal Pulse Width Modulated (SPWM) full-bridge inverter is:
VAC_RMS = (VDC × ma) / √2
Where ma is the amplitude modulation index (typically 0.80 to 0.95 to prevent overmodulation and clipping). For example, to generate a clean 120V RMS sine wave (requiring ~170V peak) with a modulation index of 0.90, you need a DC bus voltage of at least 188V. This is why grid-tie solar inverters require high-voltage series panel strings.
Does the DC to AC formula change for three-phase inverters?
Yes. The DC-to-AC power conservation principle remains the same, but the AC power calculation changes. For a balanced three-phase load, the AC real power is calculated as √3 × VLine-to-Line × ILine × cos(θ). Therefore, the DC current formula becomes:
IDC = (√3 × VAC_LL × IAC × cos(θ)) / (VDC × η).
If you forget the √3 multiplier (approx. 1.732), you will undersize your DC battery cables by nearly half.
How do I account for inverter surge currents in the formula?
The standard formula calculates continuous running current. However, AC induction motors (like well pumps, compressors, and table saws) draw Locked Rotor Amps (LRA) for 1 to 3 seconds during startup, which can be 3 to 6 times the running IAC. To size your DC fuses and battery BMS discharge limits, multiply your calculated IDC by the motor’s surge factor. For example, if the running IDC is 50A and the compressor has a 3x surge, your battery BMS must be capable of sustaining a 150A peak discharge without tripping its over-current protection, and your DC wiring must handle the thermal mass of that surge without melting. For deeper reading on reactive loads and power factor, see the All About Circuits AC textbook chapter on reactive power.






