The calculated distance (air line) between San Gil and Bogotá is approximately 150 miles respectively 241 kilometers.
By car or train, the actual journey to Bogotá is certainly longer, as only the direct route (as the crow flies) between San Gil and Bogotá has been calculated here.