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