It depends on your location. Magma is underneath the earth's crust. The thickness of the crust varies a lot.