The calculated distance (air line) between Castanheira do Ribatejo and Aveiro is approximately 115 miles respectively 186 kilometers.
By car or train, the actual journey to Aveiro is certainly longer, as only the direct route (as the crow flies) between Castanheira do Ribatejo and Aveiro has been calculated here.
Air line (approximately)
186 kilometers
100 nautical miles