The calculated distance (air line) between Heerenveen and Leiden is approximately 82 miles respectively 131 kilometers.
By car or train, the actual journey to Leiden is certainly longer, as only the direct route (as the crow flies) between Heerenveen and Leiden has been calculated here.
Air line (approximately)
131 kilometers
71 nautical miles