Perhaps surprisingly, the crater would not be very deep as most of the kinetic energy would go into the atmosphere and not into soil compaction. This site should give you the information you need to properly scale the effects of air, surface, and underground detonations.
http://nuclearweaponarchive.org/Libr...ndEffects.html