Kilometers to astronomical units conversion calculator shown above calculates how many astronomical units are in 'X' kilometers (where 'X' is the number of kilometers to convert to astronomical units). In order to convert a value from kilometers to astronomical units (from km to AU) simply type the number of km to be converted to AU and then click on the 'convert' button.