The performance of an eletric motor depends on the electromagnetic fields in its interior, which, among other factors, also depend on the geometry of the motor via the solution to Maxwell´s equations. This thesis is concerned with the question of how to determine a motor geometry which is optimal with respect to a given criterion.