it’s a simple one stop formula that applies to everybody.
- put whatever your company will match in your 401k
- put whatever you can afford into an IRA until you max out
- go back to the 401k with anything beyond this.
the reason is that you have a lot more control over your IRA than your 401k (which is usually just a selection of shitty funds).