To get your nightstand height just right, aim for the top of the surface to sit...
https://www.protopage.com/william.parker09#Bookmarks
To get your nightstand height just right, aim for the top of the surface to sit roughly 5 to 10 cm below your mattress-top. This makes grabbing a glass of water or your phone feel effortless without having to overreach