How much time are you scheduled/expected to work and how much do you really need?

For example, say you work 40 hours per week - does your job duties require more or less time? Once you take away chatting with coworkers and other random time goofing off (not that anyone DOES that ), can you fit your job into 30 hours? Or do you need (and sometimes work) extra hours because there just isn't enough time?