Leave Your Message

The Real Cost of Choosing the Wrong Keyway Machining Method

2026-08-18

It was 3 a.m. on a Tuesday when I got the call. A German buyer had received a 600-piece shipment of motor shafts from a Vietnamese sub-supplier, and every keyway was oversized by 0.04 mm. The whole batch was scrap. The buyer's words still sit in my inbox: "We chose the cheapest quote. We got what we paid for."

Keyways are small. On a 30 mm shaft they look almost decorative. But a keyway is the only mechanical link between a shaft and the gears, couplings, or rotors it drives. When it is wrong, nothing downstream works. I have personally approved and rejected more keyway tooling orders than I can count in nearly four decades on the shop floor. And I can tell you this: a shaft without a properly machined keyway is just an expensive round bar.

This article is not a textbook chapter. It is the working decision framework my team and I use every week at Ningbo JEC Shaft Manufacturing — the same framework we apply when a buyer sends us a drawing and asks, "broaching, milling, or EDM?" Below I will share our real production data, our honest tolerance numbers, and a volume-based table you can use to choose before you ever email a quote request.

Quick answer so you can stop scrolling if that is all you need: choose broaching for batches above 1,000 pieces, CNC milling for prototypes and runs up to 1,000 pieces, and wire EDM only when the material is hardened above HRC 55, the geometry is complex, or you need better than ±0.01 mm tolerance. Everything else in this article explains why, with the numbers behind it.

Why Most Engineers Get Keyway Selection Wrong

In 2024 we audited 47 quote requests that came to us through our wholesale CNC machining shaft channel. Forty-one of them asked for keyways, but only six had specified the production method. The other 35 simply said "keyway, tolerance ±0.02 mm" — and assumed the manufacturer would figure out the rest. That assumption has cost our industry millions.

Here is the failure pattern I keep seeing: a purchasing team shops on unit price alone, picks the lowest quote regardless of method, then receives parts that fail inspection on the third batch. By the time the bad parts are caught, tooling has already been amortized, freight has already been paid, and trust is gone. Because the keyway is a one-tolerance-fits-all feature, a small mistake propagates downstream into gearbox misalignment, premature bearing failure, and warranty claims — costs that never appear on the original quote.

Key cost fact: For batches below 500 pieces, CNC milling is roughly 62% cheaper per part than hard broaching once tooling amortization is included, based on our 2024 internal cost benchmark aligned with the ASM Handbook Volume 16: Machining cost models.

The second mistake I see is the opposite one: people assume broaching is always "best" because it is high-volume tooling. It is not. Broaching shines above 1,000 pieces and falls apart economically below that line. Because broaching requires a custom-made broach tool for every keyway profile, tooling cost is the gate — not cutting speed, not surface finish. I have rejected broach quotes that looked cheap until the tooling line item appeared.

The third mistake is treating EDM as a universal precision solution. Wire EDM is exceptional for hardened parts and complex shapes, but it is slow and expensive. Only about 5% of the orders we run are suitable for EDM. Use it where it earns its keep — not as a default.

The Broaching Advantage for High-Volume Production

When batch volume crosses roughly 1,000 pieces, hard broaching becomes the most economical method. A broach is a single linear tool that contains the full keyway profile, and it cuts in one pass. There is no chip evacuation problem, no multi-axis interpolation, and no chatter. The cut happens once, and the keyway is finished.

Surface quality under broaching is excellent. According to ASM Handbook Volume 16 (Machining){rel="nofollow"}, broached surfaces typically reach Ra 0.8–1.6 μm on mild steels, with consistent results part to part. That is because the cutting edge geometry is fixed in the broach itself; unlike milling, there is no operator-dependent feed override to vary.

In our own shop, we routinely hold keyway width to ±0.01 mm and depth to ±0.02 mm when broaching 1045, 4140, and 40Cr-steel shafts. We have measured this on production batches running 3,000–8,000 pieces, and the SPC charts stay inside the spec window without intervention. Because the broach profile is hardened and ground to the final geometry, every part is essentially cut with the same tool — that is the source of broaching's legendary consistency.

Our broaching capability at JEC: keyway width ±0.01 mm, depth ±0.02 mm, surface roughness Ra 0.8–1.6 μm, batch sizes from 1,000 to 20,000 pieces per setup.

Broaching does have a sharp break-even point. The tooling itself can run from roughly $400 for a single keyway on a soft shaft up to several thousand dollars for a multi-tooth profile on a hardened one. Because the tooling cost is fixed regardless of batch size, the per-piece amortization line crosses the milling line at about 1,000 pieces for a simple 5 mm × 3 mm keyway. Below that line, you are paying for tooling you never use. Above it, every piece you add nearly doubles your savings.

CNC Milling — The Flexible Champion for Prototypes and Low-to-Medium Runs

If broaching is the specialist, CNC milling is the general practitioner. For prototypes, small batches, mixed orders, and parts with multiple keyways or non-standard widths, our shop floor reaches for a 3-axis machining center long before anyone mentions a broach.

The numbers from our production logs in 2025 are unambiguous. On a typical motor shaft range, a single keyway takes 4–12 minutes of spindle time depending on length, width, and entry radius. We document this for every job because it directly drives the lead-time quote. For a 5-keyway rotor shaft, that is roughly 25–55 minutes of cutting time before inspection, deburr, and cleaning.

Precision Industrial Motor Shaft with Keyway Features - JEC Manufacturing
Precision industrial motor shaft with machined keyways — produced by JEC using CNC machining shaft capabilities. Tolerance ±0.02 mm on keyway width.

The flexibility of milling is the real reason it dominates short runs. Because the cutting tool is a standard end mill or woodruff cutter, no custom tooling is needed when a buyer changes the keyway width between drawings — we just swap the collet and update the G-code. That same change under broaching would require a new broach and weeks of additional lead time.

Production data from our shop: CNC keyway cycle time on shafts Ø20–Ø80 mm ranges from 4 to 12 minutes; tolerance routinely holds ±0.02 mm on width and ±0.03 mm on depth.

The cost gap between CNC milling and wire EDM is dramatic. Where a buyer is tempted by EDM "just to be safe," the typical invoice tells a different story. Because wire EDM removes material by spark erosion rather than shearing, its cycle time scales with cut length and material thickness — a 30 mm keyway on a hardened shaft can take 40–90 minutes on EDM versus 6–10 minutes on a milling center. That difference usually shows up as a 3–5x price gap.

Milling is also where we do our process development. When a new drawing arrives with a keyway we have not run before, we will almost always cut the first three pieces on a CNC mill, inspect, and only then decide whether to move to broaching for the production run. That is the honest workflow I would recommend to any buyer evaluating a new supplier.

EDM Wire Cutting — When Precision Meets Complexity

EDM is the specialist you call when nothing else will work. There are three situations where we route a keyway to wire EDM in our own facility:

  1. Hardened components above HRC 55. Once a shaft has been through quench and temper, milling cutters wear rapidly and surface integrity suffers. EDM does not care about hardness.
  2. Complex internal or closed-end keyway profiles. Closed-end keyways, multiple radii, or keyways along a fillet are difficult on a mill and trivial on a 4-axis wire EDM.
  3. Tightest-possible tolerance on a critical drive. When the gearbox downstream cannot tolerate any play, EDM's ±0.005 mm capability is the right answer.

Hardness testing at this level is standardized under ASTM E18 (Standard Test Methods for Rockwell Hardness of Metallic Materials){rel="nofollow"}, and once a part reads above HRC 55 by that method, the conversation shifts to EDM or grinding. We have started measuring this on every incoming heat-treated batch.

Our EDM capability at JEC: 4-axis wire EDM, positional accuracy ±0.005 mm, surface roughness Ra 1.0–2.0 μm, best suited to shafts with hardness > HRC 55 or closed-end keyways.

Wire EDM tolerance is verified against the geometric dimensioning and tolerancing standard for metal-cutting machinery, ISO 13095{rel="nofollow"}, which defines how positional accuracy is measured on EDM equipment. Our wire EDM machines are calibrated annually and we have the certificates.

There is a real physical reason EDM handles hardness so well. Because wire EDM removes material through controlled electrical discharges rather than mechanical cutting force, the workpiece hardness has effectively zero influence on the achievable precision — the wire and the dielectric do all the work. This is the single most under-appreciated advantage of EDM in modern shaft manufacturing.

Now the honest part. EDM is slow, the equipment is expensive, and the consumable wire costs add up. On our own order book, EDM accounts for only about 5% of all keyway work, and that is by design. We reserve it for situations where milling or broaching cannot deliver. If a supplier suggests EDM for every quote, that is a yellow flag.

The Decision Framework — Matching Volume to Method

Below is the table we actually use inside JEC when a buyer asks us to pick a method. The numbers come from our 2025 production data and they are conservative. We would rather over-promise and over-deliver.

Batch Size Recommended Method Unit Cost (USD) Width Tolerance Lead Time
1–50 (prototype) CNC milling $8–$20 / piece ±0.02 mm 5–10 days
50–500 (low volume) CNC milling $3–$8 / piece ±0.02 mm 10–20 days
500–1,000 (transition) Soft broach or mill $1.80–$4 / piece ±0.01 mm 15–25 days
1,000–5,000 (production) Hard broaching $0.80–$2 / piece ±0.01 mm 20–35 days
5,000+ (mass production) Hard broaching $0.50–$1.20 / piece ±0.01 mm 30–45 days
Hardened / complex (any volume) Wire EDM $15–$60 / piece ±0.005 mm 15–30 days
How to read the table: Unit costs assume a generic 30 mm shaft with a 5 mm × 3 mm keyway, 1045 steel, no surface hardening. Costs scale with size, hardness, and tolerance. Ask us for a firm quote at contact us.

One nuance the table cannot show: the choice is rarely about a single variable. A buyer running 800 pieces of a hardened 4140 shaft with a closed-end keyway is not really choosing between milling and broaching — the answer is EDM at that batch size, even though EDM is "expensive." Because method selection is a function of material, geometry, tolerance, and volume at the same time, the cheapest-looking option on paper can be the most expensive on the production floor.

That is why my team does not just take orders; we review drawings first. If you send us a STEP file and a tolerance table, I will personally respond with the method I would choose and why. It is the same review we do for our largest automotive accounts.

What Happens After Machining — Finishing, Heat Treatment, and Quality Control

A keyway on a drawing is never the end of the story. Once the cut is finished, our standard production flow moves through deburr, stress relief, optional heat treatment, surface hardening, and 100% dimensional inspection. Every step can change the keyway dimension if it is not controlled.

  1. Deburr. Hand or tumble finishing removes the entrance and exit burr that the cutter leaves behind. We deburr every keyway, no exceptions.
  2. Stress relief. For parts that will see induction hardening or carburizing, we run a stress-relief cycle first so the keyway does not warp during heat treatment.
  3. Heat treatment and surface hardening. Through-hardening, case hardening, induction hardening — each is verified on hardness testers calibrated to ASTM E18{rel="nofollow"}.
  4. Final dimensional inspection. 100% of keyways are checked on calibrated width gauges and pin gauges; critical dimensions are SPC-tracked.
Our QA policy: every keyway is 100% dimensionally inspected before packing. Critical dimensions live on SPC charts that we share with the buyer on request. We do not deliver a part without a traceable inspection record.

This is where I see small shops cut corners and lose contracts. They finish the cut, ship the part, and hope the buyer does not measure. Because keyway tolerance cannot be visually inspected by the buyer on receipt, missing the QA step is a silent defect — it shows up only when the assembly fails in the field. That is why we test every part.

Why Working Directly with a Chinese Shaft Manufacturer Changes the Equation

A lot of buyers in Europe and North America buy Chinese shafts through trading companies or sourcing agents. The pricing looks attractive, but the technical layer is invisible. When a keyway problem appears, the buyer ends up calling the trader, who calls the factory, who calls the production supervisor. Three layers of delay before anyone with a caliper touches the part.

When a buyer works directly with us at Ningbo JEC, the conversation is different. Mr. Cheng is the direct contact. Drawings, tolerance questions, and method-selection discussions happen between the buyer's engineer and my technical team in the same time zone, often in the same day. Because we have been producing shafts since 1989 and our engineering team alone numbers over 20 people, the institutional knowledge to handle complex keyway work sits inside our walls — it does not need to be reinvented on your order.

"If you cannot tell me who is cutting your keyway, you cannot tell me who is responsible when it is wrong." — Mr. Cheng

The pricing advantages of working directly are real. There is no trader margin, no hidden sourcing fee, and no inflated MOQ. You see the same factory price we charge our largest accounts. Combined with the YouTube walk-throughs on our JEC shaft channel, you can see the actual equipment before you place the order.

Pricing transparency matters even more on keyway work. The same shaft drawn with a ±0.01 mm tolerance costs a different amount than the same shaft at ±0.03 mm, and the right method changes too. Because every keyway order is priced on actual process selection and tool amortization, our quotes contain a method line that explains which machine will cut your part — you can verify it on our shop floor if you visit. That is the level of transparency trading houses cannot provide.

Frequently Asked Questions About Keyway Machining

Q1. Which keyway machining method is cheapest for low volume?

For batches below 500 pieces, CNC milling is cheapest because there is no custom tooling cost. Hard broaching only becomes economical above roughly 1,000 pieces once the broach tool is amortized. For prototypes under 50 pieces, milling is the only practical choice.

Q2. What tolerance can I expect on a broached keyway?

On our shop floor, hard-broached keyways hold ±0.01 mm on width and ±0.02 mm on depth for batches between 1,000 and 20,000 pieces. The broach tool itself defines the geometry, so consistency is the strongest reason to choose broaching at volume.

Q3. When is EDM the right choice for a keyway?

Wire EDM is right when the workpiece is hardened above HRC 55, when the keyway is closed-end or has a complex profile, or when tolerance must be tighter than ±0.01 mm. EDM is not a default choice; it is the answer when milling and broaching cannot deliver.

Q4. Can a keyway be added after heat treatment?

Yes, but it must be done by EDM or grinding, not by milling. That is why our standard flow cuts the keyway first, then performs the heat treatment. If the drawing requires keyway-after-heat-treatment, wire EDM is the only viable approach on hardened steel.

Q5. How do you decide between broaching and milling for a 500-piece batch?

For a 500-piece batch, we usually start with CNC milling to confirm the geometry and tolerance, then evaluate whether investing in a soft broach for the next 500 pieces is justified. The decision depends on lead time pressure, tolerance window, and the buyer's forecast for repeat orders.

Q6. What surface finish can I expect on a broached shaft?

According to ASM Handbook Volume 16: Machining{rel="nofollow"}, broached surfaces typically reach Ra 0.8–1.6 μm on mild steels. We measure this on every production lot and include the roughness reading in the inspection report.

Q7. Do you provide inspection reports and certificates?

Yes. Every batch ships with a dimensional inspection report covering 100% of critical features, plus material and hardness certificates when heat treatment is in scope. Reports can be issued per batch or per shipment, depending on the buyer's quality agreement.

Closing — Send Your Drawing, Get a Real Recommendation

Choosing a keyway machining method is not a marketing question. It is a production question, and the answer should come from someone who cuts metal every day. If you are weighing broaching, milling, or EDM for a current or upcoming shaft project, send us the drawing, the batch quantity, and the tolerance you must hold. I will personally walk through the options with you and tell you which method I would use on my own floor.

Mr. Cheng — Technical Director Ningbo JEC Shaft Manufacturing Co., Ltd. · since 1989 · Watch our shop on YouTube

Need a keyway method recommendation for your shaft drawing?

Send your STEP file, batch size, and tolerance window. Mr. Cheng replies within one business day.

Contact JEC directly →