The calculated distance (air line) between Cardiff and Mountain Ash is approximately 16 miles respectively 27 kilometers.
By car or train, the actual journey to Mountain Ash is certainly longer, as only the direct route (as the crow flies) between Cardiff and Mountain Ash has been calculated here.
Air line (approximately)
27 kilometers
14 nautical miles