The calculated distance (air line) between Kozje and Ajdovščina is approximately 80 miles respectively 129 kilometers.
By car or train, the actual journey to Ajdovščina is certainly longer, as only the direct route (as the crow flies) between Kozje and Ajdovščina has been calculated here.
Air line (approximately)
129 kilometers
70 nautical miles