Earth 's crust , on average 40 km ( 25 mi ) , is three times smaller than Marsâ crust based on the sizes of the two planets if they are made equal . Earth 's crust , averaging 40 km , is only one third as thick as Marsâ crust , relative to the sizes of the two planets .