The formulas
DC: P = V × I. Single-phase AC: P = V × I × PF. Three-phase AC: P = 1.732 × V × I × PF.
P is the real power in watts, V the voltage, I the current in amps and PF the power factor. For three-phase, V is the line-to-line voltage and 1.732 the square root of 3. Divide by 1,000 for kilowatts.