Night hours
Hn = length of [start, end] ∩ [night start, night end]
Count the night hours of a shift, even across midnight, using the French default night period of 9 pm to 6 am or your own, then estimate pay with the premium of your agreement.
Default period: 9 pm – 6 am, the French Labour Code rule without an agreement. French law sets no premium rate: the 25 % shown is an example, replace it with your agreement’s rate or your own country’s rule.
Enter valid times (start and end cannot be the same) and zero or positive amounts.
Night hours
An evening or night shift often mixes day and night hours, and a night premium applies only to the latter. This calculator counts, to the minute, the part of a shift that falls in the night period, including shifts that run past midnight, then estimates pay with the premium rate you enter. The defaults follow French rules: the night period is the one the French Labour Code applies without a collective agreement, 9 pm to 6 am. In other countries the night period and any premium are set by local law or contracts, so change both fields accordingly.
Under French law, without an agreement, any work between 9 pm and 6 am is night work (article L3122-20). A company or industry agreement may set another period of 9 consecutive hours that includes midnight to 5 am, starts no earlier than 9 pm and ends no later than 7 am, for example 10 pm – 7 am. Some sectors (press, entertainment, shops in international tourist zones) have their own periods. Enter the period that applies to you.
The tool computes the shift length, adding 24 hours when the end is earlier than the start (a shift past midnight), then the overlap between the shift and the night period. The remaining hours are day hours.
Unlike overtime, French law sets no percentage. Night workers are entitled to compensatory rest and, where applicable, financial compensation (article L3122-8): the premium comes from the collective agreement, a company agreement or the contract. The tool applies the rate you enter to night hours only.
If the end is earlier than the start, the shift is treated as ending the next day.
9 pm – 6 am under French law without an agreement, otherwise the period of your agreement, sector or country.
Use the gross base rate from your payslip.
Copy the percentage of your agreement; enter 0 if only a flat allowance applies.
The tool shows night hours, day hours, premium, total and average rate.
Hn = length of [start, end] ∩ [night start, night end]
P = Ht × rate + Hn × rate × premium
Average = P ÷ Ht
Breaks are not deducted: subtract them from the shift if they are unpaid.
Compare the premium hours on your payslip with the night hours of your shifts.
Work out the night share of each team, for example 9 pm – 5 am or 10 pm – 6 am, to compare rotations.
Assess an evening shift that runs past 9 pm or a night shift that ends after 6 am.
Spot shifts with at least 3 hours in the night period, one of the legal criteria.
Enter your local night period, such as 11 pm – 6 am, and the premium of your contract.
Only the hour from 8 pm to 9 pm is outside the period. 10 × 15 = €150; 9 × 15 × 0.25 = €33.75.
Input
20:00 – 06:00 · period 9 pm – 6 am · €15/h · +25 %Result
10-hour shift with 9 night hours · premium €33.75 · €183.75 · average €18.38/hWith the default 9 pm – 6 am period, the same shift would count only 8 night hours: the period changes the result.
Input
22:00 – 07:00 · period 10 pm – 7 amResult
9-hour shift, all of it at nightWithout a collective agreement, those worked between 9 pm and 6 am. An agreement may use another period of 9 consecutive hours including midnight to 5 am, within 9 pm to 7 am at most.
Not in France: the law sets no rate. It requires compensatory rest for night workers and financial compensation where applicable; the amount comes from the collective agreement, a company agreement or the contract. Other countries have their own rules.
It varies widely: some agreements give a percentage of the hourly rate, others a flat amount per hour or per night. The 25 % default is only an example.
When the end time is earlier than the start time, it adds 24 hours to the end. A shift from 10 pm to 6 am therefore lasts 8 hours.
No. If your break is unpaid, shorten the shift accordingly or subtract it from the result.
Yes, as a configurable tool: set your local night period and premium. The legal notes on this page describe French law only.
Related tools
Tools similar or complementary to this one.
Add up the hours you worked this week, breaks deducted, in hours and minutes and in decimal hours.
Work out overtime above 35 hours, the +25 % and +50 % premiums of French law or your own rates, and the annual quota.
Estimate pay for a Sunday or public holiday worked under French law: double pay on 1 May and mayor’s Sundays, +30 % in large food stores, or your agreement’s rate.
Learn how to calculate hours inside a night period, handle shifts crossing midnight and distinguish pay premiums from compensatory rest.
Understand the difference between a clock time and a duration, calculate intervals between times, and convert seconds, minutes, hours, days and weeks.
Date differences, durations, business days, ISO weeks, recurrences and formats: choose the right date and time calculation.
Understand the French distinction between part-time additional hours and overtime, including limits, premium bands and examples.