Bucket Size

Just curious, is there some type of formula that provides the optimim bucket size based on the frame size?

Thanks,

Scott