M4 Thread Size Guide: Dimensions Chart, Tap Drill Size and Hole Sizes

Table of Contents

This article focuses on one of the most common small-size threads—the M4 thread size, also known as the M4 metric thread.

We’ll walk you through its dimensions, drilling requirements, and practical application tips to help improve assembly efficiency and machining accuracy.

Understanding metric thread dimensions is key to achieving precision fits and smooth fastening performance.

M4 Thread Dimensions Chart (Quick Reference)

ItemM4 coarse (M4×0.7)M4 fine (M4×0.5)
Nominal (major) diameter4.000 mm4.000 mm
Pitch0.7 mm0.5 mm
Pitch diameter (basic)3.545 mm3.675 mm
Minor diameter, internal thread (D1, basic)3.242 mm3.459 mm
Minor diameter, external thread (d3, basic)3.141 mm3.387 mm
Tap drill size (cut tap)3.3 mm3.5 mm
Tap drill size (forming / roll tap)3.7 mm3.8 mm
Clearance hole (ISO 273 fine / medium / coarse)4.3 / 4.5 / 4.8 mm4.3 / 4.5 / 4.8 mm

M4 coarse (M4×0.7) is the standard thread; when a drawing says only “M4”, it means 0.7 mm pitch. The fine pitch M4×0.5 is less common and used mainly in thin walls and precision instruments. Basic dimensions are from ISO 724; actual limits depend on the tolerance class, for example 6H for nuts and tapped holes and 6g for screws.

1. Basic Parameters of M4 Thread (Based on ISO 724:2023)

Thread ParameterValue
Nominal Diameter (D)4.0 mm
Pitch (P)0.7 mm
Tapping Drill Diameter3.3 mm
Clearance Hole Diameter4.5 mm

Choosing the correct drilling diameter is essential in everyday machining.

The 3.3 mm tapping drill ensures sufficient material for forming full threads, while the 4.5 mm clearance hole allows the screw to pass through smoothly and engage with an internal thread on the other side.

For accurate internal threading, selecting the correct tap drill for M4 threads ensures proper thread engagement and strength.

2. Explanation of Key Thread Dimensions

1. Major Diameter

The largest diameter across the thread crests. It determines the external contour of the bolt or threaded hole and is a key indicator for fit.

2. Minor Diameter

The smallest diameter between the thread roots. It directly affects thread strength, especially in load-bearing or frequent disassembly applications.

3. Pitch Diameter

The theoretical neutral surface of the thread where most engagement occurs. Poor fit is often due to mismatched pitch diameters.

4. Pitch

The standard pitch for M4 is 0.7 mm, which is the axial distance between two adjacent threads. Knowing the pitch helps confirm thread type and avoid mix-ups. The thread pitch for M4 threads plays a key role in matching fasteners and ensuring compatibility.

M4 Thread Explanation of Key Dimensions

For accurate internal threading, selecting the correct tap drill for M4 threads ensures proper thread engagement and strength.

3. Tapping and Clearance Hole Recommendations

Before tapping internal threads, pre-drill using a 3.3 mm tapping drill bit. This size accounts for cutting allowance and ensures full thread formation, suitable for most materials like steel, aluminum, and plastic.

If only a through-hole is needed (without threading), use a 4.5 mm clearance drill bit,which serves as a standard clearance hole for M4 screw applications.

M4 Thread Tapping Drill

This is typical for designs where a screw passes through one part and threads into another.

Tips: Adjust drill diameter slightly based on material hardness to prevent stripping or overly tight threads.

4. How to Identify an M4 Thread

M4 indicates a thread with a 4 mm nominal diameter and 0.7 mm pitch.

The full designation is written as M4×0.7, the standard M4 screw thread specification used on engineering drawings.

M4 Thread In Engineering Drawing

M4 Screw, Bolt and Nut Dimensions

PartKey dimensionValue
M4 socket head cap screw (ISO 4762 / DIN 912)Head diameter × head height7.0 mm × 4.0 mm
Hex key size3 mm
Counterbore for the headabout Ø8 mm × 4.4 mm deep
M4 hex bolt (ISO 4017)Width across flats × head height7 mm × 2.8 mm
M4 hex nut (ISO 4032)Width across flats × thickness7 mm × 3.2 mm
M4 flat washer (ISO 7089)Inner × outer diameter × thickness4.3 × 9 × 0.8 mm

M4 Compared With M3 and M5

ThreadPitch (coarse)Tap drillMedium clearance hole
M30.5 mm2.5 mm3.4 mm
M40.7 mm3.3 mm4.5 mm
M50.8 mm4.2 mm5.5 mm

Recommended M4 Thread Depth

For a tapped M4 hole, a full-thread engagement of about 1 × D (4 mm) is usually enough in steel, 1.5 × D (6 mm) in cast iron and brass, and 2 × D (8 mm) in aluminum and plastics. For blind holes, drill about 3–4 mm deeper than the full thread depth so the tap has room for its tapered lead and chips. More detail is in our guide to threaded holes.

5. Practical Machining Advice

When selecting a drill size for M4 tap, ensure it aligns with the material’s properties and thread depth requirements.

  • Use carbide or high-cobalt drill bits for improved efficiency.
  • Use taps with chip flutes to aid chip removal.
  • Apply a small amount of cutting oil before tapping to extend tool life.
  • After machining, use a thread plug gauge to inspect thread completeness and fit.

Proper CNC drilling for threaded holes also reduces tool wear and enhances repeatability in batch production.

FAQ

1. I want to use an M4 screw. What hole size should I design?

Do not use Ø4 mm. For M4 × 0.7 threads, the recommended tapping drill diameter is 3.3 mm. Ø4 mm is the major diameter of the M4 screw and doesn’t leave enough material for threading.

Refer to a standard tapping drill chart for M4 to verify recommended hole sizes before machining.

2. Should I model physical threads in 3D CAD?

Usually not necessary. Cosmetic threads are preferred.

Just clearly annotate thread specs in 2D drawings, e.g., M4 × 0.7 – 6H.

Modeling threads complicates the CAD model and can lead to manufacturing misunderstandings.

Be sure to check the required tapping depth for M4 thread based on the fastener length used.

3. What should I provide to the machine shop?

Provide two files:

1. STEP file (with only a 3.3 mm hole, no modeled thread)

2. 2D PDF drawing with full thread annotations

What is the pitch of an M4 thread?

The standard (coarse) pitch of M4 is 0.7 mm. A fine pitch of 0.5 mm also exists, written M4×0.5.

What size hole for an M4 screw to pass through?

Use a 4.5 mm clearance hole for general use, 4.3 mm for a close fit, or 4.8 mm for a loose fit, per ISO 273.

We machine threaded parts with tapped and thread-milled M4 holes every day, holding tight tolerances on hole position. See our CNC machining services in China and CNC machining tolerances.

Though small, the M4 thread is widely used in precision assemblies, electronics, and automation equipment.

Understanding its standard dimensions and machining practices not only improves product quality but also prevents rework and assembly issues.

How can CNCFirst help you?

If you have any questions about part design or thread machining, feel free to contact us.

With rich CNC machining experience, we provide end-to-end support from drawing optimization to final delivery.