
How it works
- Choose day, week or hours
At the top, choose «One day» for a quick daily calculation, «Week» for seven rows from Monday to Sunday or «Hours» for the hours calculator. In the week view, switch days off with one click on «Day off».
- Enter start and end
Type the time as hours and minutes, for example 0730. After two digits the cursor jumps to the minutes by itself. If the end is before the start, the calculator counts across midnight.
- Tap your breaks
Choose the main break as a chip from 15 minutes to an hour and a half or as a custom number of minutes. With «+ Break» you add up to three more breaks, such as a morning and an afternoon break. If the break is shorter than the minimum under the Employment Act, a note appears.
- Compare with your target hours
Switch on «Compare with contractual hours» and choose weekly hours at 100 percent, your workload (Pensum) and, in the week view, the maximum of 45 or 50 hours. The calculator shows target, balance, overtime and excess hours. «Calculate monthly target» adds month, year and public holidays.
- Read and copy the result
Below you see time present, breaks, working time, decimal hours and the comparison with your target. «Copy result» copies everything as text into your timesheet, your spreadsheet or a message to payroll.
Calculating working hours: the formula step by step
The working time of a day is the time between start and end of work, minus all breaks. The formula is: end minus start minus breaks = working time. The working hours calculator also shows the time present, from the first to the last moment at work, so you can see how much of it went on breaks.
- Work out the time present
17:00 minus 07:30 gives 9 hours 30 minutes.
- Deduct all breaks
A 30-minute lunch break and a 15-minute morning break (Znüni) make 45 minutes. 9:30 minus 0:45 leaves 8 hours 45 minutes of working time.
- Convert to decimal hours
45 minutes divided by 60 gives 0.75. The working time is therefore 8.75 hours.
- Add up the week
Five such days give 43:45 hours or 43.75 decimal hours. In the week view, «Copy Monday to all days» copies Monday's times to every working day.
If you interrupt work several times a day, for example for a customer appointment at lunchtime, enter each interruption as its own break. The calculator adds up all breaks and deducts them from the time present. The same applies if you work at several sites on one day, as long as you take the start and end of the whole working day.
Hours calculator: add, subtract and convert times
In «Hours» mode the working hours calculator works as an hours calculator. You enter any number of times one below the other and it adds them up. With the plus or minus button in front of each row you subtract a time, for example a correction or an hour already taken as time off. The result appears in hours and minutes, in decimal hours and in minutes.
- 7:45 or 7h45: hours and minutes
- 7.75 or 7,75: decimal hours, that is 7 hours 45 minutes
- 45m or 45 min: minutes only
- 42: whole hours
This lets you add up the hours from several reports in a week, even if one report uses decimal hours and another hours and minutes. If you transfer hours from a timesheet (Stundenrapport) to payroll, you see the total as a decimal number straight away.
Converting minutes to decimal and back
Payroll, a time and materials report (Regierapport) or billing a customer often needs the time as a decimal number. To get it, divide the minutes by 60. 7 hours 45 minutes thus becomes 7.75 hours, not 7.45. The table shows the most common values:
| Minutes | Decimal | Minutes | Decimal |
|---|---|---|---|
| 5 | 0.08 | 35 | 0.58 |
| 10 | 0.17 | 40 | 0.67 |
| 15 | 0.25 | 45 | 0.75 |
| 20 | 0.33 | 50 | 0.83 |
| 25 | 0.42 | 55 | 0.92 |
| 30 | 0.50 | 60 | 1.00 |
The other way round, you convert a decimal number to minutes by multiplying the decimal part by 60. 0.4 hours are 0.4 times 60 = 24 minutes, so 8.4 hours are 8 hours 24 minutes.
| Decimal | Minutes | Decimal | Minutes |
|---|---|---|---|
| 0.1 | 6 | 0.6 | 36 |
| 0.2 | 12 | 0.7 | 42 |
| 0.25 | 15 | 0.75 | 45 |
| 0.3 | 18 | 0.8 | 48 |
| 0.4 | 24 | 0.9 | 54 |
| 0.5 | 30 | 1.0 | 60 |
The calculator rounds decimal hours to two places. Internally it works in whole minutes, so no rounding errors build up over a week or a month.
Target hours, workload and balance
Target hours are the working hours agreed in the employment contract, a standard employment contract (NAV) or a collective labour agreement (GAV). For part-time work the workload (Pensum) applies: weekly hours at 100 percent times the workload gives the weekly target. Spread over the working days, this gives the target per day. The balance is the time worked minus the target. A plus means extra time, a minus means time short.
| Workload | Target per week | Working days | Target per day |
|---|---|---|---|
| 100% | 42:00 | 5 | 8:24 |
| 90% | 37:48 | 5 | 7:34 |
| 80% | 33:36 | 4 | 8:24 |
| 60% | 25:12 | 3 | 8:24 |
| 50% | 21:00 | 5 | 4:12 |
For the monthly target, the calculator counts the weekdays from Monday to Friday in the chosen month, deducts public holidays falling on weekdays and uses one fifth of the weekly target per weekday. A full week with five weekdays therefore gives exactly the weekly target, even for a part-time workload spread over fewer days. If you also enter the hours worked in the month, you see the monthly balance.
Overtime and excess hours: the difference in figures
Overtime (Überstunden) is work above the contractual target hours but below the statutory maximum. It is governed by the Code of Obligations. Excess hours (Überzeit) are work above the weekly maximum of the Employment Act. The maximum is 45 hours for industrial businesses, office staff, technical and other employees and sales staff in large retail businesses, and 50 hours for all other employees [1]. The calculator keeps the two apart: overtime counts from the target up to the maximum, excess hours only above it.
The maximum weekly working time is 45 hours for employees in industrial businesses and for office staff, technical and other employees, including sales staff in large retail businesses, and 50 hours for all other employees. Summary in English; only the German, French and Italian texts are legally binding.
| Overtime (Überstunden) | Excess hours (Überzeit) | |
|---|---|---|
| Limit | above the agreed target hours | above 45 or 50 hours per week |
| Legal basis | CO Art. 321c | ArG Art. 12 and 13 |
| Compensation | time off of at least equal length, by agreement | time off of equal length, by agreement |
| Supplement if not compensated | at least a quarter, unless agreed otherwise in writing or set otherwise by NAV or GAV | at least 25 percent; for office staff and technical employees only above 60 hours per calendar year |
| Upper limit | what can reasonably be expected | 2 hours per day, 170 or 140 hours per calendar year |
An example: the fictitious Muster Elektro GmbH in Winterthur employs an electrician with 42 target hours. He works Monday to Friday from 07:00 to 17:45 and takes three breaks: 15 minutes in the morning, 30 minutes at lunch and 15 minutes in the afternoon. That is 10:45 minus 1:00 = 9:45 hours a day and 48:45 hours or 48.75 decimal hours a week. As a tradesman, the 50-hour limit applies to him. The calculator shows a balance of plus 6:45 hours, 6:45 hours of overtime and no excess hours. If the 45-hour limit applied to the same week, it would be 3:00 hours of overtime and 3:45 hours of excess hours.
In the calculator, excess hours are purely a calculated value. Whether excess hours were permitted, which limit applies to a person and how they are compensated or paid is explained in Working hours in Switzerland, Overtime in Switzerland and the glossary entry statutory overtime (Überzeit).
Breaks under the Employment Act: how much break applies
The Employment Act sets minimum breaks that depend on the daily working time [1]. The working hours calculator compares the breaks of each day with these values and shows a note if the break entered is shorter.
| Daily working time | Minimum break |
|---|---|
| up to 5½ hours | none |
| more than 5½ hours | 15 minutes |
| more than 7 hours | 30 minutes |
| more than 9 hours | 60 minutes |
Breaks count as working time if employees are not allowed to leave their workplace. Summary in English; only the German, French and Italian texts are legally binding.
Ordinance 1 to the Employment Act adds that breaks are to be scheduled around the middle of the working time and that breaks of more than half an hour may be split. If a stretch of more than 5½ hours arises before or after a break, an additional break is required for it. With flexitime, the average daily working time is decisive [2]. The calculator does not check where the breaks fall, it only compares the total.
Deducting public holidays from the monthly target
The national holiday on 1 August is treated like a Sunday. The cantons may treat up to eight further public holidays a year like Sundays and may set them differently for parts of the canton [1]. How many public holidays fall in a month therefore depends on the canton. In the working hours calculator you enter the number of public holidays on weekdays with the counter, without choosing a canton. Where available, a link in the calculator leads to the public holidays by canton.
An example for March 2027: the month has 23 weekdays from Monday to Friday. Good Friday on 26 March and Easter Monday on 29 March fall on weekdays and are public holidays in many cantons. With 42 weekly hours at 100 percent, the calculator counts 21 weekdays times 8:24 hours. The monthly target is 176:24 hours or 176.40 decimal hours. Someone who worked 180 hours in March sees a balance of plus 3:36 hours.
Shifts across midnight
If the end is before the start, the calculator assumes the end is on the next day. A night shift from 22:00 to 06:00 with a 30-minute break gives 7:30 hours or 7.50 decimal hours. The row then shows the note «Ends the next day». You can also enter 24:00 as the end of the day. Whether night or Sunday work needs a permit and which supplements apply is not checked by the calculator.
If start and end are the same, the calculator deliberately does not count 24 hours but flags the entry. This prevents accidental double shifts.
Billing working time: an example from the trades
An electrician works at a customer's from 07:15 to 16:00 and takes a one-hour lunch break. The calculator shows 7:45 hours or 7.75 decimal hours. At an hourly rate of CHF 95.00 that is 7.75 times 95.00 = CHF 736.25 for the working time. With 7.45 instead of 7.75 it would be only CHF 707.75, and the invoice would be CHF 28.50 too low.
For work billed by time, a time and materials report (Regierapport) records who worked when and for how long. You enter the decimal hours from the calculator there directly. Which hourly rate covers your costs is worked out by the hourly rate calculator.
What the calculator does not check
The working hours calculator only calculates. It compares with the target and with 45 or 50 hours, but does not check which maximum applies to a person, whether excess hours were permitted, whether rest periods of eleven hours were respected or whether a collective labour agreement sets other rules. The rules on recording working time are explained in Time tracking in Switzerland. You will find the term time clock (Stempeluhr) and digital alternatives in the glossary.
Your times stay on your device
The calculator runs entirely in your browser, with no login and nothing sent to a server. So that you can keep a week up to date over several days, the browser remembers your last entry locally on this device. «Reset» deletes it again. If you want to record a team's hours continuously, the time tracking in VoxCRM offers time entries per person and project.
More than a calculator
What you calculate here once, VoxCRM handles continuously in your daily work:
- Time tracking: Log working time by stopwatch, manual entry or Vox, see it in a weekly grid and bill it as a draft invoice.
- Projects, tasks & meetings: Projects with budget and status, tasks on a board, project time with a stopwatch and meeting notes with detected tasks.
- Scheduling & holidays: Drag-and-drop staff scheduling, holidays with approval, vehicle bookings and capacity, linked to the calendar.
