Skip to main content

Electrical Cable Calculator _verified_ -

24A continuous EV charger Voltage: 240V single-phase Distance: 200 ft (one way) Conductor: Copper, THHN 90°C Derating: 2 conductors in conduit, ambient 30°C (no derate) Allowable drop: 3%

import math

if __name__ == "__main__": main()

Smaller conductors waste more energy as heat, increasing long-term operational costs.

Elias realized his mistake. He had been thinking about safety (not catching fire), but not efficiency (delivering the power). The wire was "technically" safe enough not to burn immediately, but it was too thin to carry the heavy current that distance. The saw starved, drew more amps to compensate, and tripped the breaker. electrical cable calculator

He scrolled down to the explanation section of the calculator—the "Why" behind the math. This was the moment Elias actually learned what the tool was for.

The result blinked on the screen: Recommended Wire Size: 12 AWG. The wire was "technically" safe enough not to

Returns: float: The voltage drop in volts. """ # Resistivity of copper and aluminum in Ωm resistivity = 'copper': 1.68e-8, 'aluminum': 2.65e-8

Elias went back to the hardware store. This time, he didn't guess. He bought the thicker, 12-gauge wire the calculator recommended. This was the moment Elias actually learned what

voltage_drop = calculate_voltage_drop(load_current, cable_length, cable_size, material) print(f"The voltage drop is: voltage_drop:.2f V") elif choice == '3': break else: print("Invalid option. Please choose again.")