The calculated distance (air line) between Pencoed and Birmingham is approximately 95 miles respectively 153 kilometers.
By car or train, the actual journey to Birmingham is certainly longer, as only the direct route (as the crow flies) between Pencoed and Birmingham has been calculated here.
Air line (approximately)
153 kilometers
82 nautical miles