It's 9.46 trillion kilometers, give or take a few kilometers
- Ars Technica OpenForum [PAR] 1 light year = 9.46 trillion km so 40 million light years * 9.46 trillion km gives us 
the number of kilometers.