The calculated distance (air line) between Gulbene and Cēsis is approximately 56 miles respectively 90 kilometers.
By car or train, the actual journey to Cēsis is certainly longer, as only the direct route (as the crow flies) between Gulbene and Cēsis has been calculated here.