Aligning rounded objects: a practical guide

and 12.84% of R in all directions.

This is the math behind it.

The square power affects the exponential decrease of the negative margin as the rounding radius decreases. As a result, the shape appears more rectangular and requires less negative expansion on the sides.

Read More