Example : Calculate the padding of div, and b shows the result.

padding extents
Top:
Right:
Bottom:
Left: