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