Factor of safety is used to account for uncertainties in loads and materials. For static loads, the factor of safety is typically 1.5-2.0, and for dynamic loads it is 4-8. Pins, keys, and retaining rings are commonly used shaft-hub connections that can resist both thrust and torsion loads. The design should ensure these connections fail before more costly components.