Bolts & Fasteners

M4 bolts explained with thread size, grades and installation checks

What an M4 bolt size actually means

An M4 bolt is a metric fastener with a nominal outside thread diameter of 4 mm. In general hardware and engineering use, the standard coarse thread is M4 x 0.7; the thread advances 0.7 mm for each full turn. The size is common in electronics, light machinery, brackets, 3D printer frames, instrument panels and small sheet-metal assemblies because it is compact but still capable of useful clamping force when installed correctly. A purchasing specification should not stop at “M4 bolts.” It should also state the thread pitch, length, head style, drive type, material, strength or property class, finish and whether the fastener will be used with a nut, a tapped hole or a threaded insert.

Catalogs often group true bolts used with nuts and machine screws used in tapped holes under the general term “M4 bolts.” That wording is common, but it can hide important differences in head geometry, load capacity and installation method. For related fastener topics, see the Bolts & Fasteners section.

gun, m4a1, ar-15, carbine, rifle, m16, colt, licensed, stamped, weapon, military, army, war, m4, ar15, machine, swat, black, firearms, warfare, soldier, brown army, brown war, brown gun

Key M4 bolt dimensions to check before ordering

The core M4 dimensions come from the ISO metric thread system. ISO 261 defines the general plan for ISO metric screw threads, while ISO 262 lists selected sizes for bolts, screws, studs and nuts. Public ISO records list ISO 965-1:2026 as the tolerance-system standard for ISO general purpose metric screw threads, published in April 2026. For most buyers, the practical point is straightforward: M4 usually means a 4 mm metric thread, and M4 x 0.7 is the standard coarse pitch most likely to match common nuts and tapped holes.

Item Common M4 value Why it matters
Nominal thread diameter 4 mm Identifies the metric thread size, not the head diameter.
Common coarse pitch 0.7 mm Used for most general M4 bolts, screws and nuts.
Common fine pitch 0.5 mm Less common; must be specified clearly as M4 x 0.5.
Typical tap drill for M4 x 0.7 3.3 mm Common workshop size for cutting an internal M4 coarse thread.
ISO 273 clearance holes 4.3 mm close, 4.5 mm normal, 4.8 mm large Allows the bolt to pass through the part without cutting threads.
Approximate inch diameter 0.157 in Useful for recognition, but not a substitute for an inch-series thread.

Thread pitch is a frequent source of ordering and repair mistakes. A nut made for M4 x 0.7 will not properly fit M4 x 0.5. The parts may begin to engage, but forcing them can damage both threads. When replacing an unknown screw, measure the outside diameter with calipers and confirm the pitch with a metric thread gauge or a known matching nut before ordering.

Length also needs careful reading. For most non-countersunk heads, including hex head, pan head, button head and socket cap screws, nominal length is measured from under the head to the end of the fastener. For countersunk flat head screws, nominal length is typically measured from the top of the head to the end because the head sits flush in the countersink. That difference is easy to miss and can matter in a compact M4 assembly.

Head styles and drive types are not interchangeable

M4 identifies the thread size only. The head style determines wrench access, installed height, bearing area, appearance and, in some cases, strength. ISO 4014:2022 covers hexagon head bolts with metric coarse pitch threads from M1.6 to M64, while ISO 4017:2022 covers fully threaded hexagon head screws in the same coarse-pitch range. ISO 4762:2004 covers hexagon socket head cap screws with coarse pitch thread from M1.6 to M64 and product grade A. These standards are not product recommendations, but they show why the head description must be part of the specification.

Head or fastener type Typical M4 use Selection note
Hex head bolt or screw Small brackets, frames and accessible joints Needs side clearance for a wrench or socket.
Socket head cap screw Machine parts, clamps, fixtures and compact assemblies Useful when a hex key is easier to access than an external wrench.
Button head screw Visible panels and low-profile covers Lower head height, but reduced loadability can apply by standard.
Countersunk screw Flush surfaces and sliding clearances Requires a matched countersink angle and good alignment.
Pan or cheese head machine screw Electronics, covers and light-duty panels Often chosen for bearing area and simple driver access.
Set screw Hubs, collars and knobs on shafts Not intended to clamp parts in tension like a bolt.

Low-profile heads can solve space or appearance problems, but they should not automatically be treated as equal to a full-strength socket cap screw. ISO 7380-1:2022 for hexagon socket button head screws and ISO 10642:2026 for hexagon socket countersunk head screws both describe reduced loadability related to head design. In plain terms, the head shape can become the limiting factor even when the thread size and material look strong on paper.

Material, grade and finish determine real performance

For M4 bolts, stronger is not automatically better. A high-strength carbon steel fastener can provide more tensile capacity than a low-strength fastener, but it can also strip soft aluminum, crack brittle plastic bosses or encourage over-tightening in small assemblies. ISO 898-1 covers mechanical properties for carbon steel and alloy steel bolts, screws and studs, while ISO 3506-1:2020 covers corrosion-resistant stainless steel bolts, screws and studs with specified grades and property classes. Public ISO information also notes that stainless fasteners conforming to ISO 3506-1 are evaluated at ambient testing temperatures and may not retain the same properties at elevated or low temperatures.

Common steel property classes include 4.8, 8.8, 10.9 and 12.9. A class such as 8.8 is a mechanical property designation, not a coating or material name. Higher classes are often used in machinery, but they may require matching nuts, controlled tightening and suitable joint design. For a small M4 screw in thin sheet metal, electronics housings or plastic inserts, the surrounding material often limits the joint before the fastener reaches its rated strength.

Stainless steel M4 bolts are frequently selected where corrosion resistance matters more than maximum tensile strength. A2 stainless is common for indoor, general outdoor and mildly corrosive conditions. A4 stainless is often chosen for more aggressive environments, including marine-adjacent or chloride-exposed settings, although suitability still depends on exposure, temperature and maintenance. Stainless-on-stainless joints can gall, especially if tightened quickly or repeatedly, so lubrication or anti-seize may be needed where the application allows it.

Finishes also change how the fastener behaves. Zinc-plated steel is widely used for economical indoor corrosion resistance. Black oxide offers limited corrosion protection unless oiled and is often selected for appearance. Hot-dip galvanizing is uncommon for small precision M4 hardware because coating thickness can interfere with fine thread fit unless the fastener system is designed for it. If the finish affects thread fit, do not assume an uncoated nut and coated bolt will assemble correctly without verification.

Choosing length, engagement and hole preparation

Good M4 joint design starts with the parts being clamped. Add the thickness of the joined parts, any washer thickness and the nut height or required threaded-hole engagement. In a nut-and-bolt joint, the bolt should normally extend far enough to fully engage the nut without leaving so much extra length that it interferes with moving parts, wiring or covers. In a tapped hole, the available thread depth is usually more important than total screw length.

A common engineering rule of thumb is to use at least one bolt diameter of thread engagement in steel and more engagement in softer materials such as aluminum or plastic. For M4, one diameter is about 4 mm. This is only a rule of thumb, not a replacement for a joint calculation, but it explains why short threads often fail in soft materials. Where repeated service is expected, threaded inserts can improve durability in aluminum, magnesium, plastics and printed parts.

Hole preparation is another common failure point. A clearance hole is larger than the thread outside diameter so the bolt can pass through freely and clamp against the mating part. ISO 273 identifies clearance hole series for bolts and screws; for M4, commonly used values are 4.3 mm for close fit, 4.5 mm for normal fit and 4.8 mm for a larger clearance fit. A close hole helps location but leaves less tolerance for misalignment. A normal or larger clearance hole makes assembly easier, especially when several M4 bolts must line up across a bracket or cover.

For tapped M4 x 0.7 holes, a 3.3 mm drill is the familiar cut-tap size. Form taps, thread-forming screws and special materials may require different pilot holes, so toolmaker guidance should be followed for production work. Blind holes need extra depth for the tap point and for debris clearance. If the screw bottoms out before clamping the parts, tightening torque will rise but the joint will not be properly loaded.

Torque should be treated as an engineering variable

Many M4 bolt failures come from over-tightening. The fastener is small, the thread area is limited and the difference between snug and stripped can be narrow in soft materials. Published torque charts can be useful references only when they match the property class, finish, lubrication, thread condition, nut material and joint design. A dry zinc-plated steel fastener, a lubricated stainless fastener and a screw driven into an aluminum tapped hole can require very different tightening approaches. See also: Fittings & Valves.

For non-critical covers, panels and brackets, consistent hand tightening with the correct driver may be enough. For machinery, safety-related equipment, vibration exposure or repeated assembly, a defined torque procedure and validation are more appropriate. Threadlocker can help resist loosening, but it changes removal effort and may interact with plastics or coatings. Lock washers, prevailing-torque nuts, flange nuts and thread-forming features each solve different problems; none should be added automatically without considering the joint.

Driver fit is part of torque control. Worn hex keys, incorrect Phillips bits or undersized Torx-style drivers can cam out or round the recess before the correct clamp load is reached. This is especially noticeable with stainless and small socket heads. In production, poor driver engagement can make the fastener look weak when the tool choice is the real problem.

Common specification mistakes with M4 bolts

The first mistake is ordering by diameter only. “M4 x 12” is better than “M4,” but it is still incomplete if the head type, pitch, material and finish matter. “M4 x 0.7 x 12 socket head cap screw, class 12.9, black oxide” is much clearer than “M4 bolt 12 mm.” For stainless hardware, a specification such as “M4 x 0.7 x 12 button head socket screw, A2-70” gives the buyer and installer a far better chance of matching the intended part.

The second mistake is mixing metric and inch-series hardware. An M4 thread is close in diameter to some inch screws, but it is not the same thread. A #8-32 screw, for example, is similar in diameter but uses an inch thread form and a different pitch. If parts resist assembly after one or two turns, stop and verify the thread instead of applying more force.

The third mistake is ignoring the mating material. A class 12.9 M4 socket screw may be appropriate in a steel fixture, but the same screw can damage a thin aluminum housing if tightened aggressively. Conversely, a decorative low-profile stainless screw may not be suitable where high clamp load is required. The joint should be specified as a system: fastener, mating thread, washer or bearing surface, tightening method and service environment.

The fourth mistake is assuming all M4 bolts use the same tool. External hex, hex socket, cross recess, slotted, six-lobe and combination drives all exist in M4 hardware. Tool access should be reviewed before the design is frozen, especially when the fastener sits inside a recess or close to a wall.

A practical M4 bolt specification checklist

  • State the thread as M4 x 0.7 unless a fine pitch such as M4 x 0.5 is required.
  • Specify nominal length and confirm whether the head is countersunk or non-countersunk.
  • Choose the head style for access, profile, bearing area and load requirements.
  • Identify the material and property class, such as carbon steel class 8.8 or stainless A2-70, when strength or corrosion resistance matters.
  • Define the finish, including zinc plating, black oxide, passivation or other coating requirements.
  • Use suitable clearance holes, commonly 4.3 mm, 4.5 mm or 4.8 mm depending on fit and alignment needs.
  • For tapped holes, verify the tap drill, thread depth and whether the tap is cutting or forming.
  • Confirm the tightening method if clamp load, vibration resistance or serviceability is important.

For most readers searching for M4 bolts, the right answer is not a single product name but a complete description. Start with M4 x 0.7, then choose the head, length, material, grade and hole design around the actual joint. That approach helps avoid the most common problems: wrong pitch, insufficient engagement, stripped soft threads, mismatched drivers and fasteners that fit the hole but do not suit the load.

Frequently asked questions

What size is an M4 bolt?

An M4 bolt has a nominal metric thread diameter of 4 mm. The common coarse thread is M4 x 0.7, meaning a 0.7 mm pitch. The head diameter varies by head style, so it should not be used to identify the thread size.

What drill size is used for tapping M4 x 0.7?

A 3.3 mm drill is the common tap drill for a cut M4 x 0.7 internal thread. This applies to typical workshop tapping, but form taps and special materials may require a different pilot hole.

What clearance hole should I use for an M4 bolt?

Common ISO 273 clearance hole values for M4 are 4.3 mm for close fit, 4.5 mm for normal fit and 4.8 mm for a larger clearance fit. Use a close fit for better location and a larger fit when assembly tolerance is more important.

Is M4 the same as #8 screw size?

No. M4 is a metric thread with a 4 mm nominal diameter. Some inch-series screws are similar in outside diameter, but the thread form and pitch are different. They should not be treated as interchangeable.

Are stainless M4 bolts stronger than steel M4 bolts?

Not usually when compared with high-strength alloy steel classes such as 10.9 or 12.9. Stainless M4 bolts are often chosen for corrosion resistance, while alloy steel grades are often chosen for higher mechanical strength. The correct choice depends on load, environment and mating material.