This article is great resource on why 8 is the magic number you are looking for.
The 8-point grid system is used for sizing, spacing, and laying out components relative to one another. This means that any padding, margin, button height, etc. is always a multiple of 8 pixels.
8-point or 8-pixels is widely used for the following reasons:
It scales perfectly ...