I used the following method to calculate calorie burn while commuting on my e-bike.
I do 1.25 hours each way, so 2.5 hour round trip.
My battery will deliver 500W for one hour
At the level I have the bike set to, I can get three hours out of it, so it is delivering 166W per hour
Converting to...