Specifying shaft keys for data-center rotating equipment is a different problem than general industrial practice because every fan, chilled-water pump, and CRAH blower on a hyperscale campus runs near 8 760 h/yr at low vibration, and downtime costs dwarf the cost of a precision key.
For that duty class, ANSI B17.1 square parallel keys in 4140 alloy steel (or 316 stainless for outdoor condenser fans) remain the dominant engineering choice, with rectangular parallel keys (W×H in ratios of roughly 1:1.6) used once shaft diameter exceeds 6-1/2 in [S3][S6].
ANSI B17.1 Key Size Mapping for Typical Data-Center Shafts
Per ANSI B17.1-1967 (R2017), the shaft-to-key size relationship is a fixed table, not a free choice: a 1-3/8 in to 1-3/4 in shaft takes a 3/8 in square key with H/2 = 3/16 in keyseat depth, while a 2-1/4 in to 2-3/4 in shaft requires a 5/8 in square key with H/2 = 5/16 in [S3][S6]. The same ratio is mirrored in metric under ISO R773 / DIN 6885-1: a 30 mm shaft pairs with an 8 mm key, depth 3.3 mm in the shaft, 7 mm key height [S2]. Hyperscale data-center chiller pumps and cooling-tower fans typically land in the 1-1/4 in to 2-1/2 in shaft range, so the 1/4 in, 5/16 in, 3/8 in, 1/2 in and 5/8 in square keys are the high-usage items at the spare-parts cage [S3].
Material Selection: 4140, 316 SS, and Why Mild Steel Fails
Plain AISI 1018 or 12L14 keys are common in low-cost HVAC blowers but show measurable creep at sustained torque above ~40 °C hub temperature; for UPS-cooled rooms with steady 30–45 °C inlet air and continuous duty, 4140 quenched-and-tempered to HRC 28–32 is the workhorse spec, delivering roughly 90 ksi minimum tensile and a fatigue endurance limit near 41 ksi [S3]. 316 stainless (yield ~30 ksi min) is specified for outdoor air-cooled condenser fans where galvanic corrosion with the cast-iron hub is a risk, and is paired with a nitrided 4140 shaft to keep wear surfaces separate [S6]. Avoid 303 stainless for keys — its sulfur addition drops fatigue strength by roughly 20 % versus 316 and it galles in keyseat corners.
Parallel vs Taper vs Woodruff vs Spline for Data-Center Service

The four-way comparison is straightforward. Parallel square or rectangular keys (ANSI B17.1, ISO R773) carry the highest torque per unit length because the full key face is in contact, and they can be installed without removing the hub — a maintenance win on data-center pumps with limited axial clearance. Taper keys (ANSI B17.1 type 2) wedge tighter under load but require axial withdrawal room, which most CRAC blower housings do not give, so they are restricted to outdoor cooling-tower gearboxes. Woodruff keys (ANSI B17.2) — half-moon keys sized to a specific shaft diameter, typically 5/8 in shaft taking a 5/8 in Woodruff No. Involute splines (ANSI B92.1) are reserved for the largest chilled-water pumps above ~50 hp where a key cannot carry the torque without lengthening the hub.
For most UPS-room air-handler shafts in the 1-1/4 to 2 in range, the shaft collar and shaft coupling arrangement upstream of the keyed joint typically sets the alignment budget at 0.002 in TIR, so a square parallel key is the correct fit because it tolerates the same machining tolerance class without introducing bending moment.
Tolerance, Fit, and Installation Pitfalls
ANSI B17.1 prescribes a normal keyseat depth tolerance of +0.000 / -0.005 in for shafts above 7/8 in, and a hub keyway width tolerance of +0.001 / -0.000 in for the key [S3][S6]. The practical pitfall in data-center service is over-sizing the gap: a 1/4 in key in a hub keyway cut to 0.260 in (10 thou oversize) will micro-creep, glaze the keyseat, and over 6–12 months produce audible 2× line-frequency vibration that trips a vibration sensor above 0.15 in/s RMS. The fix is the standard "snug but slidable" rule: the key should slide into the shaft keyseat under thumb pressure, fall into the hub keyway under its own weight, and require light tapping with a brass drift to drive it fully home [S2][S8]. For metric shafts, the same relationship per ISO R773 is a N9 hub keyway against a P9 shaft keyseat, giving a clearance fit with zero play at the operating temperature [S2].
Failure Modes and What Data-Center Logs Show

Bearing housing and shaft alignment data from a data logger on the fan vibration channel is the most reliable early warning — a 6 dB rise at 1× RPM over baseline is the documented trigger for a keyway inspection at the next scheduled outage.
Sourcing, Standards, and a Decision Map
The minimum-signal sourcing spec for a data-center spare-parts inventory is: ANSI B17.1, square parallel key, 4140 steel, HRC 28–32, finish ground to ±0.0005 in on width, deburred edges, supplied with traceable MTC per EN 10204 3.1 [S3][S6]. Metric sites should call out ISO R773 / DIN 6885-1, tolerance class P9/N9, with the same 4140 or 316 SS material choice [S2]. The most common engineering trap is letting a maintenance contractor substitute a "close enough" rectangular key from a non-coded source; this fails the vibration baseline within one quarterly inspection cycle [S2].
For a deeper cross-reference on type/material/tolerance selection across all four key families, the shaft-key spec map is the natural next read. Trackable signals worth monitoring: a 6 dB rise in 1× RPM vibration on a fan bearing channel above the 0.15 in/s RMS threshold, and any hub bore eccentricity measurement above 0.003 in TIR during a routine alignment check — both indicate the keyed joint is moving long before the next scheduled shutdown.