Calculator: Repeating shift cycle
Enter the labelled inputs to calculate: Day within cycle; Scheduled workday (1=yes, 0=no).
Enter a finite value within the formula’s domain and supported numeric range.
How the calculation works
i=((D−D₀) mod (W+F)+(W+F)) mod (W+F); day=i+1; Wday=(i Calendar dates use ISO YYYY-MM-DD without timezone or daylight-saving adjustments. Times are local clock values. Shift duration may cross midnight; meeting overlap is within one day. Timecode is non-drop-frame with an integer frame rate. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.
Frequently asked questions
How is the result calculated?
i=((D−D₀) mod (W+F)+(W+F)) mod (W+F); day=i+1; Wday=(i
What assumptions apply?
Calendar dates use ISO YYYY-MM-DD without timezone or daylight-saving adjustments. Times are local clock values. Shift duration may cross midnight; meeting overlap is within one day. Timecode is non-drop-frame with an integer frame rate.
How precise are the displayed results?
Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.