HandyWorkLab

Home › Work hours and time card calculators

Shift Calculator Calendar

Plan a rotating work schedule one month at a time. Set the date your repeating pattern begins, choose a month, and enter each work and off block in days. The calendar maps every date to your cycle, counts work and off days, and gives you a clean schedule to copy or print.

Set your rotation

Example: 2 work, 2 off, 3 work, 3 off. Start with work or off, whichever applies on the anchor date, then alternate.

How to use this shift calculator calendar

Start with a date whose place in your rotation you know. That is the anchor date: the first calendar day of the first block in the pattern field. Enter the number of consecutive work days, then the number of consecutive days off, and continue alternating until the full cycle is described. A common example is “2 work, 2 off, 3 work, 3 off.” The calculator treats the sequence as repeating forever in both directions from the anchor.

Next, select the month you want to plan. Press Build calendar to see every date in that month. Blank leading cells align the first date with its weekday, and dates from the following month may fill the final row. Each date in your selected month is marked Work or Off. The summary shows the exact pattern and the number of work and off dates in the selected month. Those counts are calendar dates, not shift hours.

Check the anchor and pattern against a schedule you trust before relying on the result. Copy schedule puts a simple text version of the month on your clipboard where browser clipboard access is available. Print calendar opens the browser print dialog; choose a printer or a PDF destination in that dialog if you want a portable copy. Changing an input takes effect when you build the calendar again.

How the repeating work rotation is calculated

Each block contributes its number of whole days to a cycle. For “2 work, 2 off, 3 work, 3 off,” the cycle length is 10 days. The first two positions are work, the next two are off, the next three are work, and the final three are off. Once position ten is reached, the pattern starts again at position one.

For each date in the selected month, the tool finds the calendar-day offset from the anchor date. It converts both dates to local calendar dates before finding the difference, so daylight-saving clock changes do not turn a calendar day into an extra or missing day. The cycle position is calculated with ((dayOffset % cycleLength) + cycleLength) % cycleLength. Adding the cycle length before the second remainder makes the result valid for dates before the anchor as well as dates after it. The position is then matched to the work/off block whose cumulative day range contains it.

The calculator uses only the dates and repeating blocks you enter in this browser. It does not look up public holidays, employer calendars, time zones for a workplace, or live schedule changes. Dates are interpreted using your device’s local calendar.

A worked example

Suppose Monday, January 5, 2026 is the first day of a two-day work block, followed by two off days, three work days, and three off days. The cycle has 10 days in total. January 5 is cycle position zero and is Work. January 6 is the second Work date; January 7 and 8 are Off; January 9, 10, and 11 are Work; January 12, 13, and 14 are Off. January 15 returns to Work because ten days have elapsed since the anchor.

For January 4, the date before the anchor, the offset is minus one. Applying the positive modulo formula maps that date to the final position of the 10-day cycle, which is Off. This is why the selected month can be earlier than the anchor and still be calculated consistently. In January 2026, this pattern produces 16 Work dates and 15 Off dates. The month count follows the dates in the month; it does not prorate partial weeks.

Limits and schedule checks

This is a date planner, not an official roster. It cannot know whether your workplace changes a rotation for coverage, holidays, leave, training, or a one-time swap. It does not determine the date an overnight shift should be attributed to; use the calendar date convention from your own roster when choosing the anchor. If your shifts have different names or lengths, this calendar still labels dates only as Work or Off.

Pattern entries must be positive whole-day blocks that alternate between work and off, beginning with the block type that applies on your anchor date. Use a reliable anchor within a known block, and compare a few calculated dates with your source schedule, especially around the beginning and end of the month. If the results differ, correct the anchor or cycle before copying or printing. This tool is a planning aid, not employment or legal advice; confirm schedule questions with your employer.

Frequently asked questions

How do I choose the anchor date?

Use a date you can verify that is the first day of the first block you enter. Enter whether that block is work or off first, then alternate the block types. A wrong anchor or first block type shifts the whole calendar.

Can I enter a rotation that started before the selected month?

Yes. The calculator works both forward and backward from the anchor date, so you can select a month before or after it. The repeating pattern is extended in both directions.

What format should I use for my shift pattern?

Enter alternating whole-day blocks separated by commas, such as “2 work, 2 off, 3 work, 3 off”. Start with the type of day on your anchor date, then alternate work and off blocks. Combine adjacent blocks of the same type into one block.

Does this calculate shift start and end times?

No. It marks calendar dates as work or off and counts each kind of day. It does not calculate hours, overnight shift times, pay, holidays, overtime, or employer-specific rules.

Why does my rotation appear one day out?

Check that the anchor is the first date of the exact block sequence shown, and that your entered block lengths match the schedule. For an overnight shift, decide which calendar date your schedule treats as the work day; this tool does not infer that convention.

Planning aid only; confirm your schedule with your employer.

Last updated 2026-11-23. Runs entirely in your browser; nothing you enter is uploaded.

More in Work hours and time card calculators