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