The calculated distance (air line) between Qaryat al Bayyāḑah and Ajdabiya is approximately 139 miles respectively 224 kilometers.
By car or train, the actual journey to Ajdabiya is certainly longer, as only the direct route (as the crow flies) between Qaryat al Bayyāḑah and Ajdabiya has been calculated here.
Air line (approximately)
224 kilometers
121 nautical miles