A brushless DC (BLDC) motor is likewise called an electrically commutated motor; because of its long help life, high productivity, smaller size, and higher power output, it has numerous modern applications. These motors require precise rotor orientation for longevity, as they utilize a magnet at the shaft end, detected by sensors to maintain speed control for stability. In modern apparatuses, the corresponding, primary, and subsidiary (proportional-integral) regulator is broadly utilized in controlling the speed of modern machines; however, an ideal and effective controlling strategy is constantly invited. BLDC motor is a complex system having nonlinearity in its dynamic responses which makes primary controllers in efficient. Therefore, this paper implements metaheuristic optimization techniques such as Whale Optimization Algorithm (WOA), Particle Swarm Optimization (PSO), Ant Colony Optimization (ACO), Accelerated Particle Swarm Optimization (APSO), Levy Flight Trajectory-Based Whale Optimization Algorithm (LFWOA); moreover, a chaotic map and weight factor are also being applied to modify LFWOA (i.e., CMLFWOA) for optimizing the PI controller to control the speed of BLDC motor. Model of the brushless DC motor using a sensorless control strategy incorporated metaheuristic algorithms is simulated on MATLAB (Matrix Laboratory)/Simulink. The Integral Square Error (ISE) criteria is used to determine the efficiency of the algorithms-based controller. In the latter part of this article after implementing these mentioned techniques a comparative analysis of their results is presented through statistical tests using SPSS (Statistical Package for Social Sciences) software. The results of statistical and analytical tests show the significant supremacy of WOA on others.