5. How are staking rewards calculated?
In most cases, if you stake your digital assets on T day (UTC), staking rewards will soon start to accumulate on T+1 day and begin to be distributed on T+2 day. If you stop staking and undelegate between 0:00 to 24:00 on T+N day, your staking period is N-1 days and you will only receive staking rewards for the N-1 day period. For projects like Tezos that only distribute rewards every 3 days (per cycle in Tezos network), staking rewards will start to accumulate on T+1 day but distributions will only start from T+4 day based upon project distribution cycle. And if you undelegate before a full distribution cycle completes, you will miss the rewards for that cycle, meaning that you will not receive the upcoming batch of reward scheduled on T+7 day, since you unstake prior to that.
https://ascendex.com/tr/support/articles/61770-how-to-check-staking-returnspc