4x4 with a steel pipe running through
Guessing you intend it for a pull-up bar. That 1/2 will easily hold 400 lbs, possibly not at one point but at one time, I weighed almost that much and ma and my son were doing pull-ups, he said I made the posts wobble but the bar is still there 20 years later.