I dont know how much elect is per KwH but thats how the company meters it to you. It is probably ~$0.30/KwH (Kilowatt Hour.) Check your elec bill and it will tell you the cost. Anyways.. Watt * Hour * cost-per-hour = how much it will cost. so:
400*12*cost and 1000*24*cost.