China Shift Roster Planner With Night Hours and Overtime Check (夜班 排班表)

Type a rotation such as D,D,N,N,O,O and a start date to get the month's roster with hours, night hours, overtime and rest-day checks.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Type the rotation

    Enter one code per day, separated by commas.

  2. 2
    Set the start date

    Choose the day that gets the first code.

  3. 3
    Pick the month

    Choose any date in the month you want to see.

  4. 4
    Check the shift table

    Edit hours and night hours for each code, or add codes.

  5. 5
    Read the checks

    See total hours, night hours, overtime and the longest working run.

  6. 6
    Print the roster

    Use the day-by-day table, print it or download CSV.

About this tool

Factories, hospitals, security companies, logistics hubs and data centres in China run around the clock, so staff rotate through day shifts, night shifts and rest days. A rotation that looks fair on paper can still give someone far more hours than the law allows. The Labour Law sets the standard at 8 hours a day and 40 hours a week, which works out at 166.64 hours a month, requires at least one rest day a week, and limits overtime to 36 hours a month. Employers using a comprehensive working-hours system may average hours over a longer period, but the monthly picture still matters. This planner repeats any rotation you type across a chosen month, counts working days, total hours and night hours, compares them with the standard, and warns when overtime exceeds the cap or when someone works more than six days in a row. The roster table can be printed or exported.

Who this is for

Shift supervisors, small factory owners, hotel and restaurant managers, security team leaders and employees who want to check whether their rotation is lawful.

Writing the rotation

Use one code per day, separated by commas. The default D,D,N,N,O,O means two day shifts, two night shifts and two days off, repeated. Codes and their hours are in the shift table: D is a 12-hour day shift, N a 12-hour night shift with 8 night hours, E an 8-hour evening shift, M an 8-hour morning shift and O a rest day. Add rows for your own shifts, such as a 24-hour duty with 8 hours of sleep counted separately.

The start date

The rotation starts on the date you choose: that day gets the first code. Pick any month to see how the rotation falls in it. The roster also looks at the week before the month so that runs of consecutive working days across the month boundary are caught.

The checks

Total hours are compared with 166.64, the monthly standard. Hours above it are shown as overtime. If they exceed 36 hours, a warning appears, because Article 41 caps overtime at 36 hours a month except in emergencies. The planner also finds the longest run of working days: more than six in a row means a week without a rest day, which breaks Article 38 under the standard system.

Night hours

Night hours are counted separately because many employers pay a night allowance, and some local rules and collective contracts set extra protection for night work. Pregnant employees from the seventh month and mothers breastfeeding a baby under one year must not be given night shifts.

Comprehensive hours

If the employer has approval for a comprehensive working-hours system (综合工时制), hours are averaged over a week, month, quarter or year. A single month above 166.64 is then not overtime by itself; use the comprehensive hours calculator to check the whole period.

Worked example

With D,D,N,N,O,O starting on 1 November 2026, November has 20 working days of 12 hours, 240 hours in total, with 80 night hours. That is 73.36 hours above the standard, far more than 36, so the rotation needs another rest day or shorter shifts.

Limits

A planning aid, not legal advice. Industry rules, approvals and local regulations may allow different patterns.

Worked example

D,D,N,N,O,O from 1 November 2026: 240 hours in November, 73.36 above 166.64, which breaks the 36-hour overtime cap.

Quick facts

Frequently asked questions

How many hours a month is standard in China?

166.64 hours, which is 20.83 working days of 8 hours.

What is the overtime cap?

Normally 36 hours a month, and no more than 3 hours a day.

Must there be one rest day a week?

Yes, under the standard system employees must have at least one rest day a week.

Can I add my own shift types?

Yes. Add rows to the shift table with a code, hours and night hours.

What if my employer uses comprehensive hours?

Then hours are averaged over the approved period. Check the whole period, not just one month.

Is the roster saved?

Yes, in your browser, and you can copy a share link.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages