In this article, we study stability estimates when recovering magnetic fields and electric potentials in a simply connected open subset in $R^n$ with $n geq 3$, from measurements on open subsets of its boundary. This inverse problem is associated with a magnetic Schrodinger operator. Our estimates are quantitati