Grandpa Cad LogoGrandpaCAD
  • Language
    • 🇸🇮 Slovenian
    • 🇬🇧 English
    • 🇫🇷 Français
  • Tools
    • CAD AIUseful utility for 3D printing
    • Organic AIUseful utility for 3D printing
    • Thread & Tap SizesUseful utility for 3D printing
    • Tolerance & FitUseful utility for 3D printing
    • Stepper Motor VrefUseful utility for 3D printing
    • Acceleration CalculatorUseful utility for 3D printing
    • Filament ConverterUseful utility for 3D printing
    • Filament DryingUseful utility for 3D printing
    • Shrinkage CalculatorUseful utility for 3D printing
    • Spool CalculatorUseful utility for 3D printing
    • Print Cost CalculatorUseful utility for 3D printing
    • Resin Cost CalculatorUseful utility for 3D printing
    • E-Steps CalculatorUseful utility for 3D printing
    • Flow Rate CalculatorUseful utility for 3D printing
    • Volumetric Flow CalculatorUseful utility for 3D printing
    • Layer Height CalculatorUseful utility for 3D printing
    • All ToolsUseful utility for 3D printing
  • Learn
  • Pricing
  • Sign in
  • Sign up
Grandpa Cad LogoGrandpaCAD
  • Language
    • 🇸🇮 SlovenianUtility
    • 🇬🇧 EnglishUtility
    • 🇫🇷 FrançaisUtility
  • Tools
    • CAD AI
    • Organic AI
    • Thread & Tap SizesUtility
    • Tolerance & FitUtility
    • Stepper Motor VrefUtility
    • Acceleration CalculatorUtility
    • Filament ConverterUtility
    • Filament DryingUtility
    • Shrinkage CalculatorUtility
    • Spool CalculatorUtility
    • Print Cost CalculatorUtility
    • Resin Cost CalculatorUtility
    • E-Steps CalculatorUtility
    • Flow Rate CalculatorUtility
    • Volumetric Flow CalculatorUtility
    • Layer Height CalculatorUtility
    • All Tools
  • Learn
  • Pricing
Sign upSign in
Back to Tools

Thread & Tap Size Calculator

Find the right hole diameter for metric screws in 3D printed parts. Tap drill, clearance hole, and heat-set insert sizes with FDM compensation.

Thread Size

Major diameter: 3 mm · Pitch: 0.5 mm

Hole Type

Screw passes through freely without threading. Fasten with a nut on the other side.

FDM Print Compensation

FDM printers print holes slightly smaller than modeled. Add compensation to get the right fit. Set to 0 for SLA/resin printers.

0.3 mm is a good default for 0.4 mm nozzle FDM

Hole Size

Clearance Hole for M3
∅ 3.70 mm
Base: 3.4 mm + 0.3 mm compensation
ThreadM3 × 0.5 mm
Major Diameter3 mm

Socket Head Cap Screw (DIN 912)

Head: ∅5.5 × 3 mmHex key: 2.5 mm

Hex Nut (ISO 4032)

5.5 mm across flats2.4 mm tall

Metric Thread Quick Reference

SizePitchTap DrillCloseNormalLooseInsert
M20.41.62.22.42.63.2
M2.50.452.052.72.93.14
M30.52.53.23.43.64
M40.73.34.34.54.85.6
M50.84.25.35.55.86.4
M6156.46.678
M81.256.88.49109.7
M101.58.510.5111212
M121.7510.21313.514.514

Tap drill and clearance holes per ISO 261 / ISO 273. All values in millimeters. Heat-set insert pilot holes based on Ruthex drill set (M2-M6) and CNC Kitchen recommendations (M8-M12); check your insert's datasheet for exact values.

Socket Head & Nut Dimensions

SizeHead ∅Head HeightHex KeyNut FlatsNut Height
M23.821.541.6
M2.54.52.5252
M35.532.55.52.4
M474373.2
M58.55484.7
M61065105.2
M8136.86136.8
M10168.48168.4
M121810101810.8

Socket head cap screw dimensions per DIN 912. Hex nut dimensions per ISO 4032. When modeling counterbores or nut traps in your CAD, add 0.3-0.5 mm clearance to the head diameter and nut width for FDM parts.

Which approach should you use?

There are four common ways to add screw holes to a 3D printed part. Each has trade-offs in strength, reusability, and effort. Here is when I reach for each one.

Clearance hole + nut

The easiest and most common option. The screw passes through a clearance hole in one part and threads into a nut (or nut trap) on the other side. Works every time, no special tools needed, and the connection can be taken apart and reassembled without wearing out. Use this as your default for enclosures, mounts, and general assembly.

Heat-set inserts

A brass insert gets pushed into a pilot hole with a soldering iron (or a dedicated insert tip for cleaner results). The knurled outside melts into the plastic and locks in place, giving you proper metal threads. The connection handles repeated assembly/disassembly cycles without stripping. Worth the extra cost for anything that gets opened regularly (electronics housings, jigs, product prototypes).

Tapping (cutting threads)

Print a hole at the tap drill diameter, then cut threads with a hand tap. This works better than most people expect, especially in PLA and PETG at M3 and above. The threads can strip under high torque or repeated use, so it's best for low-stress fastening or one-off fixes where you don't have inserts on hand.

Printed threads

You can model threads directly in your CAD file, but this only works well for coarse threads (M6+) with fine layer heights (0.12-0.20 mm). Good for bottle caps, decorative lids, or non-structural threaded connections. Below M6, the thread profile is too small for FDM to resolve cleanly.

Tips for screw holes in 3D prints

Print a test block

Before printing your full part, print a small test block with the hole size you plan to use. Try the screw or insert in it. A 10-minute test print can save you hours of reprinting. Every printer and filament combo produces slightly different hole sizes.

Orient holes vertically

Holes printed along the Z axis (standing upright) come out rounder and more accurate than holes printed on their side. Horizontal holes suffer from layer stepping on the overhanging top portion, which makes them slightly oval. If your design allows it, orient the part so screw holes face up.

Minimum wall thickness

Keep at least 1× the screw diameter of wall material around a screw hole. For heat-set inserts, aim for a wall thickness of at least 2× the insert's outer diameter. Thin walls crack when you tighten screws or push inserts in. This is easy to overlook in compact designs.

Counterbore depth

For flush-mount socket head cap screws, the counterbore depth should equal the head height plus 0.5 mm. The extra half millimeter ensures the head sits fully below the surface even with minor layer inconsistencies. Add 0.3-0.5 mm clearance to the counterbore diameter too.

Ready to take your 3D modeling to the next level?

Create complex 3D models in seconds using our AI-powered generator. No CAD experience required.

Try GrandpaCAD for Free
Grandpa Cad LogoGrandpaCAD

Simple 3D modeling for everyone

Tools
Organic AI ModelingCAD AI ModelingThread & Tap CalcTolerance & Fit CalcVref CalculatorAcceleration CalcFilament ConverterDrying CalcShrinkage Calc
Print Cost CalcResin Cost CalcE-Steps CalcFlow Rate CalcVolumetric Flow CalcLayer Height CalcSpool Calculator
CompanyContactAPIPublic LibraryPress & MediaCareersAffiliate Program
LegalTermsPrivacyRefund Policy
© 2026 GrandpaCAD. All rights reserved.