Skip to content
Material Guide · 12 min read

Steel Grades for CNC Machining

1018, 1045, 4130, 4140, 4340, and 17-4 PH — mechanical properties, machinability, heat treatment effects, and exactly when to use each grade.

6
Steel Grades
4
Sections
HRC 28–54
Hardness Range
$0.40–7/lb ($0.9–15/kg)
Raw Material Cost

Picking the Right Steel Grade Matters More Than You Think

Specifying "steel" without a grade is the most common material callout mistake in CNC machining. The yield strength difference between 1018 and 4340 is 4×. The machinability difference between 1018 and 316 stainless is 6×. This guide gives you the engineering data to specify the right grade the first time — with full property tables, heat treatment effects, and exact drawing callout format.

Section 1 of 5

The AISI/SAE Numbering System

When you see a four-digit steel code on a drawing, those digits encode the alloy family and carbon content directly — and knowing how to read them saves you from specifying the wrong grade.

The AISI/SAE numbering system is the universal shorthand in US job shops. International equivalents exist under SAE J403 (US), EN 10083 (Europe, e.g., 42CrMo4 = 4140), and JIS G4053 (Japan, e.g., SCM440 = 4140).

10xx

Plain Carbon Steel

No significant alloying elements. The last two digits are carbon content × 100: 1018 = 0.18% C, 1045 = 0.45% C. Higher carbon = higher hardness but lower weldability.

41xx

Chromium-Molybdenum (CrMo)

Cr (0.80–1.10%) and Mo (0.15–0.25%) provide through-hardenability and high fatigue strength. 4130 and 4140 are the workhorse alloy steels for CNC machined shafts and gears.

43xx

Nickel-Chromium-Molybdenum

4340 adds Ni (1.65–2.00%) to the CrMo base for deeper hardenability, higher toughness, and ~15–20% higher fatigue endurance limit vs. 4140 at equivalent hardness. Required when section thickness exceeds ~3 in. (76 mm) for through-hardening.

17-4 PH

Precipitation-Hardening Stainless

Not an AISI 4-digit code — 17-4 PH is a proprietary designation (17% Cr, 4% Ni, Cu addition). Hardened by precipitation aging, not quench + temper. Combines stainless corrosion resistance with high strength.

Condition

Temper / Condition Suffix

Condition (annealed, normalized, pre-hardened) determines delivered properties. 4140 "PH" = Pre-Hardened to HRC 28–32. Annealed 4140 machines differently than pre-hardened. Always specify condition on drawings.

ASTM

ASTM Bar Stock Standards

Common specs: ASTM A108 (carbon steel bars), ASTM A193 (alloy steel fastener stock), AMS 6349 (4340 premium quality). Specify the ASTM/AMS standard when the application requires certified mechanical properties.

Pro Tip

The last two digits of any 10xx grade tell you the carbon content in hundredths of a percent. 1018 = 0.18% C (easy to weld, cannot through-harden). 1045 = 0.45% C (harder, more brittle, limited weldability). The inflection point for weldability is roughly 0.30% C — above that, preheat is required to prevent heat-affected zone cracking.

Section 2 of 5

Steel Grade Comparison Table

Your grade selection determines every downstream decision — machinability, heat treatment, cost, and whether the part survives its loading environment.

The table below shows mechanical properties in the most common supplied condition. UTS and yield values are for the condition as-machined or pre-hardened — not max achievable after heat treatment. Machinability rating compares how easily a material cuts relative to AISI B1112 free-machining steel (rated 100%) — a 78% rating means the grade machines at roughly 78% the speed of the baseline, translating to proportionally longer cycle times and higher per-part cost.

GradeConditionUTSYield StrengthElongationHardnessMachinabilityCost, $/lb ($/kg)
AISI 1018Cold-drawn400–480 MPa (58–70 ksi)350–390 MPa (51–57 ksi (352–393 MPa))15%HRB 71Excellent (78%)$0.40–0.70 ($0.88–1.54)
AISI 1045Cold-drawn565–650 MPa (82–94 ksi)490–560 MPa (71–81 ksi (490–558 MPa))12%HRB 96Good (57%)$0.50–0.80 ($1.10–1.76)
AISI 4130Normalized620–720 MPa (90–104 ksi)415–475 MPa (60–69 ksi (414–476 MPa))25%HRB 92Good (70%)$0.80–1.20 ($1.76–2.65)
AISI 4140Pre-hardened (HRC 28–32)965–1,070 MPa (140–155 ksi)860–930 MPa (125–135 ksi (862–931 MPa))17%HRC 28–32Good (66%)$0.90–1.40 ($2.00–3.09)
AISI 4340Normalized1,200–1,350 MPa (174–196 ksi)830–900 MPa (120–130 ksi (827–896 MPa))12%HRC 38–40Moderate (50%)$1.20–1.80 ($2.65–3.97)
17-4 PHCondition H9001,240–1,380 MPa (180–200 ksi)1,100–1,210 MPa (160–175 ksi (1103–1207 MPa))10%HRC 40Moderate (45%)$4.00–7.00 ($8.82–15.43)

* Machinability rating relative to AISI B1112 free-machining steel = 100%. All values from ASM Handbook Vol. 1 and supplier data sheets. Properties vary with bar diameter and heat.

Quote the Right Steel Grade for Your Part

MakerStage machines all six grades above — from 1018 cold-drawn bar to pre-hardened 4140 and 17-4 PH H900. Quote review can confirm material availability, hardness condition, and any drawing-callout questions before production starts.

Review Steel Grade Requirements
Section 3 of 5

Heat Treatment Effects on Mechanical Properties

If you specify a steel grade without specifying its heat treatment condition, the shop will deliver whatever is on the shelf — and the mechanical properties could be 50% lower than what your design requires. The same alloy can deliver wildly different properties depending on heat treatment. Before reading the table below, here are the key terms:

  • Hardenability — how deeply a steel can be hardened from the surface inward during quenching. High hardenability (4340) means the center of a 4 in. (101.6 mm) bar reaches full hardness; low hardenability (1018) means only the outer 0.030–0.060 in. (0.76–1.52 mm) hardens.
  • Through-hardening — heating the entire part above its critical temperature (~1,500°F / 1499°F (815°C) for 4140), then quenching in oil or water so the full cross-section transforms to martensite. Requires alloy steels (41xx, 43xx) with sufficient hardenability.
  • Case hardening (carburizing) — diffusing carbon into only the surface layer (typically 0.020–0.060 in. / 0.5–1.5 mm deep) to create a hard, wear-resistant shell around a tough, ductile core. Used on low-carbon steels like 1018 that cannot through-harden.
  • Q&T (Quench and Temper) — the two-step process: quench (rapid cool) to maximize hardness, then temper (reheat to 400–1,200°F / 392–1202°F (200–650°C)) to trade some hardness for ductility and toughness. Higher temper temperature = lower hardness but higher toughness.
  • Austenitizing — heating steel above its upper critical temperature so the crystal structure transforms to austenite (face-centered cubic). This is the starting point for all hardening — the subsequent cooling rate determines the final structure and hardness.
  • Normalizing — austenitizing followed by air cooling (not quenching). Produces a uniform, fine-grained structure with moderate strength — used to create a consistent starting point before further heat treatment or machining.

Here is what each condition means for 4140 — the most commonly heat-treated CNC steel.

ConditionProcessHardnessUTSYieldUse When
AnnealedSlow furnace coolHRB 85 max655 MPa (95 ksi)415 MPa (60 ksi (414 MPa))Maximum machinability, forming, or welding required
NormalizedAir cool from austenitizing tempHRB 961,020 MPa (148 ksi)655 MPa (95 ksi (655 MPa))Uniform grain structure, standard mechanical properties
Pre-Hardened (PH)Q&T to HRC 28–32HRC 28–32965–1,070 MPa (140–155 ksi)860–930 MPa (125–135 ksi (862–931 MPa))Ready-to-machine; no post-machine heat treat needed
Q&T (Fully Hardened)Quench + temper to specHRC 32–381,240 MPa (180 ksi)1,103 MPa (160 ksi (1103 MPa))Maximum mechanical properties; requires grinding after HT
NitridedGas/plasma nitride surfaceHRC 60+ surface, HRC 28 coreCore: 1,020 MPaCore: 896 MPaWear-critical surfaces: gears, cams, sliding components

Machine Before or After Heat Treatment?

The standard sequence for hardened steel parts is: rough machine → heat treat → finish grind to final tolerance. Heat treatment causes distortion (typically 0.001–0.003 in/in for 4140), so tight-tolerance features (bores, bearing seats, ground surfaces) should be left with stock for post-HT grinding. Pre-hardened 4140 eliminates this by delivering the part already at HRC 28–32.

Common Heat Treatment Mistake

Specifying "4140, hardened to HRC 52+" for a machined part with threaded holes and bored features is almost always a mistake. At HRC 52+, thread tapping becomes impractical and bore distortion requires grinding. For most CNC parts, HRC 28–38 (pre-hardened or lightly tempered) is the sweet spot.

Pro Tip

If you need HRC 28–32 and do not need post-machining heat treat, order pre-hardened 4140 bar stock. It eliminates the heat treatment step, reduces distortion risk, and ships faster than processed raw material. Most CNC job shops stock it.

Section 4 of 5

When to Use Each Grade

Start with 1018 as your default — it machines the fastest, costs the least, and welds without preheat. Upgrade to a higher alloy only when your stress analysis, fatigue requirements, or corrosion environment demands it. Each step up costs more to machine and procure.

ApplicationRecommended GradeWhyAvoid
Structural brackets, fixtures1018 Cold-DrawnEasy to machine, weld, and case-harden. Cost-effective for low-to-moderate loads.4340 (overkill — costs 3× more, machines harder)
Shafts, axles, couplings4140 Pre-HardenedHRC 28–32 provides fatigue resistance and surface hardness without post-machining HT.1018 (insufficient fatigue strength under cyclic bending)
Gears, pinions4140 or 4340 + case hardenThrough-hardenable core (tough) + carburized/nitrided surface (hard). Highest fatigue life and wear resistance among these grades.1018 (case-hardens, but core is too soft for high gear loads)
High-load structural (>150 ksi (1034 MPa) yield)4340 Q&TNickel addition enables deep hardenability in large cross-sections. Highest toughness at equivalent hardness among these grades.4140 (may not through-harden in sections > 3 in diameter)
Corrosion-resistant + high-strength17-4 PH H900Stainless corrosion resistance at 170 ksi (1172 MPa) yield — no surface treatment needed.4140 in corrosive environments (rusts without plating)
Weldable structural tubing4130 Normalized4130 welds without preheat at standard wall thicknesses. Stronger than mild steel, lighter wall possible.4140 (requires preheat/postheat; over-engineered for tubing frames)

Decision Rule

Start with 1018. If yield strength > 54 ksi (372 MPa) is needed, switch to 4140 PH. If fatigue life is critical (cyclic bending or torsion), use 4140 or 4340 + heat treat. If corrosion resistance is also required, use 17-4 PH H900. Each step up costs more to machine and procure — justify the upgrade with analysis, not instinct.

Section 5 of 5

Drawing Callout Format

Your material callout on the drawing is a contractual specification — if it is ambiguous or incomplete, the shop will substitute whatever is available and you may not catch it until parts fail. Use these exact formats to eliminate substitution risk.

1018 Cold-Drawn

AISI 1018 Steel, Cold-Drawn, ASTM A108

Add "Carburize and Harden per AMS 2759/7" if surface hardening required. Specify case depth (e.g., 0.030–0.040 in. / 0.76–1.02 mm) and surface hardness (e.g., HRC 58–62).

4140 Pre-Hardened

AISI 4140 Steel, Pre-Hardened to HRC 28–32 per ASTM A193 Gr B7

If further hardening is required post-machining, remove "Pre-Hardened" and add "Quench & Temper to HRC 32–36 after machining."

4340 Normalized

AISI 4340 Steel, Normalized per AMS 6415, UTS 180 ksi (1241 MPa) min

For critical applications, add "Certified Mill Test Report (MTR) required." Specifying UTS min protects against under-strength heat.

17-4 PH H900

17-4 PH Stainless Steel, Condition H900 per AMS 5604, UTS 190 ksi (1310 MPa) min

H900 has highest strength but lowest ductility (10%). For applications needing higher toughness at lower strength, specify H1025 (155 ksi (1069 MPa) UTS, 14% elongation).

Pro Tip

Always include the minimum UTS or yield strength on your drawing notes block when heat treatment is specified. Heat lots of alloy steel can vary — a minimum UTS callout ensures the shop performs hardness verification and rejects under-strength material before machining your part.

Further Reading

Common Questions

Frequently Asked Questions

Ready to Review Steel Options for Your Part?

Upload your CAD file to compare 1018, 4140, 4340, 17-4 PH, and stainless with engineer-reviewed quote feedback before you lock the material callout.

Review Steel Machining Quotes