Tmax = σmax Ip / R
Tmax = maximum twisting moment (Nmm, in lb)
σmax = maximum shear stress (MPa, psi)
R = radius of shaft (mm, in)
Ip = "polar moment of inertia" of cross section (mm4, in4)
Also, you said that it is to torsional loads, plural. If fatigue is a consideration, the actual...