The calculated distance (air line) between Budapest XII. kerület and Ózd is approximately 78 miles respectively 125 kilometers.
By car or train, the actual journey to Ózd is certainly longer, as only the direct route (as the crow flies) between Budapest XII. kerület and Ózd has been calculated here.
Air line (approximately)
125 kilometers
68 nautical miles