To convert centimeters to kilometers, divide the number of centimeters by 100,000.