The calculated distance (air line) between Sant Just Desvern and Sant Andreu is approximately 7 miles respectively 12 kilometers.
By car or train, the actual journey to Sant Andreu is certainly longer, as only the direct route (as the crow flies) between Sant Just Desvern and Sant Andreu has been calculated here.
Air line (approximately)
12 kilometers
6 nautical miles