The calculated distance (air line) between Budapest XXIII. kerület and Kecskemét is approximately 43 miles respectively 70 kilometers.
By car or train, the actual journey to Kecskemét is certainly longer, as only the direct route (as the crow flies) between Budapest XXIII. kerület and Kecskemét has been calculated here.
Air line (approximately)
70 kilometers
38 nautical miles