DC wire size calculator

Sizes DC cable against both governing criteria: voltage drop and ampacity. Includes temperature correction of conductor resistance and a switch between NEC and IEC/VDE.

Input

Input

Continuous current of the run — power divided by system voltage.

One-way distance; the calculation uses out and return conductors (factor 2).

3% is common for battery circuits, 1–2% for module–controller (every point costs yield there).

Result · Live

Recommended cross-section
16mm²next standard size above both requirements
Computed need (voltage drop)
14.9mm²before rounding up to the standard size
Actual voltage drop
2.80%with the recommended size, out and return conductors
Power loss in the cable
10.1Wturns into heat — a fire topic at high currents
Annual loss
10.1kWh/awhat the too-thin cable costs in yield every year
  • Conductor temperature is a default, not your input. Inside a conduit it runs considerably hotter, which increases the required size.TEMP_ASSUMED
  • This size satisfies voltage drop. Ampacity must be checked separately — 30 A is required.AMPACITY_SEPARATE_CHECK
  • Length is the one-way run. The factor of 2 for the return conductor is already in the formula.LENGTH_INTERPRETATION
Voltage drop per standard size — limit 3%
0.5 mm²89.59 % 0.75 mm²59.73 % 1 mm²44.8 % 1.5 mm²29.86 % 2.5 mm²17.92 % 4 mm²11.2 % 6 mm²7.47 % 10 mm²4.48 % 16 mm² ◀2.8 % 25 mm²1.79 % 35 mm²1.28 % limit

The marked size is the first that stays below the limit line. Red = too thin: the drop exceeds the limit, and the difference is burnt off as heat in the cable.

Calculation steps
  • Resistivity at conductor temperature: rho_20 * (1 + alpha * (T - 20)) = 0.017919 Ohm*mm^2/m
  • Permissible voltage drop: U_sys * d% / 100 = 0.36 V
  • Cross-section from voltage drop: (2 * rho * L * I) / dU_max = 14.932 mm^2
  • Required ampacity: I_B / (f_T * f_H) = 30 A
  • Actual voltage drop: (2 * rho * L * I) / A_sel = 0.33597 V

The formulas behind the calculator

Every number above can be recomputed: the full calculation path, all assumptions and the data source with retrieval date — plus cross-validation against independent references. Disclosed, not claimed.

Safety-relevant calculation. This is an estimate based on the stated assumptions. The final design must be checked by a qualified electrician against the rules that apply where you are.

Data as of: 2026-07-15 · The technical review of this safety-relevant calculator is still outstanding.

Every intermediate value with its formula, number and provenance
StepFormulaValueProvenance
Resistivity at conductor temperaturerho_20 * (1 + alpha * (T - 20))0.017919 Ohm*mm^2/mmeasured
Permissible voltage dropU_sys * d% / 1000.36 Vexact
Cross-section from voltage drop(2 * rho * L * I) / dU_max14.932 mm^2exact
Required ampacityI_B / (f_T * f_H)30 Aexact
Actual voltage drop(2 * rho * L * I) / A_sel0.33597 Vexact
Formula
A = (2 · ρ(T) · L · I) / ΔU_allowed
Valid for
Two-stage: cross-section from voltage drop (A = 2·ρ·L·I/ΔU, one-way length — the factor 2 sits in the formula), then ampacity check when the base ampacity from the code table is provided (otherwise named as a separate step). NEC 690 two-path for PV source circuits switchable (125 %/156 %, correction factors as divisors). Reference: 30 A, 5 m, 12 V, 3 % → 14.9 mm², trade size 16 mm², 2.80 % actual drop, 10 kWh annual loss at 1,000 h. Conductor temperature as a named assumption (30 °C) or deliberate entry.
Not covered
Installation-method ampacity tables (the table value is user input — calculator 18 does the derating), short-circuit withstand, protective-device coordination (calculator 16), harmonics, mechanical protection and installation rules.
Data sources
  • Official publications of the standards bodies and state authorities (NFPA, IEC, DKE/VDE, CEN) · retrieved 2026-07-15

Frequently asked questions

What wire size do I need for 30 A over 5 metres at 12 V?

With a 3 % drop limit, copper and a conductor temperature of 30 °C, the formula A = (2 · ρ(T) · L · I) / ΔU_allowed gives 14.93 mm²; the next standard size is 16 mm², which lands at an actual drop of 2.80 %. At 24 V the requirement halves to 7.47 mm², so 10 mm² off the shelf. Enter the one-way run length — the factor 2 for the return conductor is already built into the formula.

Why does conductor temperature matter when sizing DC cable?

Resistivity rises with temperature: ρ(T) = ρ_20 · (1 + α · (T − 20)). In the reference case, moving from 30 °C to 70 °C conductor temperature raises the required cross-section from 14.93 to 17.19 mm² — about 15 % more. Sizing with the cold resistance leaves the cable undersized.

Is sizing a cable by voltage drop alone enough?

No — this calculator always evaluates both governing criteria, voltage drop and ampacity, and the larger cross-section wins. Most free cable calculators only compute the drop and can return sizes that are thermally impermissible. Short-circuit withstand and the drop across connectors and terminations are outside the scope.

Why does the calculator check two criteria — voltage drop and ampacity?

Because they answer different questions: voltage drop is an efficiency and function issue (too thin = losses, flickering lights, devices shutting down), ampacity a safety issue (too thin = overheating, fire risk). The recommended size is the next standard size above BOTH requirements — and the calculator says which criterion governed. For short, high-current runs ampacity often wins; for long runs, voltage drop.

What does a too-thin cable really cost?

Twice over: the power loss P = I² × R is burnt off in the cable — at 100 A and a tenth of an ohm that is 1,000 W, in the middle of the run. Over the year this adds up to lost yield, quantified by the “annual loss” tile. A cross-section step costs a few euros per metre once; the loss runs forever.

Why does the calculator use twice the length?

Because current flows through out AND return conductors: over a 5 m run it passes 10 m of copper. Forgotten return conductors are the most common error in forum rules of thumb — results are then optimistic by a factor of 2. The calculator takes the one-way distance as input and doubles internally.

Can the calculator now check ampacity as well?

Yes — if you enter your conductor's base ampacity from the code table (switch in the advanced assumptions). The page then checks both criteria in one step and states which one governs the cross-section. Without the value it keeps the honest statement that ampacity must be checked separately — an invented table value would be the worst thing in a safety-critical calculator.

What does the NEC 690 two-path switch do?

For PV source circuits it computes both prescribed paths and takes the stricter: 125 % of the short-circuit current rated at 156 % (continuous path) against the value divided by the correction factors (conditions path). From 11 A Isc this yields 18.9 A of required ampacity. The switch only acts under NEC standards — IEC/VDE have no such construct.

Why does the temperature warning disappear when I set the temperature?

Because it warns precisely that 30 °C is only a default. If you enter the conductor temperature deliberately — say 70 °C in a filled cable duct — you have replaced the assumption with a decision; in the example the required cross-section grows from 16 to 25 mm². Until 5 August 2026 the warning appeared always, even after a deliberate entry.

What are the operating hours per year for?

They translate loss power into energy: 10.1 W of continuous loss is about 10 kWh per year at 1,000 operating hours — energy the system must first generate. For a continuous runner (8,760 h) the same cable becomes an 88 kWh item, and a larger cross-section pays for itself via module cost. The field was previously unreachable.

Does the calculation also apply to the controller-to-battery run?

Yes, with the charge current as input — the charge controller calculator hands it over directly via the follow-on link. For the PV side the string calculator hands over the best configuration's short-circuit current, because NEC 690 computes from Isc, not from operating current. Both handovers work since 5 August 2026.