how much energy you use when you workout?

If you are using a rowing machine or something similar, about 600 kilocalories/hr

600*10^3 cal (25 Joules/6 calories) = 2,500,000 Joules per hour
this is 694 Joules per second or Watts

By the way a horsepower is about 746 Watts