The calculated distance (air line) between Castel Maggiore and Trieste is approximately 139 miles respectively 224 kilometers.
By car or train, the actual journey to Trieste is certainly longer, as only the direct route (as the crow flies) between Castel Maggiore and Trieste has been calculated here.
Air line (approximately)
224 kilometers
121 nautical miles