offsetHeight
, usually.
If you need to calculate something but not show it, set the element to visibility:hidden
and position:absolute
, add it to the DOM tree, get the offsetHeight
, and remove it. (That's what the prototype library does behind the scenes last time I checked).