Keyway Size Chart (Metric & Imperial) – Keyway Dimensions, Tolerances, Types, Depth & Width Formula

2025.6.22

Shaft with a key system plays a vital role in transmitting power and torque in mechanical engineering. Key, keyway, and keyseat are the key structures that connect shafts to other parts. The existence of keyways enables shafts to work closely with parts such as gears and pulleys to achieve smooth and efficient power transmission. If the keyway is not designed accurately, it may cause loose connections, vibration, and noise during operation, and even cause equipment failure in severe cases, affecting normal production. Therefore, understanding the standard size, tolerance, and design dimension calculation of the keyway of the shaft is the basis for designing keyways and keyseats that can ensure the reliable operation of a mechanical project. In this guide, we are going to learn about the keyway and key of the shaft!

What is Key, Keyway, Keyseat & How They Work in Mechanical Engineering?

In mechanical engineering, a key connection is a common mechanical connection method, mainly used to fix shafts and hubs (such as gears, pulleys, couplings, etc.) together to transmit torque. Key connection is achieved by slotting the shaft and hub and inserting a component called a key. It can be said that keys and keyways are the most common form of fit in mechanical manufacturing. They are usually used to connect two or more parts so that they can rotate, drag, or perform other forms of movement.

Shaft Keyways & Keyseats

A key is a small, rigid machine element usually made of metal that fits into a groove keyway or key seat machined into both a rotating shaft and a mating hub or component like a gear, pulley, or coupling. Its primary purpose is to transmit torque from the shaft to the hub or vice versa, preventing relative rotation between the two components. When in use, one part of the key is embedded in the shaft, and the other part is embedded in the keyway of the hub (bore), which either ensures orientation or restricts rotational movement between parts. Keyways are the slot or groove cut on the internal cylindrical part (bore or hub), and keyseats are the slot or groove cut on the external part (shaft). In simple, keyseats and keyways are used for placing shaft keys and fixing the relative position of the shaft and the engaging part so that they rotate together to achieve the purpose of transmitting power and torque, and typically, they are both collectively called the keyway. Keyways will typically have their depth, width, and location specified, so as to give the full size and location of where the cut is to be made.

Shaft Keyway Types

Shaft Keyway Types

Parallel Keyway

Parallel keyways are a common standard shaft keyway, typically used to transmit small torque. Their main characteristic is a flat groove, where the keyway’s length and width are equal, often forming a square slot. The advantage of flat keyways is simple manufacturing and low cost. However, their load capacity is relatively low and unsuitable for high-torque applications. They are widely used due to their simple structure and ease of assembly/disassembly.

Woodruff Keyway

Woodruff keyways are commonly used standard shaft keyways, typically designed for transmitting larger torque. Their main feature is an arc-shaped groove, with a radius usually equal to 1/8 or 1/6 of the shaft diameter. Keyway length is twice its width. These keyways have high strength and load capacity, suitable for high-torque applications.

Taper Keyway

Tapered keyways have a trapezoidal or slanted cross-section with an inclined angle. They are typically used in high-speed, low-torque transmissions requiring high precision, low noise, and smooth operation. Their advantages are high transmission efficiency and smooth operation. However, they are more difficult to manufacture and install.

Gib-Head Keyway

Gib-Head keyways have a trapezoidal cross-section and are suitable for high-speed, low-torque transmissions where high transmission accuracy is required. They offer high efficiency and smooth operation, but the structure is complex and harder to machine.

Spline Keyway

Spline keyways consist of multiple slots and are typically used to connect two shafts and transmit rotational force. They are often fan-shaped, with the number and shape of slots varying as needed. Spline keyways are suitable for applications requiring higher transmission efficiency and greater torque capacity, such as high-speed shafts and high-torque rotating devices.

Standard Keyway Dimensions and Tolerances

The dimensions of keyways on both the hub and shaft are identical, and their width tolerances correspond with the key’s width tolerance. Generally, the basic dimension of a keyway width matches the selected key width, but with different tolerances. For example, under the common basic shaft system, the shaft keyway width tolerance band is h9.

The depth of the keyway is also strictly specified. For Type A keyways, depth t1 varies according to shaft diameter. For example:

The hub keyway depth t2 also has its own standard, which aligns with the shaft keyway depth to ensure proper key installation and secure connection.

Standard Keyway Design Dimension Parameters

To design a perfect keyway for your mechanical project, the following critical dimensions are involved:

When it comes to designing the perfect keyway for your mechanical project, the following key dimensions are involved:

Below, we’ve sorted out the standard keyway size chart for metric and imperial to provide a convenient dimension query for transmission mechanism design. You can quickly check keyway dimensions such as shaft diameter, key width, key height, shaft keyway depth, hub keyseat depth, and tolerances to help your design work.

Metric Standard Key & Keyway Size Chart in MM

Shaft Ø
Over
Shaft Ø
Thru
Key Size
Nominal
Keyway Width Tolerance (mm)Keyway Depth “T2”
Hub (mm)
Keyway Radius “R” (mm)
Width WHeight HJS9P9D10MinMaxMinMax
6822±0.0125−0.031/−0.006+0.020/+0.0601.01.10.080.16
81033±0.0125−0.031/−0.006+0.020/+0.0601.41.50.080.16
101244±0.0150−0.042/−0.012+0.030/+0.0781.81.90.080.16
121755±0.0150−0.042/−0.012+0.030/+0.0782.32.40.160.25
172266±0.0150−0.042/−0.012+0.030/+0.0782.82.90.160.25
223087±0.0180−0.051/−0.015+0.040/+0.0983.33.50.160.25
3038108±0.0180−0.061/−0.018+0.040/+0.0983.33.50.250.40
3844128±0.0215−0.061/−0.018+0.050/+0.1203.33.50.250.40
4450149±0.0215−0.061/−0.018+0.050/+0.1203.84.00.250.40
50581610±0.0215−0.061/−0.018+0.050/+0.1204.34.50.250.40
58651811±0.0215−0.061/−0.018+0.050/+0.1204.44.60.250.40
65752012±0.0260−0.074/−0.022+0.065/+0.1494.95.10.400.60
75852214±0.0260−0.074/−0.022+0.065/+0.1495.45.60.400.60
85952514±0.0260−0.074/−0.022+0.065/+0.1495.45.60.400.60
951102816±0.0260−0.074/−0.022+0.065/+0.1496.46.60.400.60
1101303218±0.0310−0.088/−0.026+0.080/+0.1807.47.60.400.60
1301503620±0.0310−0.088/−0.026+0.080/+0.1808.48.70.701.00
1501704022±0.0310−0.088/−0.026+0.080/+0.1809.49.70.701.00
1702004525±0.0310−0.088/−0.026+0.080/+0.18010.410.70.701.00
2002305028±0.0310−0.088/−0.026+0.080/+0.18011.411.70.701.00
2302605632±0.0370−0.106/−0.032+0.100/+0.22012.412.71.201.60
2602906332±0.0370−0.106/−0.032+0.100/+0.22012.412.71.201.60
2903307036±0.0370−0.106/−0.032+0.100/+0.22014.414.71.201.60
3303808040±0.0370−0.106/−0.032+0.100/+0.22015.415.72.002.50
3804409045±0.0435−0.124/−0.037+0.120/+0.26017.417.72.002.50
44050010050±0.0435−0.124/−0.037+0.120/+0.26019.519.82.002.50

Imperial Standard Key & Keyway Size Chart in Inches

Shaft Dia
Over
Shaft Dia
To (Incl)
Key Size
(Width × Height)
Keyway Geometry (inches)Class 1 Fit (Parallel Key)Class 2 Fit (Parallel/Taper)
ABCDEFRWidth TolShaft DepthHub DepthWidth TolShaft DepthHub Depth
1/4″1/2″1/8″×1/8″0.1250.0780.1260.0660.1250.1250.010+0.002/0.000+0.000/−0.015+0.010/0.000+0.002/0.000+0.000/−0.015+0.010/0.000
1/2″3/4″3/16″×3/16″0.1880.1130.1890.0940.1880.1880.010+0.002/0.000+0.000/−0.015+0.010/0.000+0.002/0.000+0.000/−0.015+0.010/0.000
3/4″1″1/4″×1/4″0.2500.1480.2510.1210.2500.2520.010+0.003/0.000+0.000/−0.015+0.010/0.000+0.003/0.000+0.000/−0.015+0.010/0.000
1″1 1/4″5/16″×5/16″0.3130.1830.3130.1480.3120.3140.010+0.004/0.000+0.000/−0.015+0.010/0.000+0.002/0.000+0.000/−0.015+0.010/0.000
1 1/4″1 1/2″3/8″×3/8″0.3750.2190.3760.1750.3750.3770.015+0.004/0.000+0.000/−0.015+0.010/0.000+0.002/0.000+0.000/−0.015+0.010/0.000
1 1/2″2″1/2″×1/2″0.5000.2890.5010.2300.5000.5020.020+0.004/0.000+0.000/−0.015+0.010/0.000+0.002/0.000+0.000/−0.015+0.010/0.000
2″2 1/2″5/8″×5/8″0.6250.3540.6250.2780.6270.6270.020+0.004/0.000+0.000/−0.015+0.010/0.000+0.002/0.000+0.000/−0.015+0.010/0.000
2 1/2″3″3/4″×3/4″0.7500.4300.7510.3390.7500.7500.020+0.004/0.000+0.000/−0.015+0.010/0.000+0.002/0.000+0.000/−0.015+0.010/0.000
3″3 1/2″7/8″×7/8″0.8750.5010.8760.3930.8750.8770.062+0.005/0.000+0.000/−0.015+0.010/0.000+0.002/0.000+0.000/−0.015+0.010/0.000
3 1/2″4″1″×1″1.0000.5721.0010.4481.0001.0030.062+0.005/0.000+0.000/−0.015+0.010/0.000+0.002/0.000+0.000/−0.015+0.010/0.000
Notes:
All dimensions in inches
CL = Clearance fit; INT = Interference fit
Data sourced from ANSI B17.1 and BS 46:1958
* indicates non-standard key size (omitted for clarity)

How to Determine the Keyway Dimensions?

To determine keyway dimensions correctly, it’s important to follow a step-by-step method, referring to standard tables. Let’s walk through an example where we are designing for a 1-inch shaft and a 1-inch bore.

Step 1: Determine the Key Size

Start by looking at the first table, which lists nominal shaft diameters. You won’t find an exact “1-inch shaft” listed, but you will find a range. For a 1-inch shaft, it falls within the range “over 7/8″ and up to 1-1/4”. According to the table, this range uses a 1/4-inch wide key.

Also, note the style of key recommended. At the bottom of the chart, it states:

“Square keys are preferred for shaft diameters above this heavy line.”

So, for our example, we’ll use a 1/4″ x 1/4″ square key.

Step 2: Determine the Keyway Depth

Now go to the next table to find the keyway depth. This table is based on shaft diameter, not key size.

For the shaft keyway, look for Dimension S (this represents the depth in the shaft).

For the hub keyway, look for Dimension T (this is the depth in the hub).

For a 1-inch shaft and 1/4″ square key:

Step 3: Apply the Correct Tolerances

Now move to the tolerance table, often labeled Table 4 in the Machinery’s Handbook.

For keyway width (side to side), we are now looking at key size, not shaft size.

For a key width up to 1/2 inch, the keyway width tolerance is:

For depth tolerances:

These tolerances are important for ensuring the key fits properly and functions reliably without excessive play or stress.

How To Calculate Keyway Dimensions – Depth & Width Formula

Proper dimensioning is important to avoid costly manufacturing errors. A real-world case involved incorrect measurement from the shaft top to the keyway bottom, resulting in thousands of dollars in unusable parts. Always dimension:

Keyway Width & Depth Calculation Formulas

Slot width and depth are often needed in engineering design and manufacturing, especially in machining and industrial production. These formulas help engineers determine accurate keyway dimensions:

For circular keyways:

For square or rectangular keyways:

These formulas may vary depending on groove shapes and part requirements. Engineers must adjust them accordingly for specific applications like bearing housings, rectangular grooves, or trapezoidal grooves.