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