The formulas
DC: I = P ÷ V. Single-phase AC: I = P ÷ (V × PF). Three-phase AC: I = P ÷ (1.732 × V × PF).
I is the current in amps, P the real power in watts, V the voltage and PF the power factor, from 0 to 1. For three-phase, V is the line-to-line voltage, between two phases, and 1.732 is the square root of 3.