The calculated distance (air line) between Barreirinhas and São Luís is approximately 103 miles respectively 166 kilometers.
By car or train, the actual journey to São Luís is certainly longer, as only the direct route (as the crow flies) between Barreirinhas and São Luís has been calculated here.
Air line (approximately)
166 kilometers
90 nautical miles