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