The kilometre is unit of length in the metric system equivalent to one thousand metres.
1Km is equivalent to 0.6214 miles.
A lightyear is the distance that light travels in one year. Since there are various definitions for the length of a year, there are correspondingly slightly different values for a lightyear. One lightyear corresponds to about 9.461e15 m, 5.879e12 mi, or 63239.7 AU, or 0.3066 pc.