IsoCNC logo — precision CNC machining from China

Steel Grades Explained: 1018 vs 1045 vs 4140 — How to Choose the Right Steel

The three most-specified steels on machining drawings, decoded: what the AISI numbers mean, how composition drives strength and machinability, and when a part genuinely needs 4140.

IsoCNC engineering team

IsoCNC Engineering Team

CNC Machining & DFM Engineers · Updated · 15 min read

CNC machining of 1018, 1045, and 4140 steel parts on a lathe

Quick Answer

AISI/SAE four-digit grade numbers tell you the alloy family and the carbon content: 10xx steels are plain carbon steels and 41xx steels are chromium-molybdenum alloys, with the last two digits giving carbon in hundredths of a percent. 1018 steel (0.18% C) is the soft, cheap, weldable default for shafts, pins, and fixtures. 1045 steel (0.45% C) is about 40% stronger and can be through- or induction-hardened for wear parts. 4140 steel (0.40% C plus chromium and molybdenum) is the high-strength option, typically supplied pre-hardened at 28–32 HRC with roughly double the yield strength of 1045. For maximum machinability in high-volume turning, 12L14 free-machining steel outperforms all three but cannot be welded or through-hardened.

How AISI/SAE Steel Grade Numbers Work

The four-digit AISI/SAE designation system is a shorthand for chemistry, and once you can read it, most steel callouts on a drawing explain themselves. The first two digits identify the alloy family; the last two digits give the nominal carbon content in hundredths of a percent. So 1018 is a 10-series steel with roughly 0.18% carbon, 1045 is a 10-series steel with roughly 0.45% carbon, and 4140 is a 41-series steel with roughly 0.40% carbon.

The 10xx series is plain carbon steel — iron, carbon, and manganese, with no deliberate alloying beyond that. It is the largest family and covers everything from 1008 sheet steel up through 1095 spring steel. The 41xx series is chromium-molybdenum alloy steel: chromium adds hardenability and wear resistance, molybdenum adds high-temperature strength and suppresses temper brittleness, and together they let the steel harden deeply and evenly in thick sections. Other families you will meet on drawings include 11xx and 12xx resulfurized free-machining steels, 43xx nickel-chromium-molybdenum steels, 86xx low-alloy nickel-chromium-molybdenum grades, and 52xx chromium bearing steels. For the broader metallurgical background on what separates these families, see our guide to alloy steel vs carbon steel.

Why does the last-two-digits rule matter so much for machining? Because carbon is the single biggest lever on a steel’s strength, hardness, and machinability. Below about 0.25% carbon, steel is soft, ductile, and readily weldable but cannot be through-hardened. Around 0.40–0.50%, it hardens meaningfully and machines respectably. That one number in the grade name — 18, 45, 40 — predicts most of how the material will behave on the machine and in service.

1018 vs 1045 vs 4140: Head-to-Head Comparison

These three grades cover the vast majority of steel parts we machine. 1018 is the baseline mild steel, 1045 is the stronger medium-carbon step up, and 4140 is the alloy grade for genuinely demanding loads. The table below puts composition, typical properties, and shop behavior side by side. Values for tensile and yield strength are representative of common bar conditions — cold-drawn for 1018 and 1045, annealed or quenched-and-tempered for 4140 — so always verify against the mill certificate for design-critical work.

AISI 1018 vs 1045 vs 4140 steel: composition, mechanical properties, and shop characteristics
PropertyAISI 1018AISI 1045AISI 4140
Steel familyLow-carbon (mild) steelMedium-carbon steelChromium-molybdenum alloy steel
Carbon content0.15–0.20%0.43–0.50%0.38–0.43%
Key alloyingMn 0.60–0.90%Mn 0.60–0.90%Mn 0.75–1.00%, Cr 0.80–1.10%, Mo 0.15–0.25%
Tensile strength (typical stock)~440 MPa (64 ksi), cold drawn~625 MPa (90 ksi), cold drawn~655 MPa (95 ksi) annealed; 850–1,100 MPa Q&T
Yield strength (typical)~370 MPa (54 ksi)~520–540 MPa (75–78 ksi)~415 MPa (60 ksi) annealed; far higher after Q&T
Hardness (as supplied)~120–130 HB~170 HB~170–197 HB annealed; 28–32 HRC pre-hard
Through-hardeningNo — carbon too lowYes, shallow depth; often induction-hardenedYes, deep hardenability from Cr and Mo
Case hardeningExcellent carburizing candidateNot typicalPossible, but usually Q&T instead
WeldabilityExcellent, no special procedureFair — needs preheat and controlled coolingPoor to fair — preheat and post-weld treatment advised
Machinability (vs AISI 1212 = 100%)~70%~60%~55–65% annealed; lower at 28–32 HRC
Relative material costLowestLow (+10–20% over 1018)Moderate (+50–100% over 1018)
Typical usesShafts, pins, studs, fixtures, weldmentsAxles, gears, bolts, crankshafts, machine partsHigh-stress shafts, gears, tool holders, die components

Read down the columns and a clear pattern emerges: moving from 1018 to 1045 to 4140, each step buys strength and hardenability at the cost of machinability, weldability, and price. There is no universally “best” grade here — only the cheapest grade that meets the part’s actual load, wear, and tolerance requirements. For grades beyond these three, our steel machining materials page covers the wider range we keep in production.

When to Upgrade to 4140 — and Why 28–32 HRC Pre-Hard Is the Default

4140 earns its premium when a part is genuinely stressed: heavily loaded gears and splines, axle shafts, spindle components, tool holders, hydraulic cylinder rods, and die and mold components. The chromium and molybdenum give it deep hardenability, so even thick sections develop high strength through the whole cross-section after quenching and tempering — something 1045, with its shallow hardenability, cannot do. In the quenched-and-tempered condition, 4140 delivers roughly 850–1,100 MPa tensile strength, close to double what 1045 offers, with better fatigue life and impact toughness on top.

In practice, most machined 4140 parts are made from pre-hard (pre-hardened) stock, quenched and tempered at the mill to 28–32 HRC. You machine it to final size with carbide tooling and ship it with no further heat treatment. That matters because heat-treating a finished part invites distortion — and on long shafts or tight-tolerance features, a few tenths of warpage can scrap the part. Machining pre-hard stock converts that heat-treat risk into slower, more predictable machining. The alternative route — machine annealed 4140 soft, then harden — is cheaper on the machine but adds a process step, a vendor, and dimensional risk.

Steel bar stock including 1018, 1045, and 4140 steel ready for CNC machining

How do the conditions compare? Annealed 4140 (170–197 HB) is the softest and easiest to machine; pre-hard at 28–32 HRC is the standard engineering condition for finished parts; and higher Q&T hardness levels of 45–52 HRC push you into grinding or hard-turning territory for wear surfaces only.

AISI 4140 mechanical properties by heat-treatment condition
4140 ConditionHardnessTensile StrengthShop Notes
Annealed170–197 HB~655 MPa (95 ksi)Softest, most machinable state; buy this if you will harden after machining
Normalized200–250 HBHigher than annealedMore uniform structure; moderately harder to machine
Pre-hard Q&T (general engineering)28–32 HRC~850–1,100 MPa (123–160 ksi)The default for finished machined parts; machines with carbide tooling
Q&T high strength45–52 HRCHigher stillGrind or hard-turn only; reserve for wear surfaces
As-quenched (reference)54–60 HRCMaximum, but brittleNever used in this state — always temper

A decision rule that holds up well: if 1045 meets the stress and wear requirements, use it — it is cheaper and easier to machine. Upgrade to 4140 when section size defeats 1045’s hardenability, when fatigue or shock loading is the design driver, or when the drawing demands hardness above about 30 HRC through the section. And when the part needs a hard wear surface over a tough core rather than bulk hardness, consider whether case hardening a cheaper grade solves the problem at lower cost.

Where 12L14 Free-Machining Steel Fits In

Any conversation about 1018 eventually runs into 12L14, because the two compete for the same parts. 12L14 is a resulfurized, rephosphorized, leaded carbon steel: sulfur at 0.26–0.35% and phosphorus at 0.04–0.09% break chips cleanly, and lead at 0.15–0.35% lubricates the cut. The result is the fastest-machining common steel bar — rated around 160% on the machinability scale where AISI 1212 is 100%, against roughly 70% for 1018. On a screw machine or CNC lathe running thousands of fittings, spacers, and connectors, that gap translates directly into cycle time, tool life, and surface finish.

Mechanically, 12L14 sits close to 1018 — low carbon, modest strength, no meaningful hardenability. The trade-offs are elsewhere: the lead and sulfur that make it machine so well also make it unsuitable for welding, give it poor transverse ductility, and rule it out wherever RoHS lead restrictions apply. Think of 12L14 as a manufacturing choice, not a design upgrade: when the part is simple, the loads are modest, and the volume is high, it is the cheapest path to the part. We cover the whole family, including unleaded alternatives, in our guide to free-machining steel.

One nuance worth knowing when you are comparing quotes: a shop that proposes 12L14 where you specified 1018 is usually not cutting corners — for non-welded, non-structural turned parts, the substitution is functionally neutral and saves real money. But the reverse substitution matters: never let 12L14 silently replace 1018 on a weldment or a safety-critical component, because the weldability and ductility penalties are real.

How to Specify These Grades on a Purchase Drawing

A steel callout that gets you exactly what you designed has three parts, and leaving any of them out is how shops end up quoting different materials against the same print.

1. Grade plus governing specification. “AISI 1045” alone is a chemistry, not a purchasable product. Pair the grade with the spec that defines form and quality — ASTM A29/A29M for hot-wrought bar, ASTM A108 for cold-finished bar, ASTM A576 for special-quality bar. A complete callout reads like: Steel, AISI 1045 per ASTM A108, cold drawn.

2. Condition and hardness. Condition changes properties as much as grade does. State whether you want hot-rolled, cold-drawn, annealed, or quenched-and-tempered stock, and for hardened material give a hardness range — “4140 Q&T, 28–32 HRC” is unambiguous, “hardened 4140” is not. If you intend to harden after machining, say so and call out the final hardness plus any case depth; our case hardening guide covers how to write those notes so a heat treater can execute them.

3. Certification. For anything beyond commodity parts, require a mill test report (material cert) with the shipment. It costs nothing at quote time and is the only reliable way to verify the chemistry and condition that arrived match the drawing. When we quote steel parts at IsoCNC, certs and condition are confirmed before material is cut — it is far cheaper than discovering a soft “pre-hard” batch after a thousand parts are machined.

Finally, resist the urge to over-specify. Calling 4140 pre-hard on a part that 1018 would serve adds material cost, machining time, and lead time with zero functional benefit. The grade table above exists precisely so you can stop at the cheapest grade that clears the requirement.

FAQ: 1018, 1045, and 4140 Steel

What is the difference between 1018 and 1045 steel?

Both are plain carbon steels in the AISI 10xx series, but 1018 carries 0.15–0.20% carbon while 1045 carries 0.43–0.50%. That carbon gap changes everything downstream: 1018 is softer (~120–130 HB), more ductile, easier to weld, and easier to machine, making it the default for shafts, pins, fixtures, and weldments. 1045 is roughly 40% stronger in tension (~625 MPa vs ~440 MPa), can be through-hardened or induction-hardened, and resists wear better — at the cost of slower machining and welding that needs preheat. Pick 1018 for general parts, 1045 when loads or wear demand it.

Can 1018 steel be heat treated?

Not in the conventional through-hardening sense — at 0.15–0.20% carbon there is simply not enough carbon to form significant martensite, so quenching 1018 barely changes its hardness. What 1018 does accept extremely well is case hardening: carburizing or carbonitriding diffuses carbon into the surface, giving a hard, wear-resistant case (typically 55–62 HRC) over a tough, ductile core. That is why 1018 is a classic choice for pins and shafts that need a hard surface but must survive bending loads. If you need bulk hardness through the section, move up to 1045 or 4140 instead.

Is 4140 steel hard to machine?

It depends entirely on the condition. Annealed 4140 at 170–197 HB machines reasonably well — roughly 55–65% on the AISI machinability scale where 1212 free-machining steel is 100% — with good chip formation and predictable tool life. Pre-hardened 4140 at 28–32 HRC is noticeably tougher: cutting speeds drop, rigid setups and carbide tooling become mandatory, and tool wear accelerates. Above 40 HRC you are effectively grinding or hard-turning. The practical rule: machine 4140 as close to final size as possible in the softest condition that still meets the drawing requirement.

What is 4140 prehard, and when should I use it?

4140 prehard (also written pre-hard or PH) is 4140 bar or plate that the mill has already quenched and tempered, most commonly to 28–32 HRC with tensile strength around 850–1,100 MPa. You machine it directly to final size and put it into service with no further heat treatment. Use it when the part needs full 4140 strength but cannot tolerate the distortion risk of hardening after machining — long shafts, thin sections, and tight-tolerance features are the classic cases. The trade-off is slower, more expensive machining. If tolerances are loose, machining soft and hardening afterward is cheaper.

How does 12L14 compare to 1018 steel?

12L14 is a resulfurized, rephosphorized, leaded free-machining steel: lead at 0.15–0.35% plus elevated sulfur (0.26–0.35%) and phosphorus give it a machinability rating near 160% of the 1212 baseline, versus about 70% for 1018. It is the fastest-machining common steel bar and the benchmark for high-volume turned parts. The catch: lead and sulfur hurt weldability and transverse ductility, so 12L14 is a poor choice for welded fabrications, high-stress structural parts, or anything RoHS-restricted. Mechanical strength is similar to 1018, so the choice is machinability versus weldability and cleanliness.

Which of these grades is best for shafts and gears?

For lightly loaded shafts, dowel pins, and general machine parts, 1018 is the economical default — and carburized 1018 handles wear surfaces well. When bending loads, torque, or fatigue climb, 1045 is the standard step up and accepts induction hardening on journals and teeth. For genuinely high-stress service — heavily loaded gears, axle shafts, tool holders, die components — 4140 quenched and tempered to 28–32 HRC delivers roughly double the yield of 1045 with far better toughness and fatigue life. If volume is huge and loads are modest, 12L14 minimizes cycle time and cost instead.

Not Sure Which Steel Grade Your Part Needs? Send the Drawing.

IsoCNC machines 1018, 1045, 4140, 12L14, and dozens of other steels every week — with mill certs, heat-treat documentation, and inspection reports on every lot. For parts that need a hard skin over a tough core, our case hardening guide covers when carburizing beats through-hardening. An engineer reviews every RFQ and will flag it if a cheaper grade meets your requirements, typically within 1–2 business days.