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