Library › Electronic components › Connectors ·

2.54 mm pin headers, 1×2 to 2×20, vertical and right-angle

How tall is a 2.54 mm pin header and how much clearance does a jumper wire need? · Standard part · basis: KiCad 3D models of standard 0.1 in (2.54 mm) male headers: 2.5 mm plastic base, 6.0 mm pin above, 3.0 mm below; row spacing 2.54 mm

Also called: 2.54 pin header dimensions, 0.1 inch header height, dupont connector height, 2x20 header, 40 pin header size, right angle header

Exact dimensions. Every file is drawn at true size with no tolerance added. The holes and pins that meet another part are listed below under Mating features, with the fit each joint needs; open those by your process's clearance before making the part. Mating features

sizes
30 in table

Notes

  • Standard male header: plastic 2.54 mm square per position × 2.5 mm tall; pin 0.64 mm square, 6 mm above the plastic, 3 mm below. Total height above board 8.5 mm. A Dupont jumper housing adds 14 mm, so budget 23 mm over a header for cables.
  • Row spacing 2.54 mm; a 2×20 Pi header is 50.8 × 5.08 × 8.5 mm. Right-angle headers extend 6 mm past the board edge at 2.5 mm height.
  • Case clearance over a 1×n vertical header with nothing plugged in: 9 mm. Female stacking headers (sockets) are 8.5 mm tall with 2.54 mm pitch.

2.54 mm pin headers, 1×2 to 2×20, vertical and right-angle size chart

partbbox l (mm)bbox w (mm)bbox h (mm)
header-1x02-vertical11.55.12.5
header-1x03-vertical11.57.62.5
header-1x04-horizontal10.410.25.5
header-1x04-vertical11.510.22.5
header-1x05-vertical12.711.52.5
header-1x06-horizontal15.210.45.5
header-1x06-vertical15.211.52.5
header-1x08-horizontal20.310.45.5
header-1x08-vertical20.311.52.5
header-1x10-vertical25.411.52.5
header-1x12-vertical30.511.52.5
header-1x16-vertical40.611.52.5
header-1x20-vertical50.811.52.5
header-1x40-vertical101.611.52.5
header-2x02-vertical11.55.15.1
header-2x03-vertical11.57.65.1
header-2x04-vertical11.510.25.1
header-2x05-horizontal12.912.78.1
header-2x05-vertical12.711.55.1
header-2x06-vertical15.211.55.1
header-2x08-vertical20.311.55.1
header-2x10-vertical25.411.55.1
header-2x20-horizontal50.812.98.1
header-2x20-vertical50.811.55.1
socket-1x04-vertical10.210.12.5
socket-1x06-vertical15.210.12.5
socket-1x08-vertical20.310.12.5
socket-1x10-vertical25.410.12.5
socket-1x20-vertical50.810.12.5
socket-2x20-vertical50.810.15.1

Mating features

Drawn at the exact size. Open press, slide, run and socket features by your process's clearance (tolerances by process); leave designed gaps and clamp fits as drawn.

featureexactmates withfitfiles
male header pins0.64 square, 6.0 above the plastic, 3.0 below; plastic 2.54 × 2.5PCB plated hole Ø1.0 on 2.54 (0.1 in) grid; female 2.54 socket 8.5 talldesignedall
2 × 20 header50.8 × 5.08 × 8.5Raspberry Pi GPIO socket; Dupont jumper housing adds 14designedall

Where the files are

Files below are rehosted from this library under its share-alike license, with its license and credits beside them. "verify" = check the license at the link before commercial use.

KiCadkicad-packages3D library (origin of these files)STEP, WRLCC BY-SA 4.0 with KiCad exception

Free files

★ Free files 30 parts. From the KiCad library contributors, rehosted with their license and credits. CC BY-SA 4.0 (KiCad library license, with the KiCad exception). index.json

header-1x02-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_1x02_P2.54mm_Vertical; bbox 11.5 × 5.1 × 2.5 mmSTEP · STL
header-1x03-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_1x03_P2.54mm_Vertical; bbox 11.5 × 7.6 × 2.5 mmSTEP · STL
header-1x04-horizontalKiCad Connector_PinHeader_2.54mm: PinHeader_1x04_P2.54mm_Horizontal; bbox 10.4 × 10.2 × 5.5 mmSTEP · STL
header-1x04-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_1x04_P2.54mm_Vertical; bbox 11.5 × 10.2 × 2.5 mmSTEP · STL
header-1x05-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_1x05_P2.54mm_Vertical; bbox 12.7 × 11.5 × 2.5 mmSTEP · STL
header-1x06-horizontalKiCad Connector_PinHeader_2.54mm: PinHeader_1x06_P2.54mm_Horizontal; bbox 15.2 × 10.4 × 5.5 mmSTEP · STL
header-1x06-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_1x06_P2.54mm_Vertical; bbox 15.2 × 11.5 × 2.5 mmSTEP · STL
header-1x08-horizontalKiCad Connector_PinHeader_2.54mm: PinHeader_1x08_P2.54mm_Horizontal; bbox 20.3 × 10.4 × 5.5 mmSTEP · STL
header-1x08-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_1x08_P2.54mm_Vertical; bbox 20.3 × 11.5 × 2.5 mmSTEP · STL
header-1x10-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_1x10_P2.54mm_Vertical; bbox 25.4 × 11.5 × 2.5 mmSTEP · STL
header-1x12-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_1x12_P2.54mm_Vertical; bbox 30.5 × 11.5 × 2.5 mmSTEP · STL
header-1x16-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_1x16_P2.54mm_Vertical; bbox 40.6 × 11.5 × 2.5 mmSTEP · STL
header-1x20-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_1x20_P2.54mm_Vertical; bbox 50.8 × 11.5 × 2.5 mmSTEP · STL
header-1x40-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_1x40_P2.54mm_Vertical; bbox 101.6 × 11.5 × 2.5 mmSTEP · STL
header-2x02-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_2x02_P2.54mm_Vertical; bbox 11.5 × 5.1 × 5.1 mmSTEP · STL
header-2x03-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_2x03_P2.54mm_Vertical; bbox 11.5 × 7.6 × 5.1 mmSTEP · STL
header-2x04-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_2x04_P2.54mm_Vertical; bbox 11.5 × 10.2 × 5.1 mmSTEP · STL
header-2x05-horizontalKiCad Connector_PinHeader_2.54mm: PinHeader_2x05_P2.54mm_Horizontal; bbox 12.9 × 12.7 × 8.1 mmSTEP · STL
header-2x05-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_2x05_P2.54mm_Vertical; bbox 12.7 × 11.5 × 5.1 mmSTEP · STL
header-2x06-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_2x06_P2.54mm_Vertical; bbox 15.2 × 11.5 × 5.1 mmSTEP · STL
header-2x08-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_2x08_P2.54mm_Vertical; bbox 20.3 × 11.5 × 5.1 mmSTEP · STL
header-2x10-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_2x10_P2.54mm_Vertical; bbox 25.4 × 11.5 × 5.1 mmSTEP · STL
header-2x20-horizontalKiCad Connector_PinHeader_2.54mm: PinHeader_2x20_P2.54mm_Horizontal; bbox 50.8 × 12.9 × 8.1 mmSTEP · STL
header-2x20-verticalKiCad Connector_PinHeader_2.54mm: PinHeader_2x20_P2.54mm_Vertical; bbox 50.8 × 11.5 × 5.1 mmSTEP · STL
socket-1x04-verticalKiCad Connector_PinHeader_2.54mm: PinSocket_1x04_P2.54mm_Vertical; bbox 10.2 × 10.1 × 2.5 mmSTEP · STL
socket-1x06-verticalKiCad Connector_PinHeader_2.54mm: PinSocket_1x06_P2.54mm_Vertical; bbox 15.2 × 10.1 × 2.5 mmSTEP · STL
socket-1x08-verticalKiCad Connector_PinHeader_2.54mm: PinSocket_1x08_P2.54mm_Vertical; bbox 20.3 × 10.1 × 2.5 mmSTEP · STL
socket-1x10-verticalKiCad Connector_PinHeader_2.54mm: PinSocket_1x10_P2.54mm_Vertical; bbox 25.4 × 10.1 × 2.5 mmSTEP · STL
socket-1x20-verticalKiCad Connector_PinHeader_2.54mm: PinSocket_1x20_P2.54mm_Vertical; bbox 50.8 × 10.1 × 2.5 mmSTEP · STL
socket-2x20-verticalKiCad Connector_PinHeader_2.54mm: PinSocket_2x20_P2.54mm_Vertical; bbox 50.8 × 10.1 × 5.1 mmSTEP · STL
Let your AI pull this. Add https://xemstudio.com/mcp to Claude, ChatGPT, Cursor or any MCP client (free, no account, one minute) and it can look up exact sizes, mating fits and free STEP/STL from every chat.
Set it up →

Plain text: sheet.txt · JSON: /api/geometry?object=pin-headers-2.54mm

2.54 mm pin headers, 1×2 to 2×20, vertical and right-angle, isometric render of a generated part
Render of header-2x20-vertical from the free STEP; not to scale.

Fits with

Questions

How tall is a 2.54 mm pin header?

8.5 mm above the board (2.5 mm plastic + 6 mm pin); pins extend 3 mm below. With a Dupont jumper plugged in: about 23 mm.

How wide is a 2x20 pin header?

50.8 × 5.08 mm footprint, 8.5 mm tall; the Raspberry Pi GPIO header.

What hole size for 2.54 mm header pins?

Ø1.0 mm plated holes on a PCB; the pin is 0.64 mm square (0.9 across the corners).