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