Machine Design #56: Keys and Keyways — Transmit Torque Without Weakening the Shaft
1. Start with the function, not the component name
Before opening a catalog or fixing a dimension, write what the key and keyway must do, where the load comes from, how many cycles it must survive, and what counts as failure. “Make it like the old machine” hides the assumptions that later become fit, noise, wear, or safety problems. A testable requirement states the input condition, operating condition, expected result, acceptance limit, and measurement method. Internal standards are a starting point; the final decision must be checked against the model, material, process, and actual installation.
2. Four layers must be reviewed together
Function and load
Separate nominal, start-up, impact, misalignment, and fault loads. For a moving mechanism include inertia, acceleration, dwell, and cycle count. Trace the force through the whole assembly instead of validating a single attractive CAD section. The design value must include a stated boundary and a reason for the selected safety margin.
Material and manufacturing process
The same geometry behaves differently when it is cut from sheet, machined from bar, formed, cast, welded, or heat treated. The drawing should describe what the workshop can make and measure. A tight tolerance is not a substitute for understanding the process, grain direction, residual stress, surface condition, and inspection method.
Assembly and interfaces
Every interface needs a datum, insertion direction, clearance, fastening or contact condition, and a way to prevent the wrong part or orientation. If left/right, front/rear, or model variants exist, use geometry, markings, or keyed features to make a mistake difficult. Record the tool access and the force that the operator is expected to apply.
Operation and maintenance
Review how a technician reaches the part, how a replacement is located again, whether another module must be removed, and which checks restore the machine to baseline. A design that works only with an experienced fitter is not yet a repeatable design.
3. Core design checks
- Nominal and shock torque at the driven interface: size from the shock torque the drive can actually deliver — a jam, a reversal or a start against load, not the steady running torque.
- Shaft diameter, hub length, and available engagement: check the hub length that is really available after chamfers and clearances; engagement shorter than planned puts all the load on one end of the key.
- Key type, standard, and orientation: state the key type and standard, and show its orientation on the drawing so the shop cannot fit a parallel key where a taper key was intended.
- Width and depth tolerances for shaft and hub grooves: put the width and depth tolerances on both the shaft groove and the hub groove; a fit that is right on one side only still rocks under reversing load.
- Root radius and combined shaft stress: keep the groove root radius specified, and check the combined torsion and bending stress at that root — the keyway is where the shaft is weakest.
- Retention, removal access, and anti-rotation evidence: say how the hub is retained axially and how it will be pulled off, and keep the anti-rotation evidence with the assembly record.
The checklist is useful only when each line has evidence. “Reviewed” is not the same as “calculated”, and “calculated” is not the same as “tested at the boundary”. Keep the evidence ID beside the requirement so a later engineering change can be audited.
3b. Four dimensions decide a keyed joint
A key looks simple, so it often gets dimensioned casually: one width, one depth, done. In reality each dimension solves a different problem, and omitting one produces a failure of its own kind.
| Dimension | Controlled by what | Why |
|---|
| Keyway width | The key standard and the chosen fit | Torque is carried through the side faces of the key, not through the bottom of the slot |
| Depth | The split between shaft and hub | Biased to one side, the key lifts the hub or does not seat properly |
| Slot end | Matched to an end mill or a broach | An end drawn perfectly square is a shape that cannot be machined |
| Slot bottom radius | Stated, never left implied | A sharp bottom corner is a stress raiser and the shaft cracks from it |
The first three rows decide whether it assembles; the last row decides how long the shaft lives.
The key should not carry the load alone
A keyway cuts into the shaft, reducing the torsional section and creating a stress concentration exactly where the torque passes. So for joints carrying high torque or reversing loads, the safe approach is to let the fit carry most of the torque through interference, with the key acting as angular location and anti-slip — instead of leaving the key to carry everything. See Machine Design #29 — Fits and tolerances in the basic hole system for choosing transition and interference fits.
Three failure types and how to recognise them
| Failure | Symptom | Common cause |
|---|
| Play | Knocking sound on reversal, play growing over time | Side clearance too large, or the hub fit too loose |
| Fretting | Reddish-brown powder at the mating face, a pitted surface | Repeated micro-movement because the joint is not tight enough |
| Shaft cracking | A crack starting at the slot bottom corner | Bottom radius too small or not stated, combined with reversing load |
All three come from the same root: treating the joint as "insert the key and it is done" without considering clearance, interference and stress concentration.
Dimension the drawing fully
The drawing has to state the key standard being applied, the keyway width tolerance on the shaft and on the hub (two different values, do not give one for both), where the depth is measured from, the bottom radius, and how axial movement is prevented if that matters. Writing "keyway 8x4" and stopping there leaves the whole functional part open.
4. Tolerance stack and variation
Do not judge dimensions independently. Build the stack from the functional datum to the characteristic that must be protected. Distinguish nominal clearance, worst-case accumulation, and a statistical distribution only when the process is stable enough to justify it. Include flatness and squareness of the datum, coating or heat-treatment thickness, joint slip and deformation during tightening, operating temperature, field assembly error, and wear over time.
If assembly succeeds only because a technician “nudges it a little”, the design has no reliable capability. Capture the stack in a simple table, assign each contributor a source, and identify which dimensions are controlled by the supplier and which are verified at incoming inspection.
5. Failure modes to ask before release
Ask: “If this is wrong, what will the machine show, and what evidence will reveal the cause?”
| Failure mode | Machine symptom | Verification direction |
|---|
| Boundary selected too optimistically | Passes a demo, fails at speed, temperature, or load | Test min/max and the defined fault case |
| Tolerance not tied to function | Difficult assembly, play, bind, or noise | Rebuild the stack from functional datums |
| Manufacturing step omitted | Distortion, burr, vibration, or drift after treatment | Review with the shop and measure after each critical step |
| Maintenance not designed | Long replacement time or wrong restoration | Run a maintenance trial and restoration check |
| Documents out of sync | Correct part name but wrong revision or setting | Baseline BOM, drawing, configuration, and work instruction |
For this article, also challenge the specific risk in the title: torque path, key fit, keyway depth, shaft stress concentration, and service removal. A failure mode is not closed by a sentence in a report; it is closed by a measured result, an owner, and a clear re-test condition.
6. What to put on the drawing and in the record
Specify only functional requirements that can be inspected. For a special requirement state its scope, datum or measurement location, measurement condition, and acceptance limit. Notes such as “machine accurately” or “assemble carefully” do not tell a supplier what to do. Keep the calculation or rationale, source revision, assumptions and limits, review comments, prototype or FAT results, and the point that must be rechecked after an engineering change.
7. Practical design review for key and keyway
The first review should be a short, evidence-led conversation. Start at the input and follow the load to the output. For key and keyway, draw the load path and name the surface, edge, thread, bearing, contact, or follower that actually carries it. Mark where friction, clearance, temperature, lubrication, or operator adjustment can change the result. If a parameter is unknown, do not hide it in a generous factor; assign an owner and a measurement plan.
The second review should use the real production route. Ask the fabricator how the feature is made, which operation creates the most variation, how the feature is inspected, and what happens after coating, heat treatment, deburring, or cleaning. Compare the process capability with the tolerance stack. If the process cannot hold the drawing, change the process or the design before ordering parts.
The third review should be performed on the assembled machine. Check access, orientation, tool engagement, marks, guards, and the time required to replace the part. Run the machine through start-up, normal duty, stop, restart, and a controlled fault. Record sound, temperature, vibration, motion smoothness, and any visible witness mark. These observations are often the earliest evidence of a design assumption that was too optimistic.
8. Boundary conditions and calculation discipline
State the lower and upper values for every influential parameter. Include the worst combination that can occur together, not only the maximum of each parameter in isolation. Keep units consistent and write the equation or reference used. When a catalog rating is used, record its test condition and correction factors. When a simulation is used, compare at least one result with a hand calculation or a measured prototype.
For key and keyway, a useful calculation sheet has columns for input, nominal, lower bound, upper bound, source, result, and pass/fail. Add a final column for “what would make this assumption invalid?” This keeps the analysis alive when a supplier changes material, when a cycle time increases, or when the machine is installed in a warmer or dirtier environment than the prototype.
9. Supplier and incoming-inspection handoff
The supplier package should contain the drawing, revision, material condition, special-process note, inspection points, and a sample acceptance record. Do not outsource the design intent. If a supplier proposes a different material or process, compare strength, fatigue, friction, corrosion, thermal behavior, lead time, and inspection capability before approving the change.
At incoming inspection, measure the features that protect the function rather than every dimension with equal effort. Record the actual value and instrument ID. A part can be “within drawing tolerance” and still fail because the wrong surface, burr, fit, lubricant, or orientation was accepted. Link the inspection record to the serial or lot number used on the machine.
10. Commissioning and maintenance feedback
Create a baseline at commissioning: cycle time, force or torque, temperature, vibration, noise, position, and visual condition as relevant. Define the alarm limit and the action when the limit is reached. After the first service interval, compare the trend with the baseline and update the maintenance instruction. A replacement should restore the same baseline, not merely make the machine move again.
Size the key by shear and bearing stress, not only by the standard section
The key cross-section (width w × height h) is chosen from the shaft diameter (JIS B 1301 / DIN 6885), not from the torque. It is the length that carries the load. A key with the correct section can still be too short for the torque it must transmit.
The force at the shaft surface is F = 2·T / d (T is torque, d is shaft diameter). A key fails in two ways, both scaling with the contact length L:
- Shear across the key body: shear area ≈
w·L. - Bearing (crush) on the side face: area ≈
(h/2)·L for the part standing out of the shaft.
| Situation | Why it happens | What to do |
|---|
| Correct section but a short key | Not enough length for shear/bearing area | Extend the key within the hub, recheck both shear and bearing |
| One key fills the hub and is still short | The load is too high for a single key | Use two keys (120°/180°) or move to a spline / interference fit / taper |
| Shaft fatigues at the keyway root | The slot is a stress raiser | A sled-runner (disc-milled) slot is gentler than an end-milled one; fillet the root; avoid deep slots where the shaft also bends |
A note on two keys: because of fit tolerances, two keys do not reliably share the load evenly — if the load is genuinely high, a spline distributes it better. State on the drawing the key length, the slot-end type (closed or open), the root fillet, and the key-to-slot fit.
11. MINATA release checklist
- [ ] Function, load path, duty cycle, and fault boundary are written.
- [ ] Material, process, surface condition, and inspection method are agreed.
- [ ] Functional datums and the tolerance stack are visible.
- [ ] The six topic checks above have evidence and pass/fail criteria.
- [ ] Assembly, tool access, orientation, and mistake-proofing were tried on hardware.
- [ ] Failure modes have an owner, evidence, and re-test condition.
- [ ] Supplier and incoming-inspection records are linked to the revision.
- [ ] Commissioning baseline and maintenance response are defined.
Frequently asked questions
Which part of the key carries the torque?
The side faces, not the bottom of the slot. That is why the keyway width tolerance is the most important dimension, while the depth mainly ensures the key seats properly and does not lift the hub.
Why does a shaft crack at the keyway?
Because the bottom corner of the slot is a stress raiser, and it sits exactly where the section has already been reduced. A bottom radius that is too small or not stated on the drawing, combined with a reversing load, is the familiar recipe for a fatigue crack.
What causes fretting at the mating face?
Repeated micro-movement between two mating faces that are not tight enough. The signs are a reddish-brown powder at the mating face and a pitted surface. The remedy is to tighten the joint with a suitable interference, not to make the key larger.
How should the end of a keyway be drawn?
According to the machining method: an end mill leaves an end curved to the cutter radius, a broach gives a through slot. Drawing a perfectly square end is drawing a shape that cannot be made, so the shop decides for itself and each batch comes out differently.
Is a key needed when the joint is already an interference fit?
It depends on the load. For high torque or reversing loads, the safe approach is to let the fit carry most of the torque and the key provide angular location and anti-slip. At small sizes an interference fit alone sometimes holds without a key — but that has to be a conclusion after checking, not an assumption.
12. Closing note
Good mechanical design is not a collection of perfect-looking dimensions. It is a chain of explicit assumptions that survives manufacturing, assembly, operation, maintenance, and change. For key and keyway, the right question is not only “will it work?” but “what evidence will show that it continues to work when the boundary moves?” That is the standard MINATA uses to turn a drawing into a dependable machine.
Frequently asked questions, continued
How long should the key be?
Long enough that both the shear stress on w·L and the bearing stress on (h/2)·L stay below the allowable limit of the weaker material (usually the hub or the key), with the project's safety factor. If the required length exceeds the hub, change the scheme rather than forcing a single key.
Do two opposite keys double the capacity?
Do not assume they double it. Manufacturing variation makes one key take load first, so the real capacity is less than the theoretical sum. When the load is high and certainty matters, use a spline or an interference fit instead of adding a second key.
Conclusion
Keys and Keyways is not a matter of picking a single number. Good design ties function, load, material, process, tolerance, assembly and maintenance into one contract that can be checked. An internal standard preserves the experience already accumulated; the designer's job is to understand the conditions under which it applies and turn it into a clear decision on the product at hand.
View all MINATA technical articles