For the best reach from bed, aim for your nightstand to sit between 5 and 10...
https://landenuzqb895.theglensecret.com/why-is-it-so-hard-to-find-a-53-55-cm-bedside-table
For the best reach from bed, aim for your nightstand to sit between 5 and 10 centimetres below the top of your mattress