You can find a sleep time calculator here. For the science behind the 90 minute recommendation see this paper.
Image may be NSFW.
Clik here to view.

Clik here to view.

You can find a sleep time calculator here. For the science behind the 90 minute recommendation see this paper.