5-40 tap speeds and feeds
A 5-40 tap feeds one pitch per turn: 0.0250 in (1 ÷ 40 TPI) per rev. With a general-purpose HSS tap, start near 2,140 RPM and 53.5 IPM in 6061 aluminum, or 610 RPM and 15.3 IPM in mild steel.
UNC thread · major Ø 0.1250 in · tap drill #38 (0.1015 in) for a cut tap, #33 for a form tap.
5-40 tapping speeds by material
Cut tap = general-purpose HSS tap. Form tap = OSG form (roll) taps. RPM rounded to 10; IPM = RPM ÷ 40. Start at the low end.
| Material | Cut SFM | Cut RPM | Cut IPM | Form SFM | Form RPM | Form IPM |
|---|---|---|---|---|---|---|
| Aluminum 6061 / 7075 | 70–90 | 2,140–2,750 | 53.5–68.8 | 65–115 | 1,990–3,510 | 49.8–87.8 |
| Free-machining / mild steel (12L14, 1018) | 20–40 | 610–1,220 | 15.3–30.5 | 50–115 | 1,530–3,510 | 38.3–87.8 |
| 4140 alloy steel (annealed to <35 HRC) | 20–30 | 610–920 | 15.3–23.0 | 50–85 | 1,530–2,600 | 38.3–65.0 |
| 304 / 316 stainless | 10–20 | 310–610 | 7.75–15.3 | 15–40 | 460–1,220 | 11.5–30.5 |
| Tool steel (A2, D2, O1, H13, P20) | 15–25 | 460–760 | 11.5–19.0 | 8–25 | 240–760 | 6.00–19.0 |
| Gray / ductile cast iron | 15–30 | 460–920 | 11.5–23.0 | Not listed | Not listed | Not listed |
| Brass / bronze | 60–100 | 1,830–3,060 | 45.8–76.5 | Not listed | Not listed | Not listed |
| Titanium (6Al-4V, CP) | 5–15 | 150–460 | 3.75–11.5 | 8–15 | 240–460 | 6.00–11.5 |
| Plastics and composites (acetal, nylon, G-10) | 50–70 | 1,530–2,140 | 38.3–53.5 | Not listed | Not listed | Not listed |
Not listed = no form-tap value in the cited tables (OSG lists no form tap for cast iron; brass and plastics are not in its form-tap table).
Premium coated cut taps on a rigid CNC
OSG's starting speeds for its premium HSS-E cut taps (A-Tap family and the titanium/stainless taps it names) are higher than the general-purpose row. Use them only with that class of tap and rigid tapping.
| Material | OSG row | SFM | RPM | IPM |
|---|---|---|---|---|
| Aluminum 6061 / 7075 | Aluminum alloys | 70–120 | 2,140–3,670 | 53.5–91.8 |
| Free-machining / mild steel (12L14, 1018) | Carbon steels <35 HRC | 80–120 | 2,440–3,670 | 61.0–91.8 |
| 4140 alloy steel (annealed to <35 HRC) | Alloy steels <35 HRC | 35–65 | 1,070–1,990 | 26.8–49.8 |
| 304 / 316 stainless | Stainless 300 & 400 series <35 HRC | 15–75 | 460–2,290 | 11.5–57.3 |
| Tool steel (A2, D2, O1, H13, P20) | Alloy, tool & die steels 30–40 HRC | 15–30 | 460–920 | 11.5–23.0 |
| Gray / ductile cast iron | Cast iron | 50–120 | 1,530–3,670 | 38.3–91.8 |
| Titanium (6Al-4V, CP) | Titanium alloys <35 HRC | 15–20 | 460–610 | 11.5–15.3 |
Worked example: 5-40 in 6061 aluminum
- Surface speed: 70 SFM (low end of 70–90 for a general-purpose HSS tap).
- RPM = 3.82 × SFM ÷ D = 3.82 × 70 ÷ 0.1250 ≈ 2,140 RPM.
- Feed per rev = pitch = 0.0250 in (1 ÷ 40 TPI).
- IPM = RPM ÷ TPI = 2,140 ÷ 40 = 53.5 IPM.
G84 tapping code for 5-40
Rigid tapping, aluminum numbers from the example, inch (G20), depth 1.5 × D. Check your control's manual before running.
Fanuc rigid tap (M29)
(5-40 TAP - RIGID)
G20 G17 G40 G80 G90
T5 M06
G54 G00 X0. Y0.
G43 H05 Z1.0 M08
M29 S2140 (RIGID TAP MODE; M-CODE SET BY PARAMETER)
G98 G84 Z-0.19 R0.1 F53.50
G80 M09
G91 G28 Z0.
M30Haas rigid tap
G20 G00 G90 G54 X0. Y0.
G43 H05 Z0.1 M08
G84 Z-0.19 R0.1 F53.50 S2140 (NO M03 NEEDED)
(PECK: ADD Q = PECK DEPTH; J2 = RETRACT 2X, SEE SETTING 130)
G80 G00 Z1. M09Floating / tension-compression holder
Without rigid tapping, run G84 with the spindle on (M03 S2140) and the same F53.50 feed, but hold the tap in a tension-compression holder: it absorbs the overrun when the spindle stops and reverses. Leave the holder room to float at the bottom, so program the depth a little short and follow the holder maker's setting.
- Peck tapping (Q) clears chips in deep or blind holes in stainless and 4140; skip it in aluminum unless chips pack.
- Left-hand 5-40-LH taps use G74 instead of G84.
- If the control caps rigid-tap RPM, lower S and recompute F: F = S ÷ 40.
Notes for this size
- 5-40 is a small tap: breakage, not speed, is the limit. Use 60–65% thread, a spiral-point tap in through holes, and a holder with torque protection if you tap by hand-fed spindle.
- 4140 alloy steel (annealed to <35 HRC)
- Prehardened 4140 (28–32 HRC) is at the top of this band: use the low end and 50–65% thread.
- 304 / 316 stainless
- Work-hardens: never let the tap dwell or rub, and use a tap made for stainless. 60–65% thread cuts torque sharply.
- Tool steel (A2, D2, O1, H13, P20)
- Values are for annealed or prehardened stock. Tap before heat treat whenever you can; hardened tool steel needs a thread mill or a carbide tap.
Hole and tools for 5-40
- Tap drill, cut tap 75%: #38 (0.1015 in) · #38 drill size and speeds
- Form tap drill (65%): #33 (0.1130 in) · #33 drill size and speeds
- 50% thread drill for hard or gummy stock: 7/64" (0.1094 in)
Common questions
- What RPM for a 5-40 tap?
- RPM = 3.82 × SFM ÷ D with D = 0.1250 in. With a general-purpose HSS tap that is about 2,140 RPM in 6061 aluminum (70 SFM) and 610 RPM in mild steel (20 SFM). Premium coated taps on a rigid CNC can run faster; see the second table.
- What is the feed rate for a 5-40 tap?
- Feed per revolution equals the pitch: 0.0250 in (1 ÷ 40 TPI). IPM = RPM ÷ 40, so at 2,140 RPM the feed is 53.5 IPM.
- How fast can I run a 5-40 form (roll) tap?
- OSG lists 65–115 SFM for form taps in aluminum alloys, which is 1,990–3,510 RPM for 5-40. Form taps need a larger hole: about #33 (0.1130 in).
- What speed for a 5-40 tap in stainless steel?
- General-purpose HSS taps: 10–20 SFM, or 310–610 RPM at 7.75–15.3 IPM. Keep the tap cutting and use 60–65% thread to cut torque.
Nearby sizes
Sources
- Productivity Inc. tool catalog, Tech Info - Taps: General Purpose & Other Tap Speeds (pp. 405-416)
- OSG USA, A Brand & Premium Tooling Recommendation Guide Vol. 4 (Threading and Drilling), EDP 800313CA-V4, 2026
- Haas Automation, G84 Tapping Canned Cycle (Group 09), mill G-code reference
- Thread dimensions and tap drills: Machinery's Handbook, 31st ed.; ASME B1.1 Unified Inch Screw Threads.
SFM ranges are copied from the tables above; RPM and feed are computed for 5-40 (D = 0.1250 in). Speeds are starting values: your tap maker's data, coolant and machine come first.
Put your skills on a free talent profile
Machines, controls, certs and saved calculations in one profile shops can find.
Create free profileStart a 14-day shop trial
Running a shop? Start a 14-day JobLine trial — shift handoffs and a live work-order board, from $49/mo.
Start 14-day trialGet new shop tools & tips by email
New calculators, charts and shift-handoff tips, about twice a month. The calculators stay free either way.