How this calculation works
Rest-hour rules refer to elapsed periods, so a calendar-day total can conceal a shortfall in a window that begins midway through a day. This calculator screens a complete timestamped rest record against selected rolling total thresholds. It keeps that numerical task separate from an assertion that the roster satisfies every legal, flag-state or fatigue-management requirement.
Exact rolling rest total minima at interval endpoints and endpoints shifted by24/168hours.A worked example
The prefilled example gives Minimum rolling24h rest hours = 12. This demonstration uses supplied example data, not an approved vessel operating condition.
Good to know
Exact minima for merged rest intervals over every fully recorded24h/168hwindow using endpoint candidates. Weekly minimum-counted-block filter explicitly entered; UTC offsets avoid timezone discontinuities. Totals-only baseline screen: split-period rules, watch fitness, flag-state exceptions, emergencies and full STCW/MLC compliance remain separate review.
Reference: rest (opens in a new tab) ↗
A rolling-hours screen is not a certificate
Rest-hour rules refer to elapsed periods, so a calendar-day total can conceal a shortfall in a window that begins midway through a day. This calculator screens a complete timestamped rest record against selected rolling total thresholds. It keeps that numerical task separate from an assertion that the roster satisfies every legal, flag-state or fatigue-management requirement.
The cited baseline is the UK's MCA MSN 1877(M), Amendment 2, published in October 2022, read with the relevant 2018 regulations. It specifies ordinary minimum totals of ten hours in any 24-hour period and 77 in any seven-day period within its stated scope. Other jurisdictions, vessel categories and authorized exceptions require their own applicable text and review.
For a related navigation or vessel calculation, use the Nautical-almanac endpoint GHA and declination interpolation calculator. Compare the model and input conventions before combining results.
Read more: rest (opens in a new tab) ↗
Supply actual intervals and complete coverage
Enter rest intervals on a continuous UTC elapsed-time axis and identify the period for which the record is complete. This prevents a ship's clock change or a local daylight-saving adjustment from creating or removing physical hours. Dates are necessary: two identical clock times on different days are distinct endpoints, not overlapping records.
Overlapping or touching rest intervals should be merged consistently so the same minutes are not counted twice. A gap in the recording coverage must not be assumed to be rest. The calculation can evaluate a full seven-day window only when at least 168 hours of complete coverage exists; shorter records cannot establish a weekly minimum by extrapolating the missing time.
Compute exact rolling totals at breakpoints
For a window beginning at time t, rest total is the sum of the overlaps between that window and the union of supplied rest intervals. As the window slides, its total is piecewise linear. Its slope changes only when a window edge passes a rest-interval start or end, so the minimum can be found at those explicit breakpoint times.
Evaluate coverage boundaries and interval endpoints shifted by zero or by minus the window length, retaining only windows fully inside known coverage. This avoids a one-hour sampling grid that could miss a shorter adverse interval between sample times. The method applies separately to 24-hour and 168-hour lengths, with the location of each minimum retained for review.
A repeating twelve-hour rest reference
Consider a synthetic record covering exactly 168 hours. In each 24-hour block, rest runs from hour 12 through hour 24, repeated seven times. Every fully covered 24-hour rolling window contains 12 hours of rest, including windows that cross a calendar boundary. The complete seven-day interval contains 84 hours.
This reference meets the selected numerical totals of ten and 77. In contrast, repeating exactly ten hours of rest per day gives only 70 hours over seven days, so meeting the daily total does not imply meeting the weekly one. These are arithmetic examples for rolling totals, not evidence that an actual roster satisfies every split-period, exception or fitness-for-duty requirement.
Why the numerical scope must remain visible
The applicable rules also address how rest is divided, the length of a substantial rest period and intervals between rest, with specific provisions for authorized exceptions. A longest-work-span diagnostic can highlight a concern, but it does not fully audit every split-period rule. A totals-only result should therefore be labeled as a screen under selected thresholds, never a blanket compliance pass.
Treatment of short breaks also matters. The cited guidance distinguishes qualifying rest from short breaks and discusses additional periods for weekly counting. If the input accepts every positive interval without that qualification, the result is a generic numerical rest-total screen. The user must resolve which recorded intervals count under the actual applicable regime before interpreting them as regulated rest.
Exceptions and interrupted rest need records
The tool does not grant an exception because a roster is operationally convenient or because a field is labeled emergency. Authorized arrangements and emergency provisions have their own conditions and record requirements. Treat them as separate evidence to review rather than automatically relaxing a threshold until the schedule receives a favorable numerical status.
An on-call interval can also be interrupted by actual work, changing the rest record and potentially requiring compensatory treatment under the applicable rules. The calculator cannot infer those interruptions from a planned watch schedule. Distinguish a proposed schedule from an actual rest record, because a mathematically adequate plan does not establish that the planned rest was obtained.
Keep the worst windows for review
Save coverage, timezone normalization, rest-qualification assumptions, selected thresholds and the start and end of the minimum-rest windows. Those details allow a reviewer to locate a shortfall rather than merely seeing an overall weekly total. Retaining the unrounded intervals is important when a result lies close to a threshold or two records meet at a boundary.
This page is an educational schedule-analysis aid, not legal advice, a fatigue assessment or a compliance certificate. Applicable law, flag requirements, vessel procedures and actual records remain necessary. Its useful contribution is an exact, reproducible rolling-total calculation that exposes timing issues without claiming to resolve every legal exception, split requirement or human-performance question. Exact minima for merged rest intervals over every fully recorded24h/168hwindow using endpoint candidates. Weekly minimum-counted-block filter explicitly entered; UTC offsets avoid timezone discontinuities. Totals-only baseline screen: split-period rules, watch fitness, flag-state exceptions, emergencies and full STCW/MLC compliance remain separate review.
A few questions, answered
Why can calendar-day rest totals miss a shortfall?
The relevant elapsed window can start between calendar boundaries. A low-rest interval may therefore span parts of two days that each look adequate separately.
Can a record shorter than seven days prove the weekly requirement?
No. A complete 168-hour window needs 168 hours of known coverage; missing time must not be extrapolated as rest.
Does a favorable totals result certify STCW or MLC compliance?
No. Split periods, qualifying rest, exceptions, scope and actual records require separate applicable-rule review.
Are planned rest intervals the same as an actual rest record?
No. Interruptions or unplanned work can change the rest obtained, so a schedule and a completed record answer different questions.