The calculated distance (air line) between San Marcos and Danlí is approximately 161 miles respectively 259 kilometers.
By car or train, the actual journey to Danlí is certainly longer, as only the direct route (as the crow flies) between San Marcos and Danlí has been calculated here.
Air line (approximately)
259 kilometers
140 nautical miles