Here's the breakdown:
* Outer core to inner core boundary: This boundary lies at a depth of approximately 5,150 kilometers (3,200 miles) from the Earth's surface.
* Crust to outer core boundary: The outer core begins at a depth of about 2,900 kilometers (1,800 miles) from the Earth's surface.
Therefore, the total distance from the crust to the inner core boundary is roughly 8,050 kilometers (5,000 miles).
It's important to note that these are approximate values, and scientists are still refining their understanding of the Earth's interior.