Looks like you were using an average of 12Wh/mile., using 300Wh over the 25 miles. Some use less, some more, often as a function of riding conditions and rider fitness.
40% is still a lot of battery left. Even if you want to keep your minimum battery charge to 20%, you should still be able to get 30-35miles out of a charge.