Basic formula
Work time = end time − start time − break time.
Example
From 09:00 to 18:00 is 9 hours. With a 60-minute break, the work time is 8 hours.
Weekly total
Multiply daily work hours by the number of work days. If you work 8 hours for 5 days, the weekly total is 40 hours.
Overtime
Overtime is usually total weekly hours minus standard weekly hours. The exact rules depend on local policy and employment terms.