The calculated distance (air line) between Joniškis and Mazeikiai is approximately 49 miles respectively 80 kilometers.
By car or train, the actual journey to Mazeikiai is certainly longer, as only the direct route (as the crow flies) between Joniškis and Mazeikiai has been calculated here.