MicroSAS
EN

Hours worked calculator

Enter the start time, end time and breaks for each day and get your weekly total in hours and minutes and in decimal, your overtime against your contracted hours and, if you like, the amount to be paid.

  • Free
  • No sign-up
  • Night and split shifts

For a split shift, add another row with the same day. If the end time is earlier than the start time, the shift is taken to end the next day (night shift).

In Spain, the legal maximum is 40 hours of actual work per week, averaged over the year (art. 34.1 of the Workers’ Statute); your collective agreement or contract may set fewer.

Weekly total0:00 h

How it works

  1. 1

    Fill in your times

    Start time, end time and break minutes for each day. Add rows for split shifts.

  2. 2

    Enter your contracted hours

    The weekly hours in your contract and, optionally, the hourly rate and the overtime rate.

  3. 3

    Check and copy the summary

    Total per day and per week, overtime or hours short and pay. Copy it to send or keep.

How hours worked are calculated

For each shift the start time is subtracted from the end time and the break is deducted. If you finish after midnight (for example, from 22:00 to 6:00), the shift counts as 8 hours. The total is shown in hours and minutes (7:30) and in decimal format (7.50), which is the one you multiply by the hourly rate: 30 minutes are 0.5 hours and 15 minutes, 0.25.

Time recording is mandatory in Spain

Since May 2019, article 34.9 of the Spanish Workers’ Statute (Estatuto de los Trabajadores) requires every company to keep a daily record of working time with the exact start and end time of each employee. The company must keep those records for four years and make them available to staff, their representatives and the Labour Inspectorate. This calculator helps you keep your own record and check that it matches the company’s.

Overtime: 80 hours a year at most

Overtime is the time worked beyond ordinary working hours. Under article 35.2 of the Workers’ Statute, it cannot exceed 80 hours a year; overtime compensated with time off within the following four months does not count towards that limit. It is paid at the rate set in the collective agreement, which can never be lower than the ordinary hourly rate, or compensated with time off.

Ideas for using it

Track your working time

Keep your own record of hours and compare it with the company’s clock-in system.

Night shifts

Add up shifts that start one day and end the next without mistakes.

Bill by the hour

Freelancers and babysitters: work out the week’s pay from the hourly rate.

Overtime

Check how many hours you have worked beyond your contract.

Frequently asked questions

How do I convert minutes to decimal hours?

Divide the minutes by 60. For example, 7 hours 45 minutes is 7 + 45/60 = 7.75 hours. The calculator shows both formats.

How do I calculate a shift that goes past midnight?

Enter the start and end times as they are (for example, 22:00 and 06:00). If the end time is earlier than the start time, a day is added and the shift counts as 8 hours.

Do breaks count as working time?

It depends. In Spain, the break of at least 15 minutes in shifts longer than six hours only counts as working time if the collective agreement or the contract says so. If it does not count, enter it as break minutes so it is deducted.

How much overtime can I do per year in Spain?

A maximum of 80 hours a year (art. 35.2 of the Workers’ Statute), not counting overtime compensated with time off within the following four months.

Are my times saved?

No. Everything is calculated in your browser and nothing is sent to any server.

More free tools