speedc of light code example Example 1: speed of light 299 792 458 m / s Example 2: speed of light ~3*10^8 m/s ~299,792 km/s ~670,616,629 mph