The calculated distance (air line) between Cartaxo and Lisbon is approximately 36 miles respectively 58 kilometers.
By car or train, the actual journey to Lisbon is certainly longer, as only the direct route (as the crow flies) between Cartaxo and Lisbon has been calculated here.