This paper presents an approach to estimate the orientation of the rectangular defect in the ferromagnetic specimen using the magnetic flux leakage technique. Three components of the magnetic flux leakage profile, such as radial, axial, and tangential component are considered to estimate the orientation of the rectangular defect. The orientation of the rectangular defect is estimated by the proposed analytical model using MATLAB software. The results calculated by the analytical model are validated by the three-dimensional finite element analysis using COMSOL Multiphysics software. Tangential component provides better performance to estimate the orientation of the rectangular defect compared with radial and axial component of the magnetic flux leakage profile.