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