Transformer cable sizing. It also determines the turns ratio and type of transformer.

Transformer cable sizing. Transformer Size Calculator.