Skip to content

Main content

Cycle Anchor Relative Day Tool

Map supplied research diary days relative to an explicit cycle anchor without fertility prediction.

Loading tool…

Description

Compute observedDay-anchorDay+origin with exact integer intermediates and export relativeDay under its numeric contract.

Research cycle labels are coordinates on a chosen timeline. Comparing phase days requires a common origin and cycle length; agreement modulo a fixed cycle is an arithmetic relationship, not evidence of a physiological phase.

Compute observedDay-anchorDay+origin with exact integer intermediates and export relativeDay under its numeric contract.

When to use this tool

Use Cycle Anchor Relative Day when you need to reconcile explicit research day labels without estimating ovulation or physiology.

How to use the tool and how it works

  1. Enter observedDay, anchorDay, origin. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read relativeDay. Use the output convention below.

Require origin zero or one. Compute observedDay-anchorDay+origin with exact integer intermediates and export relativeDay under its numeric contract.1

Input fieldMeaning and unitsAccepted input
observedDayObserved DayRequired. Safe integer.
anchorDayAnchor DayRequired. Safe integer.
originIndexing origin; permitted values and resulting indexes are defined above.Required. Safe integer.
Output fieldInterpretationReturned shape
relativeDayRelative DayRequired. Safe integer.
json
{
  "input": {
    "observedDay": 15,
    "anchorDay": 10,
    "origin": 1
  },
  "output": {
    "relativeDay": 6
  }
}

Limitations and assumptions

  • The supplied origin defines zero-based or one-based counting; negative relative days are allowed and no cycle onset, ovulation, or health conclusion is inferred.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

For a study dataset, reconcile source records and day-origin conventions first. Physiological interpretation requires an appropriate clinical or research method rather than fixed-cycle arithmetic.

References

  1. Calculation and input contract: gynecology/cycle-anchor-relative-day — tool.io

Similar or alternative tools

  • Cycle Phase Source Gap

    Add each phase day to its supplied origin using exact integer arithmetic, return both absolute coordinates and second-minus-first as decimal strings, and test divisibility of the difference by cycle length.

  • Cycle Diary Gap Closure Token

    Test day against the gap using independent previous-end and next-start inclusion flags.