The calculated distance (air line) between Aljubarrota and Portimão is approximately 169 miles respectively 272 kilometers.
By car or train, the actual journey to Portimão is certainly longer, as only the direct route (as the crow flies) between Aljubarrota and Portimão has been calculated here.
Air line (approximately)
272 kilometers
147 nautical miles