The calculated distance (air line) between Castel San Pietro Terme and Trieste is approximately 138 miles respectively 221 kilometers.
By car or train, the actual journey to Trieste is certainly longer, as only the direct route (as the crow flies) between Castel San Pietro Terme and Trieste has been calculated here.
Air line (approximately)
221 kilometers
119 nautical miles