This work analyzes the two-dimensional flow of an incompressible magneto-hydrodynamic fluid over linear stretching sheet in the presence of suction or injection and convective boundary conditions. A scaling group transformation method is applied to the flow governing equations. The system remains invariant due to the relation between the transformation parameters. Upon finding three absolute invariants, third-order ordinary differential equations (ODEs) corresponding to momentum equation and second-order ODEs corresponding to energy and diffusion equations are derived. Shooting technique (R-K fourth-order) is applied to work out the flow equations numerically. MATLAB is used for the simulation and the results are exhibited through graphs. The computational results are validated with the published research work and a modest concurrence was found. The main outcome of this study is found to be that raising values of [Formula: see text] and [Formula: see text] decline the friction, whereas [Formula: see text] and [Formula: see text] show the opposite (increasing). The rising values of [Formula: see text] and [Formula: see text] in addition to [Formula: see text] and [Formula: see text] show a decline in friction factor. The Nusselt number values are improved as raising values of [Formula: see text] versus [Formula: see text] and [Formula: see text] versus [Formula: see text]. It is very clear the monotonically increasing [Formula: see text] versus [Formula: see text] and strictly increasing [Formula: see text] versus [Formula: see text] cases. It is very clear the mass-transfer rate is smoothly improved [Formula: see text] versus [Formula: see text] and strictly increased [Formula: see text] versus [Formula: see text].