The rate of demand for permanent magnet synchronous motors (PMSMs) in all types of applications is elevated day by day. Many topologies of PMSM have been developed and utilized in different sectors. Many software are available for primary analysis of motors, which have an inbuilt finite element solver. The study presented in the paper aims to optimize a spoke shape interior permanent magnet synchronous motors (IPMSMs) design parameters using particle swarm optimization technique (PSO), and Rao-1 algorithm. In this research, a 4 pole 24 slots spoke shape IPMSM motor is considered to optimize its parameters such as outer, inner stator diameter, rotor outer diameter, the height of magnet, stator tooth width, and the base width of the slot. Results obtained, and the effectiveness of optimization are validated by comparing with the results reported in the literature. Efficiency, torque, magnetic field, and other electromagnetic parameters are calculated and reported for the optimized IPMSM parameters. For improving the efficiency of IPMSM, an analysis of its different design factors is focused. In this study, efficiency improvement is achieved by optimizing stator slot featuring, and rotor parts designing. The corresponding results are reported. The complete operational analysis has been conducted in ANSYS Maxwell and MATLAB environment. Here total excitation of the motor highly depends on the magnetic material used in the rotor part of the motor.