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