A maintenance engineer orders 500 M6 x 20 pan-head screws for a guard rail. The shipment arrives, the screws thread in, but the guard sits 2 mm proud of the frame. The supplier measured from the top of the pan head to the tip; the drawing meant length under the head. That 2 mm is not a supplier error until the datum is written down. The practical answer is simple: for pan, button, hex, and socket-head screws, measure from the underside of the head to the tip. For countersunk screws, measure from the top of the head to the tip. For set screws, measure the overall length. Then confirm major diameter and thread pitch. This guide gives you the bench routine and the purchase checks that keep those three numbers aligned.
The Datum Rule: Where the Ruler Starts
Screw length is not one universal dimension. It is a distance between two agreed points. The head style decides the first point. The tip or blunt end decides the second. If the drawing says “20 mm” but not “under head” or “overall,” two competent people can measure two different screws and both be right.
| Head style | Measurement datum | Head included? | Typical use | Common error |
|---|---|---|---|---|
| Pan, button, hex, socket cap | Underside of head to tip | No | General assembly where the head sits on the surface | Including head height; screw arrives short |
| Countersunk or flat | Top of head to tip | Yes | Flush or recessed surfaces | Measuring under the head; screw arrives short |
| Set screw | End to end | No head | Recessed locking and adjustment | Measuring thread length only |
| Self-tapping, pan or hex | Underside of head to tip | No | Sheet metal, plastics, and wood | Confusing thread length with screw length |
| Self-drilling, pan or hex | Underside of head to drill tip | No | Metal-to-metal fastening | Stopping at the start of the drill point |
| Self-tapping, countersunk | Top of head to tip | Yes | Flush sheet metal work | Measuring under the head |
The table looks simple, but the error is common because the head is right there under the ruler. A pan head on an M4 screw is often around 2.4 mm high; a socket cap head can be around 4 mm. Those are not rounding errors in a purchase order. They are the difference between a joint that clamps and a joint that bottoms out or leaves a gap.
If you are specifying a pan-head self-tapping screw, the under-head datum is the one to put on the drawing.
Cross Pan Head Self-Tapping Locking ScrewsFor pan-head self-tapping specifications, this range lists M2–M10 sizes and 3–80 mm lengths with locking threads; check material compatibility and torque before release.View Product →A Three-Step Measurement Routine That Works on the Bench
Use a caliper for the final check, not a tape measure. A tape measure is fine for sorting a bin; it is not fine for releasing a batch. Work in this order:
- Identify the head style and write down the datum. “Under head” or “overall” must be explicit.
- Measure the major diameter across the thread crests. For a metric screw, an M6 should read close to 6 mm, but the actual value is usually slightly below nominal. Do not measure the unthreaded shank if the thread is rolled; the shank can be smaller.
- Measure length from the datum to the tip. For a blunt machine screw, measure to the end. For a self-tapping or self-drilling screw, measure to the point or drill tip. For a partially threaded screw, do not use thread length as screw length.
Take five to ten pieces from the batch. If the average is right but one piece is outside the drawing tolerance, the batch is not released. Calipers read to 0.01 mm, but production tolerances are wider; the instrument should be better than the tolerance, not the other way around.
Typical head height is small, but it changes the order
Figure 1: Illustrative head heights for M4 screws; actual values vary by standard, drive, and manufacturer. The bar shows the error you create if you measure over the head when the drawing calls for length under the head.
Diameter and Pitch: The Other Numbers That Make the Screw Fit
Length gets the screw to the joint; diameter and pitch get it to stay. Record these with the length:
- Nominal size: M6, M8, #10, 1/4-20. Nominal is a label, not a measurement.
- Major diameter: measured across the thread crests. For M6, expect slightly under 6 mm; for inch sizes, compare with the standard.
- Pitch or TPI: metric pitch is the distance between threads in millimetres, such as M6 x 1.0. Inch threads are stated as threads per inch, such as 1/4-20. Use a pitch gauge or measure over several threads and divide.
- Length and datum: under head, overall, or top of countersunk head.
- Head style and drive: pan, countersunk, hex flange, socket, TORX, or cross recess. The drive affects assembly, not length, but it belongs on the same drawing.
- Material and finish: stainless, zinc, or Dacromet. Plating adds microns, not millimetres, but the standard and inspection method still need to be agreed.
For machine screws, pitch must match the tapped hole. For self-tapping screws, pitch controls how the thread forms in sheet metal or plastic. A screw with the right length and the wrong pitch can feel tight at first and then strip the material. That is why a length-only purchase order is incomplete.
Purchasing Checks That Prevent a Wrong Batch
Put the datum on the purchase order, not only on the drawing. Write “M6 x 20, length under head” or “M6 x 20, overall length” and add the standard reference. If the supplier quotes from a catalog, ask which datum the catalog uses. For countersunk screws, the catalog length often includes the head; for pan-head screws, it often excludes it. Both can be correct.
Incoming inspection should check length, major diameter, pitch, head style, and finish in one pass. A caliper and a thread gauge are enough for most receiving checks; a go/no-go ring gauge is better for high-volume machine screws. Keep the sample size and acceptance criteria in the inspection plan. If you are sourcing self-tapping screws, the same discipline applies when purchasing high-quality self-tapping screws: agree the datum, the standard, and the inspection method before the quote is approved.
Stainless screws add a material variable. Grade, passivation, and galling behavior can change the assembly feel, but they do not change the length datum. A 410 stainless screw still needs the same under-head or overall measurement as a zinc-plated screw.
410 Stainless Steel Big Flat Head ScrewsWhen comparing stainless fasteners, this 410 stainless option lists big flat head, cross-slot machine threads and 2.2–14 size range; confirm grade and length datum.View Product →A Shop-Floor Checklist You Can Use Today
- Identify the head style before the ruler touches the screw.
- Write “under head” or “overall” on every drawing and purchase order.
- Measure major diameter across the thread crests, not the shank.
- Check pitch with a gauge or over multiple threads.
- Use calipers for release; use a tape measure only for sorting.
- Sample several pieces and record the actual readings.
- Match the standard: ISO, DIN, ANSI/ASME, or the customer drawing.
- Confirm the supplier’s catalog datum before approving the first article.
If you need a starting point for standard parts, review the self-tapping screw range and compare the head styles and dimensions against your drawing. The catalog is a reference; the drawing and the agreed datum are the release criteria.
The Number to Put on the Drawing
The reliable answer to “how do you measure a screw length” is not a single number. It is a datum. Countersunk heads include the head. Pan, button, hex, and socket heads exclude the head. Set screws use the overall length. Measure diameter across the threads and confirm pitch before you order. When the drawing, the purchase order, and the inspection plan all name the same datum, the 2 mm surprise disappears.










