← ArticlesMachine Screws, Cap Screws and Set Screws: Metric Hex and Hex Flange Head DimensionsEngineering · Machine DesignLesson 25/53← PrevNext →
GuidePublished 14 Aug 202615 min readBy Kevin JoginMachine DesignFasteners and JointsMachine ScrewsCap Screws and Set Screws

Engineering · Machine Design · Fasteners and Joints

Machine Screws, Cap Screws and Set Screws: Metric Hex and Hex Flange Head Dimensions

Engineering handbook for machine screws, cap screws and set screws, covering metric hex and hex flange head dimensions, recommended nominal screw lengths...

Executive summary

This handbook section converts the supplied engineering material into a practical, source-controlled reference. It concentrates on the following learning outcomes.

Metric Hex and Hex Flange Head Dimensions
Recommended Nominal Screw Lengths (Metric)
Clearance Holes for Metric Machine Screws
Header Points for Metric Machine Screws
British Standard Machine Screws: The Metric Series (BS 4183:1967)
Material Properties

Metric Hex and Hex Flange Head Dimensions

Hex Head:

Screw Size & Pitch Body Dia. (Max) Hex Width Across Flats (Max) Hex Width Across Corners (Min) Head Height (Max) Head Height (Min)
M2 × 0.4 2.00 3.20 3.38 1.6 1.3
M3 × 0.5 3.00 5.00 5.40 2.3 2.0
M4 × 0.7 4.00 7.00 7.59 3.0 2.6
M5 × 0.8 5.00 8.00 8.71 3.8 3.3
M6 × 1 6.00 10.00 10.95 4.7 4.1
M8 × 1.25 8.00 13.00 14.26 6.0 5.2
M10 × 1.5 10.00 16.00 17.62 7.5 6.5
M12 × 1.75 12.00 18.00 19.86 9.0 7.8

All dimensions in millimeters per ANSI/ASME B18.6.7M-1985.

Hex Flange Head:

Screw Size & Pitch Hex Across Flats (Max) Hex Across Corners (Min) Flange Dia. (Max) Flange Dia. (Min) Overall Head Ht. (Min) Hex Ht. (Min) Flange Edge Thick. (Max)
M2 × 0.4 3.00 3.16 4.5 4.1 2.2 1.3 0.3
M3 × 0.5 4.00 4.27 6.4 5.9 3.2 1.9 0.4
M4 × 0.7 5.50 5.92 8.5 7.8 4.3 2.8 0.6
M5 × 0.8 7.00 7.55 10.6 9.8 5.4 3.5 0.7
M6 × 1 8.00 8.66 12.8 11.8 6.7 4.2 1.0
M8 × 1.25 10.00 10.89 16.8 15.5 8.6 5.6 1.2
M10 × 1.5 13.00 14.16 21.0 19.3 10.7 7.0 1.4

All dimensions in millimeters per ANSI/ASME B18.6.7M-1985.

Important: M10 size screws having heads with 15 mm width across flats are not ISO standard. Unless M10 size screws with 15 mm width across flats are specifically ordered, M10 screws with 16 mm width across flats will be furnished.



The following chart shows which screw lengths are recommended for which sizes. A signifies all head styles; P signifies pan head only; H signifies hex and hex flange head only.

Nom. Length (mm) M2 M2.5 M3 M3.5 M4 M5 M6 M8 M10 M12
2.5 PH
3 A PH
4 A A PH
5 A A A PH PH
6 A A A A A PH
8 A A A A A A A
10 A A A A A A A A
13 A A A A A A A A A
16 A A A A A A A A A H
20 A A A A A A A A A H
25 A A A A A A A H
30 A A A A A A H
40 A A A A H
50 A A A A H
60 A A A H
80 A A H
90 A H

Per ANSI/ASME B18.6.7M-1985. Lengths within recommended range are standard stock items.



Clearance Holes for Metric Machine Screws

Selecting the correct clearance hole is critical for assembly alignment and fastener performance.

Nom. Screw Size Close Clearance (mm) Normal Clearance (mm) Loose Clearance (mm)
M2 2.20 2.40 2.60
M2.5 2.70 2.90 3.10
M3 3.20 3.40 3.60
M3.5 3.70 3.90 4.20
M4 4.30 4.50 4.80
M5 5.30 5.50 5.80
M6 6.40 6.60 7.00
M8 8.40 9.00 10.00
M10 10.50 11.00 12.00
M12 13.00 13.50 14.50

Normal clearance is preferred. Values are minimum limits per ANSI/ASME B18.6.7M-1985 Appendix.

Recommended plus tolerances:

  • Clearance hole diameters over 1.70 to 5.80 mm: +0.12 (close), +0.20 (normal), +0.30 mm (loose)
  • Clearance hole diameters over 5.80 to 14.50 mm: +0.18 (close), +0.30 (normal), +0.45 mm (loose)


Header Points for Metric Machine Screws

Machine screws normally have plain sheared ends, but when specified, header points can be furnished:

Screw Size & Pitch Point Diameter (Max) Point Diameter (Min) Max Length for Header Point
M2 × 0.4 1.33 1.21 13 mm
M2.5 × 0.45 1.73 1.57 13 mm
M3 × 0.5 2.12 1.93 16 mm
M3.5 × 0.6 2.46 2.24 20 mm
M4 × 0.7 2.80 2.55 25 mm
M5 × 0.8 3.60 3.28 30 mm
M6 × 1 4.25 3.85 40 mm
M8 × 1.25 5.82 5.30 40 mm
M10 × 1.5 7.36 6.71 40 mm
M12 × 1.75 8.90 8.11 45 mm

Header points apply to nominal lengths shown or shorter. Longer lengths may require machining. All dimensions in mm per ANSI/ASME B18.6.7M-1985.



British Standard Machine Screws: The Metric Series (BS 4183:1967)

For engineers working with British-standard equipment or supplying components to UK-based operations, BS 4183 provides the metric machine screw framework. While marked as obsolescent (intended to eventually align with ISO standards), these specifications remain in widespread use for maintenance and replacement applications.


Material Properties

The materials from which BS 4183 screws and nuts are manufactured must meet minimum tensile strengths:

Material Min. Tensile Strength ISO Equivalent
Steel 40 kgf/mm² (392 N/mm²) Strength grade 4.8
Brass 32 kgf/mm² (314 N/mm²)
Aluminum Alloy 32 kgf/mm² (314 N/mm²)

Understanding the 4.8 strength grade designation:

First digit=Min. Tensile Strength (kgf/mm2)10=4010=4\text{First digit} = \frac{\text{Min. Tensile Strength (kgf/mm}^2\text{)}}{10} = \frac{40}{10} = 4

Second digit=110×Yield StressMin. Tensile Strength×100=110×3240×100=8\text{Second digit} = \frac{1}{10} \times \frac{\text{Yield Stress}}{\text{Min. Tensile Strength}} \times 100 = \frac{1}{10} \times \frac{32}{40} \times 100 = 8

Min. Yield Stress=4×8=32 kgf/mm2\text{Min. Yield Stress} = 4 \times 8 = 32 \text{ kgf/mm}^2


Thread Standard

BS 4183 screws use ISO metric coarse pitch series threads in accordance with BS 3643 Part 1. External threads conform to tolerance Class 6g (medium fit) and internal threads to Class 6H (medium fit).


Nominal Length Measurement

How you measure a machine screw's length depends on the head type:

Head Type Length Measured From Length Measured To
Countersunk head Upper surface of the head Extreme end of shank
Raised countersunk head Upper surface of head (excluding raised portion) Extreme end of shank
Pan and cheese heads Underside of the head Extreme end of shank

BS 4183 Countersunk Head Dimensions

Nom. Size Head Dia. (Max Theor. Sharp) Head Dia. (Min) Head Height (Max) Head Height (Min) Slot Width (Max) Slot Depth (Max)
M1 2.00 1.75 0.50 0.45 0.45 0.30
M1.6 3.20 2.80 0.80 0.72 0.60 0.48
M2 4.00 3.50 1.00 0.90 0.70 0.60
M2.5 5.00 4.38 1.25 1.12 0.80 0.75
M3 6.00 5.25 1.50 1.35 1.00 0.90
M4 8.00 7.00 2.00 1.80 1.20 1.20
M5 10.00 8.75 2.50 2.25 1.51 1.50
M6 12.00 10.50 3.00 2.70 1.91 1.80
M8 16.00 14.00 4.00 3.60 2.31 2.40
M10 20.00 17.50 5.00 4.50 2.81 3.00
M16 32.00 28.00 8.00 7.20 4.37 4.80
M20 40.00 35.00 10.00 9.00 5.37 6.00

All dimensions in millimeters per BS 4183:1967.


BS 4183 Pan Head Dimensions

Nom. Size Head Dia. (Max) Head Dia. (Min) Head Height (Max) Head Height (Min) Head Radius (Max) Slot Width (Max) Slot Depth (Max)
M2.5 5.00 4.70 1.50 1.36 1.00 0.80 0.90
M3 6.00 5.70 1.80 1.66 1.20 1.00 1.08
M4 8.00 7.64 2.40 2.26 1.60 1.20 1.44
M5 10.00 9.64 3.00 2.86 2.00 1.51 1.80
M6 12.00 11.57 3.60 3.42 2.50 1.91 2.16
M8 16.00 15.57 4.80 4.62 3.20 2.31 2.88
M10 20.00 19.48 6.00 5.82 4.00 2.81 3.60

All dimensions in millimeters per BS 4183:1967.


BS 4183 Machine Screw Nuts (Pressed Type)

Square and Hexagon Nuts:

Nom. Size Width Across Flats (Max) Width Across Flats (Min) Square Corners Hex Corners Hex Thickness (Max) Hex Thickness (Min)
M1.6 3.2 3.02 4.5 3.7 1.0 0.75
M2 4.0 3.82 5.7 4.6 1.2 0.95
M2.5 5.0 4.82 7.1 5.8 1.6 1.35
M3 5.5 5.32 7.8 6.4 1.6 1.35
M4 7.0 6.78 9.9 8.1 2.0 1.75
M5 8.0 7.78 11.3 9.2 2.5 2.25
M6 10.0 9.78 14.1 11.5 3.0 2.75
M8 13.0 12.73 18.4 15.0 4.0 3.70
M10 17.0 16.73 24.0 19.6 5.0 4.70

All dimensions in millimeters per BS 4183:1967.



British Unified Machine Screws (BS 1981:1953)

British Standard BS 1981:1953 covers machine screws and nuts where agreement has been reached with the United States and Canada for general dimensional interchangeability. All have Unified threads.


Covered Head Types

  • 80° Countersunk head
  • 80° Raised countersunk head
  • Pan head
  • Raised cheese head
  • Small hexagon head
  • Precision and pressed nuts (hexagon)

Unified Identification Markings

These screws and nuts carry distinguishing features to identify them as Unified:

  • Recessed head screws: A groove in the form of four arcs of a circle on the upper head surface
  • Hexagon head screws: One of three options—(1) circular recess on the head top, (2) continuous line of circles indented on one or more flats parallel to the axis, or (3) at least two contiguous circles on the head top
  • Pressed-type nuts: A groove indented on one face approximately midway between the thread major diameter and the nut flats
  • Slotted head screws: A circular recess or a raised circular platform on the head top

British Unified Countersunk Head Dimensions (80°)

Nom. Size Basic Dia. TPI (UNC) TPI (UNF) Head Dia. (Max) Head Dia. (Min) Head Depth (Max) Slot Width (Max) Slot Depth
#4 0.112 40 0.211 0.194 0.067 0.039 0.025
#6 0.138 32 0.260 0.242 0.083 0.048 0.031
#8 0.164 32 0.310 0.291 0.100 0.054 0.037
#10 0.190 24 32 0.359 0.339 0.116 0.060 0.044
1/4 0.250 20 28 0.473 0.450 0.153 0.075 0.058
5/16 0.3125 18 24 0.593 0.565 0.191 0.084 0.073
3/8 0.375 16 24 0.712 0.681 0.230 0.094 0.086
1/2 0.500 13 20 0.808 0.770 0.223 0.106 0.086
3/4 0.750 10 16 1.275 1.223 0.372 0.149 0.141

All dimensions in inches per BS 1981:1953.


Thread Length Rule for British Unified Screws

  • Unified countersunk and raised countersunk head screws: Screws 2 inches long and under are threaded right up to the head
  • Other Unified, BSW, and BSF machine screws: Screws 2 inches long and under have an unthreaded shank equal to twice the pitch
  • All screws longer than 2 inches: Minimum thread length of 1-3/4 inches


the practitioner's Transformation: The Systematic Selection Protocol

Six months after her 3 AM crisis, the practitioner's approach to machine screw specification had transformed completely. She developed a five-step protocol that eliminated screw selection errors across her entire design team:


Step 1: Define the Surface Condition

Flush required? → Flat countersunk (82° or 100°) or oval countersunk

Protruding acceptable? → Pan, hex, fillister, or truss head

Decorative finish needed? → Oval countersunk


Step 2: Determine the Drive Type

Manual assembly with screwdriver? → Slotted or cross recess (Type I/IA)

High-torque, cam-out sensitive? → Cross recess Type II (Pozidriv) or Type III (square)

Wrench or socket assembly? → Hex head


Step 3: Verify Thread Engagement

Calculate the minimum engaged thread length for your application. Ensure the screw length minus the unthreaded portion provides adequate engagement in the tapped hole or through the nut.

Lengaged=LscrewLunthreadedtwashertclearanceL_{engaged} = L_{screw} - L_{unthreaded} - t_{washer} - t_{clearance}

Where:

  • LscrewL_{screw} = Nominal screw length
  • LunthreadedL_{unthreaded} = Unthreaded body length (per thread length rules above)
  • twashert_{washer} = Washer thickness (if used)
  • tclearancet_{clearance} = Thickness of parts being clamped

Step 4: Check Clearance Geometry

Verify that the head diameter, head height, and slot depth don't interfere with adjacent components. This was the practitioner's original mistake. Pan head heights are significantly taller than flat countersunk heads for the same screw size.

Quick comparison for M4 screws:

Parameter Flat Countersunk Pan Head Hex Head
Head Diameter 9.4 mm 8.0 mm 7.0 mm
Head Height 2.7 mm 2.4 mm (slotted) 3.0 mm
Sits Flush? Yes No No
Profile Above Surface 0 mm 2.4 mm 3.0 mm

Step 5: Specify Completely

Use the standard designation format. Never order a machine screw by size alone. Always specify:

  1. Nominal size and thread (e.g., M4 × 0.7 or 1/4-20)
  2. Nominal length
  3. Head type and drive type
  4. Material and property class
  5. Protective finish (if required)

Complete specification example:

M6 × 1 × 25 Type IA Cross Recessed Pan Head Machine Screw, Class 4.8 Steel, Zinc Plated



The Standards Cross-Reference

Machine screw standards don't exist in isolation. Here's the complete cross-reference map:

Standard Coverage
ANSI B18.6.3-1972 (R1991) Inch-series slotted and recessed head machine screws, nuts, header points
ANSI/ASME B18.6.7M-1985 Metric machine screws: flat, oval, pan, hex, and hex flange heads
BS 4183:1967 (obsolescent) British metric machine screws and nuts (M1 to M20)
BS 1981:1953 British Unified machine screws and nuts (interchangeable with US/Canada)
BS 450:1958 (obsolescent) BSW and BSF thread machine screws
BS 3643 ISO metric screw threads—limits and tolerances
ANSI B1.13M Metric screw thread standard (M profile)
ANSI B1.1 Unified Inch Screw Threads (UN and UNR Thread Form)

Industry policy note: The British Standards Institution approved a 1965 policy statement urging British firms to regard Whitworth, B.A., and BSF threads as obsolescent, making ISO metric the first choice and ISO Unified (inch) the second choice for all future designs.



Engineering takeaway

When the practitioner finally received her correct M4 × 0.7 flat countersunk head screws three days later, she assembled the prototype in under an hour. The client deadline was met—barely. But the real lesson wasn't about the deadline.

The lesson was this: machine screw selection is an engineering decision, not a purchasing decision.

Every dimension in every table in this guide exists because someone, somewhere, needed that exact specification to make an assembly work. The tolerances exist because the difference between a 0.452-inch head diameter and a 0.507-inch head diameter is the difference between a screw that fits your countersink and one that sits proud by three thousandths.

Here's what to carry forward:

  • Head type is geometry, not preference. Each head exists for a specific engineering function. Match the head to your functional requirement, not your familiarity.
  • Thread length rules are screw-size-dependent. Don't assume a screw is threaded to the head. Check the thread length specification for your specific size and length combination.
  • Metric and inch standards are not interchangeable by eye. An M4 screw and a #8 screw look similar in a catalog. They are not the same. Verify your system before ordering.
  • Clearance holes have three tiers. Normal clearance is preferred. Close clearance restricts alignment adjustment. Loose clearance may not prevent bolt rotation.
  • Complete designation prevents errors. Size, pitch, length, head type, drive type, material, class, and finish. Every field matters.


Your Next Step

Print this guide. Pin the head type decision matrix to your design station. The next time you reach for a machine screw, you won't be guessing—you'll be engineering.

If you found this reference valuable, consider these companion topics for your fastener engineering library:

  • Torque-tension relationships for machine screws — understanding preload in small fastener applications
  • Self-tapping screws vs. machine screws — when to thread-form and when to use a tapped hole
  • Socket head cap screws — the high-strength alternative to slotted and recessed heads

What machine screw specification question has tripped you up in the past? The best engineering reference is the one that answers the question you're actually asking. Share your challenge—the answer might save someone else's 3 AM deadline.

Engineering use and verification

Begin with load paths, motion, interfaces and credible failure modes. Define duty cycle, environment, alignment, lubrication, manufacturing variation and maintenance access before choosing a component. Check static strength, fatigue, stiffness, heat, wear and fastening together because improving one constraint can worsen another. Record assumptions and verify the assembled system, not just catalogue ratings for isolated parts.

  • Confirm scope, assumptions, interfaces and required outcome.
  • Use one controlled unit system and show every conversion.
  • Identify current project, customer and regulatory requirements.
  • Separate source examples from mandatory acceptance criteria.
  • Check calculations, tables and selections by an independent method.
  • Verify safety, maintainability and credible failure modes.
  • Record evidence, revisions, approvals and unresolved limitations.
  • Validate the result under representative operating conditions.

Continue learning

Machine Screws, Cap Screws and Set Screws: Mechanical Properties Standards ReferenceGuide · Machine DesignNEXT LESSON →Self-Threading Screws, Thread Inserts and Hole Design: Every Type, Every Thread, Every ApplicationGuide · Machine DesignMachine Screws, Cap Screws and Set Screws — Part 4Guide · Machine DesignSelf-Threading Screws, Thread Inserts and Hole Design: BF and BT Hole SizesGuide · Machine Design