How to calculate the hours you worked
The hours in a day are the clock-out time minus the clock-in time, minus the unpaid break. From 9:00 to 18:00 with a one-hour lunch that is 8 hours of work.
TL;DR
The hours in a day are the clock-out time minus the clock-in time, minus the unpaid break: from 9:00 to 18:00 with a one-hour lunch that is 8 hours. For weekly hours, multiply by the days you work; for the month use the 52 weeks of the year spread over 12 months (× 52 ÷ 12), not 4 weeks. Shifts that end the next day add 24 hours. The hours counted are working time and the value is gross, before income tax and the 11% social security.
How many hours did you work?
Counting hours worked is useful for many things: checking your payslip, logging the hours of a day job, working out what a shift earns, or adding up the hours of a full week. The starting point is a simple sum.
Daily hours = clock-out time minus clock-in time, minus the unpaid break
You can do this sum, and move straight to the hours per week, month and year, with our worked-hours calculator.
The daily-hours sum
Take the clock-out time, subtract the clock-in time and take off the break that is not paid (usually lunch). For a day from 9:00 to 18:00 with a one-hour lunch:
18:00 minus 9:00 = 9 hours; minus 1 hour of break = 8 hours of work
A rest break is not, as a rule, effective working time, so it comes out of the sum. If your break is paid or there is none, enter 0 minutes.
Shifts that roll over midnight
What if the shift ends the next day? When the clock-out time is at or before the clock-in time, 24 hours are added so the sum is positive. Take a night shift from 22:00 to 06:00 with a 30-minute break:
(06:00 plus 24h) minus 22:00 = 8 hours; minus 0h30 of break = 7h30 of work
The calculator does this automatically, so you do not have to add the 24 hours by hand.
From daily hours to the week, month and year
From the daily hours and the days you work each week, you reach the other periods. At 8 hours a day and 5 days a week:
| Period | Sum | Result |
|---|---|---|
| Day | daily hours | 8 h |
| Week | day × days per week | 8 × 5 = 40 h |
| Month | week × 52 ÷ 12 | 40 × 52 ÷ 12 = 173.33 h |
| Year | week × 52 | 40 × 52 = 2,080 h |
Note the month: you do not multiply the week by 4. A month is, on average, a little more than 4 weeks, so the correct sum spreads the 52 weeks of the year over the 12 months2. It is the same rule the Labour Code uses for the hourly value, and it gives a more faithful annual average.
What your hours are worth
If you know the hourly value, multiply it by the hours in each period for the gross value. At €7.50 an hour:
| Period | Hours | Gross value |
|---|---|---|
| Day | 8 h | €60 |
| Week | 40 h | €300 |
| Month | 173.33 h | about €1,300 |
The monthly value (about €1,300) is the same one you reach with the hourly-rate calculator, because both use the 52-weeks-over-12-months rule. To do the sum the other way (from the salary to the hour), that is the calculator to use.
These are gross amounts
The hours counted are working time and the value is gross: it does not yet deduct withholding income tax or the employee’s 11% social security3. To find out how much you take home each month, use the net-salary calculator.
When the hours are "extra"
The normal working limit is 8 hours a day and 40 hours a week1. Hours beyond that limit are overtime and are not paid at the plain hourly value: they carry statutory uplifts, for example +25% on the first hour on a working day and +50% on a rest day or public holiday. This calculator counts the hours but does not apply the uplifts; for the value of overtime use the overtime calculator.
Frequently asked questions
How do you calculate the hours worked in a day?
Does the lunch break count as working time?
How are night shifts that end the next day counted?
Why are the monthly hours not the weekly hours times 4?
How many hours can you work per day?
Related reading & calculators
Sources
- 1.Portuguese Labour Code (Lei n.º 7/2009), art. 203 (limits on normal working time) — Diário da República · retrieved 27 Jun 2026
- 2.Portuguese Labour Code (Lei n.º 7/2009), art. 271 (hourly value of pay) — Diário da República · retrieved 27 Jun 2026
- 3.Todos Contam: financial education portal — Banco de Portugal · retrieved 27 Jun 2026
Author / Reviewed by
Author
Thorben Rasmus Idel
Co-founder & writer
Co-founder of Calculadora Capital and the writer behind the methodology on every calculator and article. An entrepreneur and active investor, Thorben founded Idel Versandhandel GmbH, an international trading company operating across 16 countries, and invests across stocks, ETFs and cryptocurrency. He writes the methodology and verifies the math behind each page, drawing on hands-on business and investing experience to keep the tools and explanations grounded in how money, markets and taxes actually work for everyday people in Portugal.
Reviewed by
Nahar Geva
Co-founder & reviewer
Co-founder of Calculadora Capital and the independent reviewer behind every calculator and article. An entrepreneur and active investor, Nahar brings a data- and product-driven mindset together with hands-on experience in the markets — investing across stocks and ETFs as well as cryptocurrency and other digital assets, alongside broader personal finance and real estate. On each page Nahar reviews the methodology and double-checks the math and figures, pressure-testing how the tools and explanations hold up against the way money, markets and taxes actually work for everyday investors.
Published: Updated: Reviewed: