The power grid has significant power losses, unstable voltage, and large voltage drops during high demand due to its high resistance. One way to reduce power loss is by strategically placing and sizing Distributed Generation (DG) within the distribution network. However, improper installation of DG can increase power loss. To address this issue, various optimization techniques have been used, but finding the best solution and dealing with complex issues has been challenging. It is important to make efforts to optimally place and size DG in the distribution network to minimize power loss. To this end, a research study aimed to minimize power loss and improve the voltage profile on the DG network using the Whale Optimization Algorithm (WOA) was done. Objective functions were formulated and integrated into WOA, and power flow analysis on the standard IEEE 33-bus and 33-bus Ilorin industrial distribution feeder with and without DG was conducted using the forward and backward sweep distribution load flow algorithm. The optimal size and location of DG for power network loss reduction using sensitivity analysis (SA) and the whale optimization algorithm were determined. The results of the power flow analysis indicated that the total active losses and reactive power losses were reduced to varying extents with the integration of DG using both SA and WOA. The validation results showed that WOA is more efficient and provides high-quality solutions in terms of system loss reduction and best placement for DG in power systems compared to the application of SA. Additionally, WOA was found to offer accurate and high-quality solutions for power loss reduction compared to other existing techniques such as Loss Sensitivity Analysis (LSA), Grey Wolf Optimizer (GWO), Adaptive Shuffled Frogs Leaping Algorithm (ASFLA), and One Rank Cuckoo Search Algorithm (ORCSA). Keywords: Optimization, Distributed Generation (DG), Whale Optimization Algorithm (WOA), Sensitivity Analysis (SA)