For the best reach from bed, aim for your nightstand to sit between 5 and 10...
https://devinzort649.timeforchangecounselling.com/what-bedside-table-height-works-best-for-side-sleepers
For the best reach from bed, aim for your nightstand to sit between 5 and 10 centimetres below the top of your mattress