how far is the distance to the sun in kilometers
There is a unit for measuring the distance from the earth to the sun known as an astronomical unit. This is 149,597,870,691Km (~93 million miles) plus or minus 30Km. You can use an astronomical unit to compare distances against the distance between the earth and sun e.g the distance between the sun and Mars is 1.52 AU.