For the most comfortable reach, your bedside table should ideally sit 5-10 cm...
https://amumreviews.co.uk/should-bedside-tables-be-higher-than-the-bed/
For the most comfortable reach, your bedside table should ideally sit 5-10 cm below your mattress-top. This height allows you to grab a glass of water or your phone without straining your shoulder