On high-torque transmission shafts, the practical rule is to specify a key stock whose yield strength and hardness equal those of the shaft, or at minimum equal those of the hub material, because modern alloy-steel coupling hubs are often only 1.0-1.2 times the shaft diameter long, which drives key shear stress roughly 50% above shaft torsional stress [S3].
The governing reference documents for dimensions are BS 4235, ASME B17.1, and DIN 6892, all of which cover key and keyway geometry but leave material selection to the designer, so the grade choice is effectively an engineering decision layered on top of the size chart [S1].
Why Key-Shaft Hardness Match Matters
Keys transmit torque through bearing stress on the side faces of the keyway, and the contact stress concentrates at the corners of the key, which is why a softer key in a harder hub will deform and progressively allow the hub to slip, hammering the key flanks on every torque reversal until the key shears [S3].
Published equations show that when the key or hub length equals 1.6 times the shaft diameter, key stress equals shaft torsional stress; below that length ratio, key stress rises, and when the hub is only as long as the shaft diameter the key sees roughly 1.5x the shaft stress, so a key material softer than the hub is the dominant failure initiator [S3].
The corner geometry is part of the same problem: chamfers must clear the keyway fillet radii without leaving a sharp edge to load, since an under-chamfered corner binds in the fillet and an over-chamfered corner reduces the bearing area and concentrates load on a small line contact [S3].
Default Carbon-Steel Key Stock Grades
For ordinary carbon-steel shafts in grades 40C8, 45C8, 50C4, and 50C12 (Indian Standard medium-carbon designations commonly mapped to AISI 1040/1045/1050), the matching key stock is medium-carbon steel in the same family, supplied as cold-finished square or rectangular bar in 12 in (305 mm) stock lengths [S4][S5].
Hardness, not just the grade name, is the controlling variable: 45C8 keys cut from hot-rolled stock typically run 170-200 HB, which matches as-machined 1045 hubs; if the hub is induction-hardened to 45-50 HRC on the bore, the key side faces should be through-hardened to the same range to avoid brinelling of the softer member [S3][S4].
Alloy-steel key stock (4140, 4340, chrome-vanadium) is specified when the shaft itself is an alloy, and the increase in cost is justified when the torque per key length exceeds the capacity of a medium-carbon key of the same cross-section, typically above 250-300 N·m per mm of effective key length on a 50 mm shaft [S1].
Comparison: Key Material Options on Decision Criteria

Three families cover the vast majority of high-torque key specifications, and they line up against torque capacity, corrosion resistance, cost, and machinability as follows [S1][S4]:
Medium-carbon steel (1045/1050, Indian 45C8-50C12): torque capacity high, matching shaft strength; corrosion resistance low, requires oil or plating; cost low; machinability good, the baseline choice for industrial gearboxes, motor shafts, and shaft coupling hubs [S1][S4].
Alloy steel (4140, 4340, chrome-vanadium): torque capacity very high, typically 25-40% stronger than medium-carbon at the same section; corrosion resistance low; cost roughly 2-3x medium-carbon; machinability fair, used on large mill drives, marine propulsion, and heavy shaft-key joints above 100 mm shaft diameter [S1][S4].
Stainless steel (AISI 304, 316, 17-4 PH): torque capacity moderate, 17-4 PH at H900 condition approaches alloy-steel strength; corrosion resistance excellent, the only choice for food-grade, marine, and chemical drives; cost high, often 4-6x medium-carbon; machinability fair to poor, with work-hardening on 304/316 a known shop issue [S4].
Fit Class and Installation: The Hidden Half of Material Selection
Material grade alone does not determine whether a key survives; the fit class has to match the application, and the four standard conditions are: tight radial fit in the shaft keyway, sliding (not clearance) fit in the hub keyway, top clearance between key and hub keyway floor to allow full hub seating, and a key length that extends past the hub end by at least the key's corner radius [S3].
A loose-fitting key is the most common service failure I see in gearbox rebuilds, because the key rolls under torque and edge-loads the keyway, which shears the key in one or two overload events; this is independent of the grade, so a 4340 key in a sloppy keyway fails faster than a 1045 key in a properly cut keyway [S3].
On coupling hubs the bottom-of-keyway clearance is a deliberate corrosion path: water and salt enter, attack the bore, and the hub-to-shaft bond degrades, so a bead of room-temperature-vulcanizing silicone across the top of the key before hub installation is standard practice in marine and chemical-plant drives [S3].
Standards Body and What They Cover

BS 4235, ASME B17.1, and DIN 6892 are the three standards the research names explicitly, and all three govern only the dimensions, tolerances, and corner-geometry of keys and keyways, not the material grade, so a buyer who specifies "key to ASME B17.1" without naming a material has not finished the specification [S1].
Woodruff keys (semi-circular, cut with an arbor) are standardized under ASME B17.2 and are frequently used with tapered shafts because they cannot fall out of the assembly, but they concentrate stress at the keyway ends and are generally not preferred for the highest-torque joints where a parallel key with a generous length-to-section ratio carries the load better [S2].
For spline keys on transmission shafts, the relevant standard family is the involute-spline series (ANSI B92.1 / ISO 4156), used when the torque is high enough that a single key would need an excessive length, which on practical hubs above 2-3x shaft diameter transitions the design from a keyed joint to a splined joint [S1].
When NOT to Upgrade to Alloy or Stainless
A common mis-specification is to put a 4340 or 17-4 PH key into a medium-carbon hub because the drive is "high torque", but if the hub is 1045 at 170 HB, the key being harder than the hub shifts the wear to the bore, and the hub becomes the consumable part, which is the opposite of the design intent where the key is supposed to be the cheapest sacrificial element [S2][S3].
Stainless keys in non-corrosive indoor service are wasted money: 304/316 work-harden during keyway broaching, so the installed part is already at a disadvantage versus a cold-finished 1045 key, and 17-4 PH at H900 reaches the strength of alloy steel but costs substantially more per kilogram with no benefit in a clean environment [S4].
For the related rotating-machinery context, metal bellows seal vs spring-loaded seal for high-temperature service is a useful comparator on how a higher-grade material only earns its premium when the environment forces it, and the same logic applies to keys on a shaft collar or a keyed shaft coupling hub.
Selection Checklist for a High-Torque Keyed Joint

Step 1, identify shaft and hub materials and their as-machined hardness; step 2, calculate the required key length from torque, shaft diameter, and allowable bearing pressure (typical 70-90 MPa for steel-on-steel, lower if shock-loaded); step 3, select the smallest standard cross-section (square preferred for reversibility, rectangular for space) per BS 4235 / ASME B17.1 for that shaft size; step 4, choose key stock grade with hardness equal to or slightly above the softer of shaft or hub, defaulting to medium-carbon 1045/1050 and stepping up to alloy only when the calculated length exceeds the available hub length [S1][S3].
Step 5, specify the fit class explicitly on the drawing ("tight on shaft, sliding in hub, top clearance per ASME B17.1"), and add the RTV-seal note for coupling hubs; step 6, for any service above 60°C with thermal cycling, or below -20°C, re-check the key material ductility, because some stainless grades and through-hardened alloy keys become brittle in the cold half of the range and a tough medium-carbon key is often the safer pick [S3][S4].
Track these signals on the next drawing review: whether the callout still says only "key to ASME B17.1" without a material, and whether hub lengths on coupling datasheets are creeping below 1.2x shaft diameter, since both drive the need to either upgrade the key stock or extend the hub.