The study of Radiative heat transfer in a nanofluid with the influence of magnetic field over a stretching surface has been investigated numerically. This model is used for the laminar boundary layer flow of a nanofluid. This study is considered for two cases as steady and unsteady. Similar and non similar solutions are presented here. At first for the steady case the system of governing equation are transformed into nonlinear ordinary coupled differential equations. These equations are solved numerically using the Nactsheim-Swigert shooting iteration technique together with Runge-Kutta six order iteration scheme with the help of a computer programming language Compaq Visual Fortran 6.6a. Numerical results are obtained for the velocity, temperature and concentration distributions, as well as Skin-friction coefficient, Nusselt number and Sherwood number at the sheet. The obtained results are presented graphically and also in tabular form. After that; for the unsteady case, the governing equations have been non-dimensionalised by usual transformation. Numerical solutions for the velocity, temperature and concentration distributions are obtained for associated parameters.