How Do You Machine an Elbow Using CNC?
A practical walkthrough for machinists and engineers. It covers how to machine an elbow using CNC on 3-axis, 4-axis and 5-axis equipment, where the geometry fights back, and which tolerances you can actually hold.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
Key takeaways
What makes an elbow different from a straight fitting
A straight fitting gives you a long, honest cylinder to clamp. An elbow does not. The moment the centerline turns, the part loses most of the surface a vise can grip, and the remaining surfaces are usually the ones you must keep concentric. That single fact drives every decision on the job.
The bend angle is the tightest requirement on most drawings, tighter than any single diameter. A 90° elbow held to ±0.5° over a 200 mm leg is a different job than the same part at ±2°. Read the angle tolerance before you choose a machine.
Access is the second constraint. On a short-radius elbow, a boring bar that reaches the far port will often hit the inner wall of the bend on the way in. The bar diameter must shrink, and a smaller bar deflects more. That trade is unavoidable.
Internal diameter, port flatness and the relationship between the two end faces are what the assembly actually feels. If the ports are not coplanar and the angle is off, a mating flange will pull the joint into stress during torque-up.
How to machine an elbow using CNC: choosing the setup
Start with the material and the wall. A 6061 aluminum elbow with a 5 mm wall is forgiving. A 316L stainless elbow at 2 mm wall is not, and a titanium TC4 elbow will move as the cut releases residual stress. Material choice changes the feed and the number of passes, not the general plan.
For a cast or forged elbow blank with stock on both ports, 5-axis is the clean answer. Clamp on the bend body once, machine one port, index the table, machine the other port. The angle between the two operations comes from the machine, not from a second vise setup.
For a smaller elbow, a 3-axis mill with a Ø400 mm rotary table does the job. You clamp the body, face and bore port one at 0°, rotate the table by the bend angle, then face and bore port two. The rotary table accuracy becomes the bend accuracy.
If you have a mill-turn center, turning an elbow is possible when one leg is long enough to hold. Turn the first port, grip that finished bore on a soft jaw or expanding mandrel, then mill the second port. Grip on a finished bore is safe only if the wall is thick enough to resist the jaw pressure.
Workholding and datums that keep the angle honest
Build a soft jaw or a dedicated fixture that matches the outer profile at the bend. The clamp should contact the body over a wide area, not on two points. Wide contact spreads the load and keeps a thin wall from going oval.
Set Z zero on the centerline, not on the top of the part. If you touch off the outer surface, any wall thickness variation on the blank shifts your bore position. Centerline zero survives a rough casting.
For the second port, do not re-probe the outer surface. Index from the first port, or use a probe cycle that finds the first bore and rotates the work coordinate system to it. Re-datuming from the outside is the most common source of a two-degree angular error.
On long elbows, support the free end with an adjustable jack or a tailstock. A 4,000 mm maximum processing size machine can hold a long elbow, but only if the overhang is supported. Unsupported overhang means chatter on the face and a dished port.
Boring, facing and the thin-wall problem
Bore the port you are going to grip first, and leave 0.3–0.5 mm of stock on the diameter for a finishing pass. Roughing straight to size on a thin wall is how you get an out-of-round bore that no re-cut will fix.
For aluminum, run carbide at 300–500 m/min surface speed with a 0.08–0.15 mm/rev feed. For 316L stainless, drop to 80–140 m/min and keep the feed at 0.05–0.10 mm/rev. Titanium sits lower still, around 40–70 m/min, with generous coolant and a sharp edge.
Radial depth of cut is where thin walls fail. On a 2 mm wall elbow, keep radial engagement at 0.2–0.3 mm and take more passes. The cycle time rises, but the bore stays round and the wall thickness stays even around the bend.
Facing the port looks simple until you try it. Interrupted cuts across a curved port wall will chip a positive insert. Use a smaller lead angle, reduce feed at entry, and consider a helical entry rather than a straight plunge into the wall.
Step by step: machining an elbow on a 5-axis center
Assumes a cast or forged blank with stock on both ports
- 11. Read the angle tolerance and wall thicknessNote the bend angle and its tolerance, both port diameters, wall thickness and any flatness callout. If wall thickness is under 3 mm, plan light radial passes from the start.
- 22. Inspect the blank and mark the centerlineCheck the casting for shift. Scribe or laser-mark the elbow centerline on the body. This line is your Z and Y datum for the whole job.
- 33. Mount in a soft jaw or dedicated fixtureClamp over a wide area of the bend body. Support any overhang over 150 mm with a jack or tailstock. Confirm the part does not rock under hand pressure.
- 44. Find the centerline with a probeProbe the body to establish the centerline in X and Y, then set Z on the centerline. Do not set Z from the outer surface of a rough casting.
- 55. Face and rough bore port oneFace to clean up, then rough bore leaving 0.3–0.5 mm on the diameter. Keep radial depth at 0.2–0.3 mm on thin walls.
- 66. Index by the bend angle and repeatRotate the table by the drawing angle, probe the first bore to confirm position, then face and rough bore port two. Keep the same feeds and depths.
- 77. Finish both bores in one continuous cycleFinish bore port one, index, finish bore port two without unclamping. A single clamped cycle removes the largest source of angular error.
- 88. Deburr, inspect and documentBreak edges at both ports, check the bend angle, port diameters and wall thickness at 0°, 45° and 90° around the bend. Record results before the part leaves the machine.
Which machine for which elbow
Tolerance figures reflect GreatLight process capability
| Elbow type | Best setup | Why | Watch out for |
|---|---|---|---|
| Small elbow, thick wall, 1–2 ports | 3-axis mill + Ø400 mm rotary table | Cheapest setup, angle comes from the table | Re-clamp error on the second port |
| Short-radius elbow, tight angle | 5-axis center, one clamp | Angle held by the machine, no re-datum | Boring bar hits the inner bend wall |
| Long leg elbow, up to 4,000 mm | Mill-turn or 5-axis with support | Long overhang needs support and turning | Chatter on the face, dished port |
| Thin wall under 3 mm | 5-axis, light radial passes | Even wall thickness around the bend | Bore goes oval, wall drifts at 45° |
| Large cast elbow with stock | 5-axis, wide soft jaw | Blank variation absorbed by probing | Re-datuming from the rough OD |
| Prototype, one piece | 3-axis mill, soft jaws | No fixture cost, fast to set up | Angle depends on operator skill |
The short version
If the elbow has a tight bend angle or a wall under 3 mm, machine it in one clamp on a 5-axis center. If it has thick walls and one bend angle, a 3-axis mill with a rotary table is cheaper. Everything else is cutting data and patience.
Questions engineers ask before quoting an elbow
Can you hold ±0.005 mm on a thin-wall elbow?
The machine can hold ±0.005 mm on the bore diameter. The limit is the part, not the machine. If the wall is under 2 mm, clamping pressure and residual stress will move the bore more than the tolerance.
On those parts we agree a realistic diameter tolerance up front, then control wall thickness around the bend as the primary requirement.
Do I need 5-axis, or will 3-axis work?
3-axis with a rotary table works well for small elbows with thick walls and a single bend angle. 5-axis wins when the bend is short-radius, the angle tolerance is tight, or you need both ports finished in one clamp.
If you are unsure, send the drawing and we will tell you which route is cheaper for your quantity.
How do you stop the bore going oval?
Light radial cuts, sharp tooling and a clamp that contacts the body over a wide area. Rough boring straight to size is the usual cause of an oval bore.
Leave 0.3–0.5 mm on the diameter for finishing and check roundness at 0° and 90° across the bend.
Which materials do you machine elbows in?
Aluminum 6061, 6061-T6, 7075 and 5083; stainless 304, 316, 316L and 17-4PH; steel 1018, 1045 and 4140; copper and brass including C36000; titanium TC4 and Inconel for special cases.
Material changes the cutting data and the number of passes. It rarely changes the setup plan.
Do you inspect every elbow before shipment?
Yes. We run a raw material check, in-process monitoring and a final inspection on 100% of parts before shipment. Inspection reports are available on request.
For elbows we record the bend angle, port diameters and wall thickness at the bend, since those are the features assemblies feel.
Can you take a one-off elbow prototype?
Yes. There is no minimum order quantity, from a single prototype to 10,000+ part runs. Quotation and DFM feedback come back within 12 hours, and production can start within 24 hours of approval.
Uploads stay confidential, and an NDA is available on request.
Send us the elbow drawing
Upload a STEP file and we will come back with a DFM note and a quote within 12 hours. No minimum order quantity, and 100% inspection before shipment.
12-hour quote100% inspectionNo MOQNDA on request