For electrical machines with a 3D geometry such as axial flux permanent magnet machines, the computation of iron losses and magnet losses in case of PWM supply could be performed by a transient 3D Finite element model (FEM) coupled with an electrical circuit. To reduce the CPU time, in this paper, these losses are computed with acceptable accuracy without using a 3D transient FEM. The multislice technique is used with a 2D static FEM, combined with a state space model of the machine. A Preisach hysteresis model is considered to evaluate the iron loss during minor loops. The loss in the electrical steel and in the magnets is evaluated for several PWM frequencies as well as for different segmentations of the magnets. Index Terms-Finite Element Analysis, pulse width modulation (PWM), losses, permanent magnet synchronous machine, axial flux, Preisach model 0018-9464 (c)