tool-bar-height

tool-bar-height is a built-in function in `C source code'.

(tool-bar-height &optional FRAME PIXELWISE)

Return the number of lines occupied by the tool bar of FRAME.
If FRAME is nil or omitted, use the selected frame. Optional argument
PIXELWISE non-nil means return the height of the tool bar in pixels.