For the most comfortable feel, aim for your nightstand to sit between 5 and 10...
https://spencermlsy639.huicopper.com/is-it-normal-that-i-can-t-reach-the-back-of-my-nightstand
For the most comfortable feel, aim for your nightstand to sit between 5 and 10 centimetres below the top of your mattress