A step-by-step formula to find out how much an overtime hour is worth, how many you can work, how they're compensated, and what happens to unpaid overtime when you leave the company. This guide is based on Spanish labor law.
Knowing how to calculate overtime pay sounds like simple arithmetic, but in practice it raises plenty of questions: when does an hour start counting as overtime? How much extra is it paid? What if the company prefers to give time off instead? What if the company still owes me hours when I leave? This guide answers all of that with the formula, worked examples, and what article 35 of the Spanish Workers' Statute (Estatuto de los Trabajadores) says.
One note before we start: the law sets the floor, and the collective agreement usually improves on it. The examples use illustrative figures; for your own case, always check what your collective agreement says.
What counts as overtime (and what doesn't)
Under article 35.1 of the Workers' Statute, overtime hours are those worked beyond the maximum ordinary working day. The law sets that maximum at 40 hours a week on average over the year (art. 34.1 ET); if your collective agreement or contract sets a shorter working week, that is the one that counts.
Three nuances worth keeping in mind:
- Overtime is voluntary, unless it has been agreed in the collective agreement or the individual contract (art. 35.4 ET). Hours worked due to force majeure, to prevent or repair accidents and other extraordinary and urgent damage, have their own separate rules (art. 35.3).
- Overtime is not the same as supplementary hours, which are the hours worked beyond what was agreed in a part-time contract (art. 12.5 ET).
- Not every hour beyond your daily schedule is overtime. Since the maximum working day is a yearly average, if your collective agreement or company distributes the working day irregularly, an excess on one day can be offset by a shortfall on another (art. 34.2 ET).
How to calculate hours worked
To know whether you've worked overtime, you first need to know how many hours you've worked. The calculation is:
Hours worked = clock-out time − clock-in time − breaks that don't count as work
To add and multiply more easily, it helps to convert minutes to decimals: divide by 60 (15 min = 0.25 h, 30 min = 0.50 h, 45 min = 0.75 h).
| Clock-in | Clock-out | Break | Calculation | Hours worked |
|---|---|---|---|---|
| 08:15 | 17:00 | 45 min | 8 h 45 min − 45 min = 8 h | 8.00 h |
| 09:10 | 18:25 | 30 min | 9 h 15 min − 30 min = 8 h 45 min | 8.75 h |
A note on breaks: when the continuous daily working day exceeds 6 hours, there is a right to a rest period of at least 15 minutes, which only counts as actual working time if the collective agreement or the contract says so (art. 34.4 ET). The Spanish Ministry of Labour's guidance also recommends logging breaks so it isn't assumed that all the time between clock-in and clock-out is actual work.
How many overtime hours you've worked
Overtime is the excess over your ordinary working day:
Overtime hours = hours worked − hours of the ordinary working day
Example. Someone with a fixed 40-hour week, with no irregular distribution, works 8.5 + 9 + 8 + 9.5 + 8 = 43 hours in a week. They've worked 3 hours above their ordinary working day: that's overtime.
Be careful with this calculation if your schedule is flexible. According to Spain's Ministry of Labour guidance on working-time records, when flexible scheduling requires meeting a monthly working time that is freely distributed, an excess on a specific day is not considered overtime if the rest of that month's records show the ordinary monthly working time was met. And when the working day is distributed irregularly without an agreement, differences must be offset within twelve months (art. 34.2 ET).
Either way, what matters is that every hour is logged on the day it is worked.
Value of a regular hour
To know how much an overtime hour is worth, you first need the value of a regular hour. The Workers' Statute doesn't set a specific formula for this; the most common method is:
Value of a regular hour = gross annual salary ÷ annual working hours under your collective agreement
If your collective agreement defines how to calculate it, use that method instead. The salary used is the one paid for the ordinary working day: base salary, salary supplements and extra payments (pagas extra). It doesn't include amounts that aren't salary, such as severance pay or reimbursed business expenses (art. 26.2 ET).
Example. Gross annual salary of €22,000 and a collective agreement of 1,780 hours a year:
€22,000 ÷ 1,780 h = €12.36 per regular hour
Value of an overtime hour
Value of an overtime hour = value of a regular hour × (1 + surcharge)
This is where people get confused most often. The law does not impose a 75% surcharge, or any other specific percentage. What article 35.1 ET actually says is that overtime is paid at the amount set by the collective agreement or, failing that, the individual contract, and that amount can never be lower than the value of a regular hour. In other words, the legal minimum is a 0% surcharge; surcharges of 25%, 50% or 75% are what some collective agreements set.
Using the €12.36 regular hour from the example:
| Surcharge (set by the agreement) | Calculation | Value of an overtime hour |
|---|---|---|
| No surcharge (legal minimum) | €12.36 × 1.00 | €12.36 |
| 25% | €12.36 × 1.25 | €15.45 |
| 50% | €12.36 × 1.50 | €18.54 |
| 75% | €12.36 × 1.75 | €21.63 |
If overtime is worked at night or on a public holiday, the collective agreement may add specific allowances. Night work has its own specific pay, determined through collective bargaining (art. 36.2 ET).
Full worked example
Laura has a gross annual salary of €22,000, her collective agreement sets 1,780 hours a year, and pays overtime with a 25% surcharge. In one month she worked 12 overtime hours.
- Value of a regular hour: €22,000 ÷ 1,780 h = €12.36
- Value of an overtime hour: €12.36 × 1.25 = €15.45
- Amount for the month: 12 h × €15.45 = €185.40 gross
That €185.40 is added to her payslip for that month, with the applicable tax withholding and social security contributions deducted from it.
Pay or time off: how overtime is compensated
The company is not always required to pay in cash. Article 35.1 ET says the collective agreement or, failing that, the individual contract choose between:
- Paying overtime, at a value never lower than that of a regular hour.
- Compensating it with equivalent paid rest time.
If there's no agreement on this, overtime must be compensated with rest within the four months following when it was worked. In Laura's case, 12 overtime hours would equal 12 hours of paid rest, unless her collective agreement sets a different equivalence.
The 80-hour yearly limit, and who can't work overtime
The number of overtime hours cannot exceed 80 per year (art. 35.2 ET). The following do not count toward that maximum:
- Hours compensated with rest within the four months following when they were worked (art. 35.2).
- Hours worked to prevent or repair accidents and other extraordinary and urgent damage (art. 35.3), although they are still compensated as overtime.
Anyone working an annual schedule shorter than the company's general one has a reduced maximum in the same proportion (art. 35.2).
The following cannot work overtime, except in the force-majeure cases of article 35.3:
- People under 18 (art. 6.3 ET).
- Night workers (art. 36.1 ET).
- People on a part-time contract, who work supplementary hours instead (art. 12.4.c ET).
- People on a training contract (art. 11 ET).
Overtime on your payslip, and how it's recorded
To count overtime, each person's working day is logged day by day and totaled for the period in which wages are paid, with a copy of the summary given to the employee on their payslip (art. 35.5 ET). In addition, employee representatives have the right to be informed monthly of the overtime worked, whatever form of compensation is used, and to receive a copy of those summaries (third additional provision of Royal Decree 1561/1995).
This record is different from the daily working-time record required by article 34.9 ET (the exact start and end time of the working day, kept for four years). According to the Ministry of Labour's guidance, these are two separate and compatible legal obligations, and the daily record required by article 34.9 can be used at the same time to meet the obligation in article 35.5. If the working day is properly logged, working out how much overtime was worked becomes much simpler.
The same guidance notes that this record helps ensure overtime that isn't compensated with rest is correctly paid and that social security contributions are made on it.
Overtime and the final settlement (finiquito)
When an employment relationship ends, the company must accompany the termination notice with a proposed settlement document for the amounts owed (art. 49.2 ET). This is known in Spain as the "finiquito", and the employee can request that an employee representative be present when it is signed.
Overtime that was worked but not paid counts as money owed: the Workers' Statute treats as salary the entirety of the economic payments received for providing services (art. 26.1 ET). That's why it should appear in that settlement, along with unused vacation days and prorated extra payments.
It's worth doing the math before signing: add up the outstanding overtime hours, multiply them by the overtime rate you're owed (the steps above), and compare it with what's in the document. You can estimate the rest of the settlement with our finiquito calculator (in Spanish).
How to claim unpaid overtime
If overtime was worked and was never paid or compensated, it can be claimed. The statute of limitations to claim amounts owed is one year from the day the claim could have been made (art. 59.2 ET) — that is, from when those amounts should have been paid. It's best not to wait.
The working-time record is the tool that proves the hours actually worked. If you have doubts about your specific case, consult an employment lawyer or a union.
How Clockio helps
Calculating hours by hand, day by day, is where mistakes creep in most easily. With Clockio, time tracking compares clocked hours against each person's expected hours and flags the extra time, and overtime is managed from the admin panel. That way, the record you need to pay, compensate or justify overtime is already done.
👉 Try Clockio free for 15 days, no commitment
Frequently asked questions about overtime
How is overtime pay calculated? You get the value of a regular hour (usually gross annual salary divided by the yearly hours set by the collective agreement) and multiply it by one plus the surcharge the agreement sets. The result can never be lower than the value of a regular hour.
How much is an overtime hour paid? At minimum, the same as a regular hour. Surcharges (for example 25%, 50% or 75%) are set by the collective agreement or, failing that, the contract; the law doesn't impose a specific percentage.
How many overtime hours can be worked per year? A maximum of 80. Hours compensated with rest within the following four months, and hours worked to prevent or repair accidents and other extraordinary and urgent damage, don't count toward that limit.
Can overtime be compensated with days off? Yes. The collective agreement or the contract can choose to compensate it with equivalent paid rest. If there's no agreement, it must be compensated with rest within the following four months.
Is overtime mandatory? No, it's voluntary, unless it has been agreed in the collective agreement or the individual contract, and except for force-majeure overtime.
What happens to outstanding overtime if I leave the company? It's money owed and should be included in the final settlement (finiquito). If it isn't paid, it can be claimed within one year from when it should have been paid.
Can part-time employees work overtime? No: they work supplementary hours instead, except in the force-majeure cases of article 35.3 of the Workers' Statute.
Official sources
- Spanish Workers' Statute, consolidated text (BOE): articles 6, 11, 12, 26, 34, 35, 36, 49 and 59.
- Guidance on working-time records (Spanish Ministry of Labour and Social Economy).
- Royal Decree 1561/1995, on special working arrangements (BOE): third additional provision.
Last updated: October 2026. Examples use illustrative figures; your applicable collective agreement may improve on the minimums in this guide. This is general information, not legal advice.
👉 Need a Time Tracking application?
Try Clockio for 15 days, free, with no feature limits.