Shaft machining plays an important role in power transmission, motion control, and mechanical positioning across industrial equipment. In this guide, we explore common industrial shaft types, the shaft machining process, key CNC machining methods, material considerations, precision control, and the factors that affect manufacturing cost.
What Is a Shaft?
A shaft is a mechanical component that transmits torque, supports rotating parts, or maintains the relative positioning of components in a mechanical system. In practical use, different shafts are designed to serve your different transmission needs.

Gear shaft
Featuring various functions, a shaft can carry gears and bearings, connect a motor to a driven mechanism, or transmit torque through keyed or splined connections.
What Is Shaft Machining?
Shaft machining is the process of shaping a shaft from raw material to meet your required dimensions, geometries, and surface requirements. It usually involves CNC turning, milling, drilling, spline cutting, gear cutting, and grinding.
Beyond achieving the diameter and length you need, machining sometimes covers producing stepped sections, bearing seats, keyways, splines, or integrated gear teeth. These features must be accurately positioned relative to one another to ensure proper assembly and reliable power transmission.
What Are the Common Types of Industrial Shafts?
Different designs of industrial shafts rely on how they transmit torque, support rotating components, and connect mechanical parts. Their geometry determines the machining operations and accuracy requirements you want to achieve for reliable performance.
| Shaft Type | Main Feature |
| Gear shafts | Gear teeth integrated into or mounted on the shaft |
| Spline shafts | Multiple teeth along the shaft for torque transmission |
| Stepped shafts | Multiple diameters and shoulders along the shaft |
| Keyed shafts | Keyways provide a connection for mating gears, pulleys, or couplings |
| Drive shafts | Transfer rotational power between mechanical components |
Gear Shafts
Gear shafts combine a shaft body with gear teeth, either machined directly into the shaft or incorporated as a separate mounted component. They are widely used when reliable torque transfer and accurate positioning are essential in your gearboxes and transmission mechanisms.
Gear shaft
Gear shaft machining must maintain the relationship between the gear tooth geometry, bearing journals, and mounting surfaces. Errors in concentricity or positioning can affect gear meshing, load distribution, and transmission noise.
Spline Shafts
Spline shafts use multiple teeth along the shaft circumference to transmit torque through a matching internal spline. Compared with a conventional keyed connection, splines distribute the load across several teeth and can provide better torque capacity for you within a compact connection.
Spline shaft
Accurate spline shaft machining requires control of tooth geometry, tooth thickness, fit, and concentricity. These factors influence assembly clearance, backlash, load distribution, and operating performance.
Stepped, Keyed, and Drive Shafts
- Stepped shafts have sections of different diameters to accommodate bearings, gears, seals, and other components.
- Keyed shafts use machined keyways to secure mating parts.
- Drive shafts are designed to transmit rotational power between components.
These designs require different machining combinations of turning, milling, drilling, and grinding. For stepped shaft machining, in particular, machining sequence and datum selection are important for maintaining dimensional relationships across multiple sections.
What Is the Shaft Machining Process?
The shaft machining process involves several coordinated operations to achieve your expected application needs. While the exact sequence depends on the shaft design, a typical manufacturing route includes the following steps:
Step 1 — Review the Drawing and Select the Shaft Blank
Manufacturing begins with reviewing the technical drawing you provide, including material grade, dimensional and geometric tolerances, surface finish, and heat-treatment requirements. The manufacturer also identifies functional datums, clamping points, and critical features that must remain aligned throughout production.
The shaft blank can be chosen to be cut from bar stock or prepared from a forging, considering your component geometry, loading conditions, material requirements, and order quantity.
For prototypes and customized, low-volume shafts, bar stock can be a practical option for you. But for components requiring high load capacity or larger production volumes, you should evaluate whether a forging is more suitable.
Step 2 — CNC Turning and Initial Machining
CNC turning helps you establish the shaft’s basic geometry like its overall length, diameters, and shoulders. Facing and other preliminary operations can also be done at this stage.
Rough turning removes most of the excess material, while finish turning brings selected surfaces closer to their specified dimensions. It is noted that suitable machining allowance should be retained rather than finishing every surface prematurely when your shaft demands further heat treatment or grinding.
Long, slender shafts require particular attention because cutting forces can cause deflection and vibration. Appropriate workholding, support methods, cutting parameters, and machining sequence help maintain your dimensional consistency.
Step 3 — Machine Gears, Splines, Keyways, and Other Features
After the main shaft geometry is established, additional features are machined according to the drawing request you provide. These may include gear teeth, splines, keyways, cross-holes, threads, and locating features.
The appropriate process depends on the feature:
- Gear teeth are produced by hobbing, shaping, or another suitable gear-cutting method.
- Splines require hobbing, shaping, milling, or specialized spline-cutting processes.
- Keyways are commonly produced by milling or other suitable cutting methods.
What we recommend is that you choose the cutting process according to your tooth geometry, required accuracy, material, and production quantity. A process suitable for a standard external spline is not definitely appropriate for an internal spline or a complex integrated gear shaft.
Step 4 — Apply Heat Treatment When Required
Heat treatment selection is related to the shaft material, operating loads, wear conditions, and mechanical properties. Define heat-treatment requirements before you finalize the ultimate machining sequence.
- Carburizing and quenching create a hardened surface layer while retaining a tougher core, suitable for certain heavily loaded gear shafts and transmission components.
- Induction hardening locally hardens selected areas, such as bearing journals or spline sections, without requiring the entire shaft to receive the same treatment.
- Nitriding improves surface hardness and wear resistance and causes less distortion than conventional quenching processes.
- Quenching and tempering improve the balance of strength, hardness, and toughness through the shaft section.
The required balance between surface hardness and core toughness is determined by the component’s function. A shaft exposed to repeated contact loading is likely to need different treatment from one primarily designed to withstand torsion.
Step 5 — Finish Grinding and Secondary Operations
After heat treatment is complete, critical surfaces require finish grinding to achieve specified diameters, roundness, surface finish, or geometric accuracy.
- Cylindrical grinding is used for precision shaft journals and other suitable external surfaces.
- Internal grinding is required by you for applicable bores.
Gear shafts and spline shafts also need additional finishing if you have requirements on their design and accuracy requirements. Deburring and edge finishing help prevent assembly interference, while critical dimensions should be rechecked after finishing.
Step 6 — Inspect the Finished Shaft
Finally, you need to take inspection to verify that the shaft meets its drawing and technical specifications. Checks include diameters, lengths, geometric tolerances, runout, concentricity, surface roughness, and hardness where required.
- Micrometers and dial indicators are useful for many dimensional and runout checks.
- A coordinate measuring machine (CMM) can verify complex dimensional relationships.
- Dedicated gear or spline inspection equipment is needed when tooth geometry and fit must be evaluated against specific requirements.
For heat-treated shafts, hardness testing and, where specified, case-depth verification is also necessary. Gear and spline features should be checked using the applicable drawing requirements and relevant standards.
What Are the Main CNC Shaft Machining Methods?
Different shaft machining methods are used to produce the shaft body, torque-transmission features, and precision mating surfaces.
CNC Turning
Shaft turning is the primary method for machining rotationally symmetrical features. A rotating workpiece is cut with a stationary or programmed cutting tool to produce external diameters, shoulders, grooves, tapers, threads, and bearing journals. CNC turning is efficient for stepped shafts and provides consistent results across repeated production runs.
For long or slender shafts, workpiece support and cutting parameters are important because cutting forces can cause deflection and vibration. Where several critical diameters must share a common axis, machining them in a suitable setup can also help maintain concentricity.
Milling, Keyway Cutting, and Spline Machining
Milling is used for features that cannot be produced by turning alone, such as flats, slots, and keyways. A keyway accommodates a separate key that transfers torque between the shaft and a mounted component. A spline, by contrast, consists of multiple teeth that engage with a matching internal spline.
Spline cutting uses hobbing, shaping, milling, or other specialized processes. The choice is connected with spline geometry, fit requirements, accessibility, and production volume. For hardened splines with demanding accuracy requirements, additional finishing is necessary for your shaft.
Gear Cutting for Integrated Gear Shafts
When gear teeth are machined directly into a shaft, the process must account for both tooth geometry and the shaft’s mounting features. Hobbing is commonly used for suitable external cylindrical gears, while shaping or power skiving is more appropriate for other geometries or access conditions.
For integrated gear shafts, maintaining the relationship between the gear teeth and bearing journals is especially important for reliable meshing and load distribution.
Cylindrical Grinding and Precision Finishing
Shaft grinding is used when only turning cannot reliably meet the dimensional accuracy, roundness, or surface finish demand you have. Cylindrical grinding is commonly applied to bearing journals and other critical external surfaces, particularly after heat treatment.
Grinding is not necessary for every shaft. For less demanding fits and surface requirements, CNC turning is sufficient. The practical approach for you is to identify which surfaces control assembly and operating performance, then specify grinding only where the drawing and application justify it.
Shaft Machining Methods Comparison
| Method | Suitable Features | Main Advantage | Key Consideration |
| CNC turning | Diameters, shoulders, grooves, threads | Efficient for rotational geometry | Long shafts may deflect or vibrate |
| Milling and keyway cutting | Flats, slots, keyways | Produces non-circular features | Feature alignment and positioning matter |
| Spline cutting | External or internal spline teeth | Creates a positive torque-transmission connection | Tooth geometry and fit must match the mating part |
| Gear hobbing or shaping | Suitable external or internal gear teeth | Produces defined gear tooth geometry | Selection depends on gear design and tool access |
| Cylindrical grinding | Critical journals and precision external surfaces | Improves size control and surface finish | Adds cost and requires appropriate finishing allowance |
Common Materials Used for Shaft Machining
Material selection for shaft machining depends on transmitted torque, bending loads, fatigue requirements, operating environment, and budget.
- Carbon steel is a practical option if your shafts have moderate strength requirements and cost-sensitive designs.
- Alloy steel is often considered when higher strength, fatigue resistance, or specific heat-treatment properties are required.
- Stainless steel is suitable for applications where corrosion resistance is important, although the appropriate grade depends on the working environment and required mechanical properties.
In industrial manufacturing, grades such as 40Cr, 42CrMo, and 20CrMnTi are considered for different shaft applications. They are not interchangeable: the final choice must account for load conditions, required hardness, heat treatment, and service life.
How Is Precision Shaft Machining Quality Controlled?
Quality control in precision shaft machining is not limited to checking whether the finished part matches its nominal dimensions you need. Shaft diameter, geometric accuracy, surface condition, and material properties must all meet the requirements specified in the drawing.
Dimensional Tolerances and Geometric Accuracy
Shaft machining tolerances define the permitted variation in dimensions such as diameter, overall length, shoulder position, and bearing-seat size. These dimensions affect how the shaft fits with bearings, gears, seals, and other mating components.
Geometric tolerances control the shape and alignment of the part. Roundness evaluates how closely a cross-section approaches a true circle, while cylindricity controls the entire cylindrical surface. Straightness describes how closely a line element or axis follows its intended geometry. Coaxial alignment requirements control the relationship between different shaft sections.
You should be aware that these characteristics are related but not interchangeable. Establishing suitable datums and measuring features relative to the correct reference helps ensure that the finished shaft can be assembled as intended.
Shaft Runout, Concentricity, and Straightness
Shaft runout describes the variation observed when a surface is rotated relative to a defined datum axis. Excessive runout can contribute to vibration, uneven loading, seal wear, and unstable rotation. Concentricity, in a general engineering sense, concerns the alignment of different features around a common axis; the exact drawing requirement should determine how this relationship is evaluated.
These errors can be influenced by workholding, datum selection, machining sequence, and finishing methods. For slender shafts, cutting forces and inadequate support may cause deflection during machining. Heat treatment can introduce additional distortion, so straightness and runout may need to be checked both after heat treatment and after final finishing. Where you think necessary, straightening or grinding can be considered according to the material, geometry, and specified limits.
Surface Roughness and Hardness Inspection
Shaft surface finish affects friction, wear, sealing performance, and the behavior of bearing or other mating surfaces. Critical journals may require grinding to achieve the specified roughness and dimensional accuracy, while less demanding surfaces may be adequately finished by turning.
Hardness inspection verifies whether the material has reached the required condition after heat treatment. Where case hardening is specified, effective case depth also needs to be verified using an appropriate test method. Surface roughness, hardness, and dimensional accuracy should be inspected separately because passing one check does not establish compliance with the others.
Inspection Methods for Gear Shafts and Spline Shafts
The inspection method should match the feature being evaluated. Standard shaft dimensions and geometric characteristics can be checked using suitable precision measuring instruments, dial indicators, CMMs, or other equipment appropriate to the tolerance.
For gear shafts, a gear measuring center can assess specified parameters such as tooth profile, helix or lead, pitch, and gear runout. For spline shafts, inspection may cover tooth thickness, tooth form, fit dimensions, and alignment with the shaft datum, according to the drawing and applicable standard.
What Factors Affect Shaft Machining Cost?
Regarding the cost of shaft machining, it is related to more than the raw material price or the time spent on a machine. Shaft geometry, tolerance requirements, heat treatment, finishing operations, and order quantity all make great importance to the total manufacturing cost.
Material, Geometry, and Machining Complexity
Material selection is one of the main cost factors in shaft manufacturing. Alloy steels and other specialized materials cost more than standard carbon steel, while harder-to-machine grades can increase cutting time and tool wear. Shaft length, diameter, and structural complexity also affect machining efficiency. Long or slender shafts require additional support to control deflection, while integrated gear teeth, splines, and keyways introduce extra machining operations and positioning requirements.
Tolerances, Heat Treatment, and Finishing Requirements
Tight dimensional and geometric tolerances require more careful process control and more frequent inspection. If a shaft must maintain precise runout, alignment, or bearing-seat dimensions, additional grinding or finishing is necessary at times. Heat treatment can improve hardness and wear resistance, but it also causes distortion that requires subsequent correction. These operations add processing time and inspection costs, particularly when several functional features must remain accurately aligned.
Order Quantity and Production Planning
Order quantity also affects custom shaft machining cost. Prototype and small-batch orders may carry a higher unit cost because CNC programming, setup, tooling preparation, and initial inspection are spread across fewer parts. Larger production runs can improve efficiency through repeatable setups and optimized machining cycles, provided the design remains consistent.
To obtain a cost-effective quotation, provide a detailed drawing or sample, material specification, required tolerances, heat treatment requirements, and expected order quantity. This allows the manufacturing process to be planned around the shaft’s actual functional needs without adding unnecessary operations.
FAQs
What Is the Difference Between CNC Shaft Turning and Shaft Grinding?
CNC shaft turning removes material to create the main shaft geometry, including diameters, shoulders, grooves, threads and step profiles on a lathe. It delivers fast machining speed and relatively low production cost, suitable for forming the basic outline of most transmission shafts. However, its tolerance range and surface roughness have natural limits, and it may leave visible tool marks on the workpiece surface.
Shaft grinding is used when tighter dimensional control, improved roundness, cylindricity, or a finer surface finish is required. Grinding uses abrasive wheels to remove tiny material allowances, correcting minor deformation after heat treatment. It can achieve ultra-precise tolerances and mirror-like smooth surfaces that turning alone cannot reach. It is widely adopted for mating surfaces, bearing seats and spline fitting zones of drive shafts.
How Are Gear Shafts Machined?
Gear shafts typically combine CNC turning with gear cutting processes such as hobbing or shaping.
First, the shaft blank is machined on a CNC lathe to form basic profiles: outer diameters, shoulders, grooves, bearing journals and thread sections.
After turning and heat treatment, hobbing or gear shaping is applied to cut gear teeth directly onto the shaft body.
This integrated structure avoids separate gear installation, improves concentricity and torque transmission stability.
How Are Spline Shafts Machined?
Spline shafts can be produced using hobbing, shaping, milling, or other specialized methods. Straight splines and involute splines are common options.
For small-batch or custom spline profiles, spline milling is flexible; hobbing works efficiently for involute splines in medium-to-large runs.
Broaching is also a popular high-volume spline machining method for shorter spline segments.
Many spline shafts undergo finishing grinding after heat treatment to correct thermal deformation and guarantee precise fit with mating hubs.
What Tolerances Can Be Achieved in Precision Shaft Machining?
Achievable tolerances depend on shaft dimensions, geometry, material, machining and finishing methods, and inspection capabilities. Basic CNC turning alone can reliably reach general dimensional tolerances of IT7~IT9 for most shaft diameters, suitable for low-load, non-sliding structural sections. When grinding is added as a finishing step, tighter IT4~IT6 tolerances become feasible for critical journals.
Critical bearing seats or mating features may require tighter control than non-functional surfaces. For bearing mounting seats, spline fitting surfaces and gear mating journals, we commonly control cylindricity, roundness and runout strictly alongside dimensional tolerance. Non-mating sections such as relief grooves, idle shoulders only need loose IT10–IT12 tolerances to cut unnecessary manufacturing cost.
How Do You Reduce Shaft Runout After Machining?
Shaft runout can be controlled through consistent datum selection, accurate workholding, suitable machining sequences, and adequate support during cutting. We follow a unified datum scheme from turning to grinding to avoid cumulative positioning errors. Rigid workholding and steady rests for long slender shafts minimize deflection during cutting. Heat treatment distortion should also be considered when planning the process; proper quenching fixtures and controlled cooling help limit thermal bending before finishing operations.
Based on your shaft design and measured results, straightening or precision grinding may help bring runout within the specified limits. Low-volume bent workpieces can undergo precision press straightening, followed by stress relief tempering to prevent rebound. Cylindrical grinding is a preferred choice of finishing method for high-precision transmission shafts, bearing journals and gear shafts. Final runout inspection is performed with dial indicators against the drawing datum before shipment.
Custom Shafts Made to Your Specifications
Custom shaft manufacturing requires a clear understanding of the component’s geometry, operating conditions, and precision machining requirements. BELON manufactures custom shafts based on customer drawings or samples. Share your shaft request with BELON at once.







