Sleep cycle calculator

Heuristic only—sleep stages are not exactly 90 minutes for everyone.