Is 9 to 6 considered 8 hrs?

I was hired at this tech company. They said that the working hours are from 9 to 6 making 9 hours in total. One hour is separated for the break. Is this how it works? I'm confused. Shouldn't it be 9-5 in general?