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