Here is the formula I teach & use:
For Dry Flys: hook size divided by 3=tippet size
For wets & nymphs: hook size divided by 4=tippet size