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