Clearance Hole Calculator

Find the hole a fastener passes through from its shank and head diameters.

Millimeters, centimeters and inches on all three boxes, result included.

Updated October 29, 2026
Frank Zhao - Creator
CreatorFrank Zhao
Loading calculator…

Introduction

A clearance hole is the opening a bolt or screw passes through so its thread never bites into the part being clamped: wide enough for the shank to slide, narrow enough that the head still presses on the surface around it.

This calculator takes the two diameters you can measure with calipers and returns the hole halfway between them. Enter the shank diameter and the head diameter and you get the clearance hole, with each box readable in millimeters, centimeters or inches.

It is a working rule rather than a catalogue lookup. Published fit tables choose the hole from the shank plus an allowance for the fit you want; this page anchors the hole to the head instead, so the answer always falls under the head on its own. That is what makes it useful with an unknown fastener — a bracket screw out of a parts bin, a hinge screw, a part you are about to print — where you have the bolt in hand but no chart for it.

The trade-off is worth knowing before you drill. The midpoint can be looser than a joint that has to hold position, and it can be far too big for a head that is designed to sink into the material. Both cases are worked through below, together with the one measurement that matters most: the head at its widest point.

mm, cm and in

Each diameter is read in the unit you measured it in

Two diameters

Shank and head, taken from the same fastener

200 mm ceiling

Wider results are flagged as a likely unit mistake

Quick start

1

Measure the shank

The diameter of the threaded part. A 6 mm bolt reads 6 mm across the shank and a 1/4-20 screw reads 0.25 in. Type what the calipers show rather than the size printed on the head: plated and rolled threads can measure a little over the nominal figure, and the hole should follow the metal, not the label.

2

Measure the head at its widest point

Across opposite corners for a hex head, the outer diameter for a socket cap, pan, button or flange head, and the full top diameter for a countersunk head. Across the flats is the narrower measurement — on a regular hexagon it is about 13% less than across the corners — and the hole comes out tighter for it.

3

Enter both diameters

Nothing is worked out until both boxes hold a value, because the midpoint of one number does not exist. If the head measures narrower than the shank, both boxes say so: that is a fastener without a real bearing head rather than a hole to drill.

4

Read the hole and compare it with the head

A 5 mm shank under an 8.5 mm head gives 6.75 mm, and the arithmetic is the whole rule:

CH\mathrm{CH}==D+DH2\frac{\mathrm{D} + \mathrm{D_H}}{2}==5+8.52\frac{5 + 8.5}{2}==6.75 mm6.75\ \mathrm{mm}

That leaves 1.75 mm of play around the shank and 1.75 mm of bearing surface on each side of the head, because a midpoint is symmetric by definition. Read the same hole in inches and it is 0.265748 in.

Compare the number with the bits you own before committing. Metric sets rarely contain the exact answer, so 6.75 mm becomes a choice between 6.5 mm and 7 mm, and the difference shows as a closer or looser pass rather than as anything the page can decide for you. For a bracket, either works; for two holes that have to line up, decide deliberately.

The midpoint formula

One average, three numbers: the shank diameter, the head diameter and the hole between them.

CH=D+DH2\mathrm{CH} = \frac{\mathrm{D} + \mathrm{D_H}}{2}
D\mathrm{D}Fastener diameter: the shank or thread size you measured with calipers.
DH\mathrm{D_H}Fastener head diameter, measured across the widest part of the head.
CH\mathrm{CH}Clearance hole: the result, the diameter you drill.

Because the hole is the average of two numbers, it sits strictly between them whenever the head is wider than the shank. That single property does the job a clearance hole has to do: the thread passes through untouched, and the head cannot pull through the opening.

The same identity, rearranged

D\mathrm{D}==2 CH−DH2\,\mathrm{CH} - \mathrm{D_H}\qquadDH\mathrm{D_H}==2 CH−D2\,\mathrm{CH} - \mathrm{D}

On this page the hole is always worked out from the two diameters you enter, so the rearrangements are for the case where you already have a hole and want to know what fits it: a 6.75 mm hole below an 8.5 mm head implies a 5 mm shank, and the same 6.75 mm hole with a 5 mm shank implies an 8.5 mm head.

Units are converted before the average

Each diameter is read in the unit chosen for its own box and converted to one common length before the two are averaged, so a shank measured in millimeters and a head measured in inches still produce a meaningful midpoint. A 0.6 cm shank and a 0.4 in head meet at 8.08 mm. The conversion factors are the exact definitions — 25.4 mm to the inch — so 0.375 in is 9.525 mm with nothing lost in the change.

What the formula does not include

Four things the arithmetic does not see

  • The fit allowance. Published tables select the hole from the shank and a close, normal or loose allowance. The head plays no part there, and it plays the whole part here.
  • Drill and hole tolerance. A drill cuts a little over its nominal size, and plating, paint or anodizing take a little of the hole back.
  • Washers and flanges. A washer under the head behaves like a larger head, so the midpoint you calculated is no longer the one that caps the hole.
  • Countersinks and material thickness. A flush head sinks into the part, and a thin sheet gives the head very little to bear on.

Worked examples

Three fasteners that behave differently in the same formula. The first two are ordinary bearing heads; the third is the case where the midpoint stops being the hole you want.

1

Metric socket head in a steel bracket

Situation: A 6 mm socket head cap screw holds a bracket to a frame. Calipers read 6.0 mm across the shank and 10.0 mm across the head.

Entered

Fastener diameter6 mm
Head diameter10 mm

Result

CH\mathrm{CH}==6+102\frac{6 + 10}{2}==8 mm8\ \mathrm{mm}

In practice: An 8 mm bit matches the result. A 5/16 in bit is 7.94 mm, within a tenth of a millimeter, if that is the set you have. With a 10 mm head the hole leaves a 1 mm ring of bearing surface all round — enough to seat, not enough to be generous.

2

Inch bolt in a wooden jig

Situation: A 1/4-20 hex bolt passes through a hardwood jig. The shank measures 0.25 in and the head 0.5 in across the corners.

Entered

Fastener diameter0.25 in
Head diameter0.5 in

Result

CH\mathrm{CH}==0.25+0.52\frac{0.25 + 0.5}{2}==0.375 in0.375\ \mathrm{in}==9.525 mm9.525\ \mathrm{mm}

In practice: That is a 3/8 in bit, and it leaves 1/16 in of slack on each side — a loose pass for a bolt that size. The looseness comes from the wide hex head, not from the thread. If the jig has to hold position, drill just over the shank instead and check that the head still covers the hole.

3

Countersunk screw in a hinge

Situation: An M4 countersunk machine screw holds a hinge leaf. The shank is 4 mm and the head measures 8 mm across the top.

Entered

Fastener diameter4 mm
Head diameter8 mm

Result

CH\mathrm{CH}==4+82\frac{4 + 8}{2}==6 mm6\ \mathrm{mm}

In practice: The head of a countersunk screw is meant to sit inside the material, so it does not cap the hole; the opening only has to let the thread through — a drill just over the shank, say 4.3 mm, and a countersink cut separately. The 6 mm midpoint is a generous free-pass size, not the hole for a flush head.

Practical tips

Measure across the corners, not the flats

A hex head measured between two parallel faces comes out about 13% narrower than across its corners. On an 8.5 mm head that is roughly half a millimeter off the hole, enough to feel when the fastener goes in.

One fastener, two numbers

The page checks that the head is wider than the shank; it cannot know whether the two measurements came from the same screw. Pair one fastener with another head and the midpoint is still arithmetically valid and practically meaningless.

Decide the fit before you drill

The same bolt may need a snug hole in a jig and a free one in a bracket. Choose the play you want first, take the hole from the shank plus that play, then use this calculator to confirm the head still covers it.

Round to a bit you actually own

Going up from the result loosens the pass; going down tightens it, and a long bolt can bind in a hole that is only a little under size. For a single bracket either is fine, but write the bit you used next to the fastener size.

Questions

Q

Why is the hole so much bigger than the bolt?

Because the head is inside the formula. A 5 mm shank under an 8.5 mm head returns 6.75 mm, which is 1.75 mm of clearance on each side — a free-pass hole rather than a locating fit. If the joint has to hold position, choose the hole from the shank and the play you want, then use this page only to confirm that the head still covers the opening.

Q

Can I enter a hole size and get the matching fastener?

The hole is always the result here, computed from the two diameters you measured, so this page runs in one direction. The identity runs both ways, though, so one subtraction answers the reverse question:

D\mathrm{D}==2 CH−DH2\,\mathrm{CH} - \mathrm{D_H}

A 6.75 mm hole under an 8.5 mm head implies a 5 mm shank, and the same hole beside a 5 mm shank implies an 8.5 mm head.

Q

What happens if the head is narrower than the shank?

Both boxes are flagged, and the hole still shows the midpoint — which would be wider than the head, defeating the purpose. That combination is not a fastener with a bearing head: think of a stud, a set screw, or a number typed into the wrong box. Measure again, and use the shank diameter as your reference until the two figures make sense together.

How far to trust it

  • The midpoint is not a standard fit class. Published clearance-hole tables pick the hole from the shank plus an allowance for a close, normal or loose fit. This page does not use those tables, so on a drawing, a customer specification or a joint that must locate, take the allowance from the applicable table and treat this result as a cross-check on the head.
  • No tolerance is modeled. Drills cut slightly oversize, plating and coating take material back, and a printed hole shrinks as the part cools. Where the fit matters, leave your own allowance on top of the number.
  • The head measurement is yours to make. Across corners and across flats disagree, a washer or flange behaves like a wider head, and a countersunk head does not cap the hole at all.
  • A hole you already have cannot be checked here. The result is always worked out from the two diameters, so compare an existing opening by eye or with the reverse subtraction above.
  • Results above 200 mm are flagged. No common fastener head is that wide, so the warning almost always means a unit slip or a misplaced decimal point. The number stays visible so you can see what went wrong and correct the input.
  • This is not a structural design tool. For lifting equipment, anchors, pressure parts or any safety-critical joint, follow the engineering drawing and have the joint reviewed by a qualified engineer.
Clearance Hole Calculator - Hole Size for Bolts and Screws