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
| part | bbox l (mm) | bbox w (mm) | bbox h (mm) |
|---|---|---|---|
| header-1x02-vertical | 11.5 | 5.1 | 2.5 |
| header-1x03-vertical | 11.5 | 7.6 | 2.5 |
| header-1x04-horizontal | 10.4 | 10.2 | 5.5 |
| header-1x04-vertical | 11.5 | 10.2 | 2.5 |
| header-1x05-vertical | 12.7 | 11.5 | 2.5 |
| header-1x06-horizontal | 15.2 | 10.4 | 5.5 |
| header-1x06-vertical | 15.2 | 11.5 | 2.5 |
| header-1x08-horizontal | 20.3 | 10.4 | 5.5 |
| header-1x08-vertical | 20.3 | 11.5 | 2.5 |
| header-1x10-vertical | 25.4 | 11.5 | 2.5 |
| header-1x12-vertical | 30.5 | 11.5 | 2.5 |
| header-1x16-vertical | 40.6 | 11.5 | 2.5 |
| header-1x20-vertical | 50.8 | 11.5 | 2.5 |
| header-1x40-vertical | 101.6 | 11.5 | 2.5 |
| header-2x02-vertical | 11.5 | 5.1 | 5.1 |
| header-2x03-vertical | 11.5 | 7.6 | 5.1 |
| header-2x04-vertical | 11.5 | 10.2 | 5.1 |
| header-2x05-horizontal | 12.9 | 12.7 | 8.1 |
| header-2x05-vertical | 12.7 | 11.5 | 5.1 |
| header-2x06-vertical | 15.2 | 11.5 | 5.1 |
| header-2x08-vertical | 20.3 | 11.5 | 5.1 |
| header-2x10-vertical | 25.4 | 11.5 | 5.1 |
| header-2x20-horizontal | 50.8 | 12.9 | 8.1 |
| header-2x20-vertical | 50.8 | 11.5 | 5.1 |
| socket-1x04-vertical | 10.2 | 10.1 | 2.5 |
| socket-1x06-vertical | 15.2 | 10.1 | 2.5 |
| socket-1x08-vertical | 20.3 | 10.1 | 2.5 |
| socket-1x10-vertical | 25.4 | 10.1 | 2.5 |
| socket-1x20-vertical | 50.8 | 10.1 | 2.5 |
| socket-2x20-vertical | 50.8 | 10.1 | 5.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.
| feature | exact | mates with | fit | files |
|---|---|---|---|---|
| male header pins | 0.64 square, 6.0 above the plastic, 3.0 below; plastic 2.54 × 2.5 | PCB plated hole Ø1.0 on 2.54 (0.1 in) grid; female 2.54 socket 8.5 tall | designed | all |
| 2 × 20 header | 50.8 × 5.08 × 8.5 | Raspberry Pi GPIO socket; Dupont jumper housing adds 14 | designed | all |
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.
| KiCad | kicad-packages3D library (origin of these files) | STEP, WRL | CC 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-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_1x02_P2.54mm_Vertical; bbox 11.5 × 5.1 × 2.5 mm | STEP · STL |
| header-1x03-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_1x03_P2.54mm_Vertical; bbox 11.5 × 7.6 × 2.5 mm | STEP · STL |
| header-1x04-horizontal | KiCad Connector_PinHeader_2.54mm: PinHeader_1x04_P2.54mm_Horizontal; bbox 10.4 × 10.2 × 5.5 mm | STEP · STL |
| header-1x04-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_1x04_P2.54mm_Vertical; bbox 11.5 × 10.2 × 2.5 mm | STEP · STL |
| header-1x05-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_1x05_P2.54mm_Vertical; bbox 12.7 × 11.5 × 2.5 mm | STEP · STL |
| header-1x06-horizontal | KiCad Connector_PinHeader_2.54mm: PinHeader_1x06_P2.54mm_Horizontal; bbox 15.2 × 10.4 × 5.5 mm | STEP · STL |
| header-1x06-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_1x06_P2.54mm_Vertical; bbox 15.2 × 11.5 × 2.5 mm | STEP · STL |
| header-1x08-horizontal | KiCad Connector_PinHeader_2.54mm: PinHeader_1x08_P2.54mm_Horizontal; bbox 20.3 × 10.4 × 5.5 mm | STEP · STL |
| header-1x08-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_1x08_P2.54mm_Vertical; bbox 20.3 × 11.5 × 2.5 mm | STEP · STL |
| header-1x10-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_1x10_P2.54mm_Vertical; bbox 25.4 × 11.5 × 2.5 mm | STEP · STL |
| header-1x12-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_1x12_P2.54mm_Vertical; bbox 30.5 × 11.5 × 2.5 mm | STEP · STL |
| header-1x16-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_1x16_P2.54mm_Vertical; bbox 40.6 × 11.5 × 2.5 mm | STEP · STL |
| header-1x20-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_1x20_P2.54mm_Vertical; bbox 50.8 × 11.5 × 2.5 mm | STEP · STL |
| header-1x40-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_1x40_P2.54mm_Vertical; bbox 101.6 × 11.5 × 2.5 mm | STEP · STL |
| header-2x02-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_2x02_P2.54mm_Vertical; bbox 11.5 × 5.1 × 5.1 mm | STEP · STL |
| header-2x03-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_2x03_P2.54mm_Vertical; bbox 11.5 × 7.6 × 5.1 mm | STEP · STL |
| header-2x04-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_2x04_P2.54mm_Vertical; bbox 11.5 × 10.2 × 5.1 mm | STEP · STL |
| header-2x05-horizontal | KiCad Connector_PinHeader_2.54mm: PinHeader_2x05_P2.54mm_Horizontal; bbox 12.9 × 12.7 × 8.1 mm | STEP · STL |
| header-2x05-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_2x05_P2.54mm_Vertical; bbox 12.7 × 11.5 × 5.1 mm | STEP · STL |
| header-2x06-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_2x06_P2.54mm_Vertical; bbox 15.2 × 11.5 × 5.1 mm | STEP · STL |
| header-2x08-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_2x08_P2.54mm_Vertical; bbox 20.3 × 11.5 × 5.1 mm | STEP · STL |
| header-2x10-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_2x10_P2.54mm_Vertical; bbox 25.4 × 11.5 × 5.1 mm | STEP · STL |
| header-2x20-horizontal | KiCad Connector_PinHeader_2.54mm: PinHeader_2x20_P2.54mm_Horizontal; bbox 50.8 × 12.9 × 8.1 mm | STEP · STL |
| header-2x20-vertical | KiCad Connector_PinHeader_2.54mm: PinHeader_2x20_P2.54mm_Vertical; bbox 50.8 × 11.5 × 5.1 mm | STEP · STL |
| socket-1x04-vertical | KiCad Connector_PinHeader_2.54mm: PinSocket_1x04_P2.54mm_Vertical; bbox 10.2 × 10.1 × 2.5 mm | STEP · STL |
| socket-1x06-vertical | KiCad Connector_PinHeader_2.54mm: PinSocket_1x06_P2.54mm_Vertical; bbox 15.2 × 10.1 × 2.5 mm | STEP · STL |
| socket-1x08-vertical | KiCad Connector_PinHeader_2.54mm: PinSocket_1x08_P2.54mm_Vertical; bbox 20.3 × 10.1 × 2.5 mm | STEP · STL |
| socket-1x10-vertical | KiCad Connector_PinHeader_2.54mm: PinSocket_1x10_P2.54mm_Vertical; bbox 25.4 × 10.1 × 2.5 mm | STEP · STL |
| socket-1x20-vertical | KiCad Connector_PinHeader_2.54mm: PinSocket_1x20_P2.54mm_Vertical; bbox 50.8 × 10.1 × 2.5 mm | STEP · STL |
| socket-2x20-vertical | KiCad Connector_PinHeader_2.54mm: PinSocket_2x20_P2.54mm_Vertical; bbox 50.8 × 10.1 × 5.1 mm | STEP · STL |
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.Plain text: sheet.txt · JSON: /api/geometry?object=pin-headers-2.54mm

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).