A neutron star has a mass comparable to that of the Sun , but as it is only about 10 km ( 6 mi ) in radius , it has an average density 1 quadrillion times that of water .
Neutron stars have a radius of about 10 kilometres ( 6 mi ) and a mass from about 1.4 to 5 times the mass of the Sun .