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