How to calculate the overall size?