To convert from centimeters to kilometers, divide the length in centimeters by 100,000.