Use elbow height as the starting point
The keyboard should sit near relaxed elbow height while shoulders stay down. A desk that cannot reach both sitting and standing elbow height will force posture compromises.
Measure first, then subtract keyboard thickness
Sit with feet supported and shoulders relaxed, hold the forearms roughly level, and measure from the floor to the elbow. Repeat while standing in your normal setup. Subtract the distance from the keyboard's supporting surface to its typing keys to get starting desk or tray heights. The table uses example measurements, not a prescription for a particular body height. Use the linked desk-height calculator for your own numbers.
What about a standing desk height for 5 ft 4, 5 ft 7, or 6 ft?
Two people of the same height can have different arm and torso proportions. A body-height chart cannot account for chair adjustment or keyboard thickness. Use it only to shortlist a desk's range; keep your measured seated and standing surface heights as the actual purchase checks.
Desk height, width, and depth solve different problems
Height sets the typing position. Width must fit the equipment side by side; depth must leave room for the keyboard and a comfortable screen distance. Tape the chosen footprint in the room, include the monitor stand or arm and chair path, then check those dimensions separately from the lift range.
Account for shoes and floor mats
Standing height changes with shoes, anti-fatigue mats, and keyboard trays. Measure the real setup rather than relying only on a generic height chart.
Monitor height is separate
Desk height sets keyboard and mouse position. Monitor height often needs a stand or arm so the screen can meet eye level without raising the keyboard too high.
Presets help only after tuning
Memory buttons are useful once the heights are correct. Spend time dialing in the numbers before treating presets as solved ergonomics.