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