Cutting Keyways and Slots: Methods and Tolerance

Cutting Keyways and Slots: Methods and Tolerance
By BQUQ Engineering Team Reviewed by BQUQ Quality Engineering May 8, 2025 views ISO 9001:2015 Certified Factory

Cutting Keyways and Slots: Methods and Tolerance

Short answer: keyways and slots are cut by end milling, side milling, broaching, shaping, or EDM, and the method you choose sets the tolerance you get. Milling holds slot width to about ±0.05 mm routinely and ±0.02 mm with care; broaching holds a keyway width in the ±0.015 mm range and produces the straight sides and flat bottom that a key needs. The critical dimension is rarely the depth — it is the width and its parallelism, because that is what transmits torque without looseness. At BQUQ we machine ±0.005 mm, so send the drawing and get a quote within 12 working hours.

A keyway is a small feature that carries a lot of function: it locates a hub or gear on a shaft and transmits torque. A slot is the general case. Both are typically cut after the main form of the part is done, which makes them a good place for a second-operation mistake. Understanding the methods and their limits prevents both.

The Methods, Ranked

End Milling (Slotting)

A milling cutter is plunged or fed along the slot to create the width and depth. This is the most common method for open slots and for keyways on parts that can be reached. It is fast and flexible, but the cutter deflects, so width tolerance and side finish suffer on long slots or hard materials.

Side Milling

For open slots, a side-and-face cutter or a thin slitting saw cuts the width in a single pass, giving better width control than plunging. Good for slots that run off the end of the part.

Broaching

A broach is a multi-tooth tool pushed or pulled through a hole or along a slot, cutting progressively. For internal keyways in hubs — the classic case — broaching gives straight sides, a flat bottom, and a width tolerance in the ±0.015 mm range. It needs a broach for each width, so it suits repeat work.

Shaping / Slotting

A single-point tool reciprocates to cut a keyway or slot. Slower than broaching but economical for one-off work and for hard-to-reach features.

EDM

Wire or sinker EDM cuts slots and keyways in hardened material or in awkward geometry, with excellent tolerance but higher cost and slower cycle.

MethodWidth tolerance (typical)Best forRelative cost
End milling±0.05 mmOpen slots, reachable keywaysLow
Side milling±0.02 mmThrough/open slotsLow–medium
Broaching±0.015 mmInternal hub keyways, repeat workMedium (tooling)
Shaping/slotting±0.02 mmOne-off, awkward shapesMedium
Wire/sinker EDM±0.005–0.01 mmHard material, complexHigh

Keyway Width Tolerance Is the Critical Call

A key is a precision fit in both the shaft keyway and the hub keyway. The standard practice is to make the shaft keyway a slightly tighter width than the hub keyway, so the key presses into the shaft and slides in the hub. Under ISO and DIN practice, the shaft keyway width is held to roughly N9 and the hub to JS9, with the key fitting accordingly. The exact numbers depend on key size and standard, but the principle is constant: the two keyways do not use the same tolerance class.

FeatureTypical width tolerance classResult
Shaft keyway widthN9 (tight)Key pressed in shaft
Hub keyway widthJS9 (looser)Key slides in hub
Slot width (general)H9–H11Clearance feature

Depth matters too, but it is usually less critical than width. The depth of the keyway affects how much of the key engages; the width controls the torque path and the looseness that turns into wear and rattle.

Standard Key Sizes by Shaft Diameter

Parallel key sizes broadly follow shaft diameter. Indicative values:

Shaft diameter (mm)Key width × height (mm)Hub keyway depth (mm)Shaft keyway depth (mm)
10–124 × 41.82.5
12–175 × 52.33.0
17–226 × 62.83.5
22–308 × 73.34.0
30–3810 × 83.35.0
38–4412 × 83.35.0
44–5014 × 93.85.5

These are industry-standard pairings. Deviating from them means a non-standard key, which complicates spares and assembly.

Practical Rules for Specifying Keyways and Slots

First, state the width tolerance class explicitly; do not leave it to a general note unless you intend the general default. Second, specify whether the keyway is a through keyway or a blind one — blind keyways need a way for the tool to exit or a specific end geometry. Third, give the datum: keyways should be located relative to the functional axis, not to an arbitrary face. Fourth, runout between the keyway and the shaft axis matters more than most drawings show; a keyway cut parallel to the axis but offset from it will make the hub wobble. Our guide to hole making covers related location practice, and the tolerance guide shows how to set width and depth calls your shop can hold.

Frequently Asked Questions

Q: Milling or broaching — which is better for a keyway?

A: Broaching gives the best keyway: straight sides, flat bottom, and a tight width in the ±0.015 mm range, which is what a key needs. Milling is cheaper and more flexible but produces a rounded slot bottom and a looser width unless you spend time on a finishing pass.

Q: What tolerance should I put on a keyway width?

A: Follow the standard key practice: a tighter width class on the shaft keyway and a slightly looser one on the hub, so the key presses into the shaft and slides in the hub. State the class explicitly rather than relying on a general tolerance note.

Q: Why does my keyed assembly rattle or wear?

A: Usually a loose keyway width or a runout error between the keyway and the shaft axis. Width controls looseness; runout makes the hub wobble. Check both, and inspect the key fit in both the shaft and hub.

Q: Can you cut a keyway in hardened material?

A: Yes, by EDM or by grinding after heat treatment. Cutting before hardening is cheaper but distorts. The right sequence depends on the hardness, geometry, and quantity.

Q: Does BQUQ cut keyways and slots?

A: Yes, by milling, broaching, and EDM, on both turned and milled parts. Send the drawing with width and depth calls to sc@bquq.com or WhatsApp +86 13713157787 for a quote in 12 working hours.

Related Resources

  • Hole making guide: location, tolerance, and practice for drilled and bored features.
  • CNC milling parts: slots and keyways cut on our milled components.
  • About BQUQ: an ISO9001-certified source factory in Dongguan running CNC, stamping, springs, and heat sinks under one roof.
  • Contact us: keyway and slot quotes within 12 working hours.

Authored by the BQUQ Engineering Team. BQUQ is an ISO9001-certified source factory in Dongguan, China, running CNC machining, metal stamping, custom springs, heat sink and collet lines under one roof. Send drawings to sc@bquq.com or WhatsApp +86 13713157787 for a quote within 12 working hours. www.bquq.com



Contact Us Quote
Get A Quote
We use cookie to improve your online experience. By continuing to browse this website, you agree to our use of cookie.

Cookies

Please read our Terms and Conditions and this Policy before accessing or using our Services. If you cannot agree with this Policy or the Terms and Conditions, please do not access or use our Services. If you are located in a jurisdiction outside the European Economic Area, by using our Services, you accept the Terms and Conditions and accept our privacy practices described in this Policy.
We may modify this Policy at any time, without prior notice, and changes may apply to any Personal Information we already hold about you, as well as any new Personal Information collected after the Policy is modified. If we make changes, we will notify you by revising the date at the top of this Policy. We will provide you with advanced notice if we make any material changes to how we collect, use or disclose your Personal Information that impact your rights under this Policy. If you are located in a jurisdiction other than the European Economic Area, the United Kingdom or Switzerland (collectively “European Countries”), your continued access or use of our Services after receiving the notice of changes, constitutes your acknowledgement that you accept the updated Policy. In addition, we may provide you with real time disclosures or additional information about the Personal Information handling practices of specific parts of our Services. Such notices may supplement this Policy or provide you with additional choices about how we process your Personal Information.


Cookies

Cookies are small text files stored on your device when you access most Websites on the internet or open certain emails. Among other things, Cookies allow a Website to recognize your device and remember if you've been to the Website before. Examples of information collected by Cookies include your browser type and the address of the Website from which you arrived at our Website as well as IP address and clickstream behavior (that is the pages you view and the links you click).We use the term cookie to refer to Cookies and technologies that perform a similar function to Cookies (e.g., tags, pixels, web beacons, etc.). Cookies can be read by the originating Website on each subsequent visit and by any other Website that recognizes the cookie. The Website uses Cookies in order to make the Website easier to use, to support a better user experience, including the provision of information and functionality to you, as well as to provide us with information about how the Website is used so that we can make sure it is as up to date, relevant, and error free as we can. Cookies on the Website We use Cookies to personalize your experience when you visit the Site, uniquely identify your computer for security purposes, and enable us and our third-party service providers to serve ads on our behalf across the internet.

We classify Cookies in the following categories:
 ●  Strictly Necessary Cookies
 ●  Performance Cookies
 ●  Functional Cookies
 ●  Targeting Cookies


Cookie List
A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.

Functional Cookies
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.

Performance Cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.

Targeting Cookies
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

How To Turn Off Cookies
You can choose to restrict or block Cookies through your browser settings at any time. Please note that certain Cookies may be set as soon as you visit the Website, but you can remove them using your browser settings. However, please be aware that restricting or blocking Cookies set on the Website may impact the functionality or performance of the Website or prevent you from using certain services provided through the Website. It will also affect our ability to update the Website to cater for user preferences and improve performance. Cookies within Mobile Applications

We only use Strictly Necessary Cookies on our mobile applications. These Cookies are critical to the functionality of our applications, so if you block or delete these Cookies you may not be able to use the application. These Cookies are not shared with any other application on your mobile device. We never use the Cookies from the mobile application to store personal information about you.

If you have questions or concerns regarding any information in this Privacy Policy, please contact us by email at . You can also contact us via our customer service at our Site.