The calculated distance (air line) between Cardiff and Slough is approximately 111 miles respectively 179 kilometers.
By car or train, the actual journey to Slough is certainly longer, as only the direct route (as the crow flies) between Cardiff and Slough has been calculated here.