# 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?

- Category: Electronics › Connectors
- Kind: 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
- Page: https://xemstudio.com/objects/pin-headers-2.54mm/ · JSON: https://xemstudio.com/api/geometry?object=pin-headers-2.54mm · Plain text: https://xemstudio.com/objects/pin-headers-2.54mm/sheet.txt
- License: dimension sheet CC BY 4.0 (Xem Studio); linked files under their publishers' licenses

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

## Sizes

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

## Where the files are

- KiCad: [kicad-packages3D library (origin of these files)](https://gitlab.com/kicad/libraries/kicad-packages3D) — STEP, WRL — CC BY-SA 4.0 with KiCad exception

## Free STEP/STL (30 parts, CC BY-SA 4.0 (KiCad library license, with the KiCad exception), KiCad library contributors)

Index: https://xemstudio.com/files/kicad/pin-headers-2.54mm/index.json · license: https://xemstudio.com/files/kicad/pin-headers-2.54mm/LICENSE.md

- header-1x02-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x02-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x02-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_1x02_P2.54mm_Vertical; bbox 11.5 × 5.1 × 2.5 mm
- header-1x03-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x03-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x03-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_1x03_P2.54mm_Vertical; bbox 11.5 × 7.6 × 2.5 mm
- header-1x04-horizontal: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x04-horizontal.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x04-horizontal.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_1x04_P2.54mm_Horizontal; bbox 10.4 × 10.2 × 5.5 mm
- header-1x04-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x04-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x04-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_1x04_P2.54mm_Vertical; bbox 11.5 × 10.2 × 2.5 mm
- header-1x05-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x05-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x05-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_1x05_P2.54mm_Vertical; bbox 12.7 × 11.5 × 2.5 mm
- header-1x06-horizontal: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x06-horizontal.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x06-horizontal.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_1x06_P2.54mm_Horizontal; bbox 15.2 × 10.4 × 5.5 mm
- header-1x06-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x06-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x06-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_1x06_P2.54mm_Vertical; bbox 15.2 × 11.5 × 2.5 mm
- header-1x08-horizontal: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x08-horizontal.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x08-horizontal.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_1x08_P2.54mm_Horizontal; bbox 20.3 × 10.4 × 5.5 mm
- header-1x08-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x08-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x08-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_1x08_P2.54mm_Vertical; bbox 20.3 × 11.5 × 2.5 mm
- header-1x10-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x10-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x10-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_1x10_P2.54mm_Vertical; bbox 25.4 × 11.5 × 2.5 mm
- header-1x12-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x12-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x12-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_1x12_P2.54mm_Vertical; bbox 30.5 × 11.5 × 2.5 mm
- header-1x16-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x16-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x16-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_1x16_P2.54mm_Vertical; bbox 40.6 × 11.5 × 2.5 mm
- header-1x20-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x20-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x20-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_1x20_P2.54mm_Vertical; bbox 50.8 × 11.5 × 2.5 mm
- header-1x40-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x40-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-1x40-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_1x40_P2.54mm_Vertical; bbox 101.6 × 11.5 × 2.5 mm
- header-2x02-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x02-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x02-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_2x02_P2.54mm_Vertical; bbox 11.5 × 5.1 × 5.1 mm
- header-2x03-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x03-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x03-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_2x03_P2.54mm_Vertical; bbox 11.5 × 7.6 × 5.1 mm
- header-2x04-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x04-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x04-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_2x04_P2.54mm_Vertical; bbox 11.5 × 10.2 × 5.1 mm
- header-2x05-horizontal: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x05-horizontal.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x05-horizontal.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_2x05_P2.54mm_Horizontal; bbox 12.9 × 12.7 × 8.1 mm
- header-2x05-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x05-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x05-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_2x05_P2.54mm_Vertical; bbox 12.7 × 11.5 × 5.1 mm
- header-2x06-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x06-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x06-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_2x06_P2.54mm_Vertical; bbox 15.2 × 11.5 × 5.1 mm
- header-2x08-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x08-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x08-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_2x08_P2.54mm_Vertical; bbox 20.3 × 11.5 × 5.1 mm
- header-2x10-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x10-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x10-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_2x10_P2.54mm_Vertical; bbox 25.4 × 11.5 × 5.1 mm
- header-2x20-horizontal: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x20-horizontal.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x20-horizontal.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_2x20_P2.54mm_Horizontal; bbox 50.8 × 12.9 × 8.1 mm
- header-2x20-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x20-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/header-2x20-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinHeader_2x20_P2.54mm_Vertical; bbox 50.8 × 11.5 × 5.1 mm
- socket-1x04-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/socket-1x04-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/socket-1x04-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinSocket_1x04_P2.54mm_Vertical; bbox 10.2 × 10.1 × 2.5 mm
- socket-1x06-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/socket-1x06-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/socket-1x06-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinSocket_1x06_P2.54mm_Vertical; bbox 15.2 × 10.1 × 2.5 mm
- socket-1x08-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/socket-1x08-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/socket-1x08-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinSocket_1x08_P2.54mm_Vertical; bbox 20.3 × 10.1 × 2.5 mm
- socket-1x10-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/socket-1x10-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/socket-1x10-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinSocket_1x10_P2.54mm_Vertical; bbox 25.4 × 10.1 × 2.5 mm
- socket-1x20-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/socket-1x20-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/socket-1x20-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinSocket_1x20_P2.54mm_Vertical; bbox 50.8 × 10.1 × 2.5 mm
- socket-2x20-vertical: [STEP](https://xemstudio.com/files/kicad/pin-headers-2.54mm/socket-2x20-vertical.step) · [STL](https://xemstudio.com/files/kicad/pin-headers-2.54mm/socket-2x20-vertical.stl) — KiCad Connector_PinHeader_2.54mm: PinSocket_2x20_P2.54mm_Vertical; bbox 50.8 × 10.1 × 5.1 mm

## 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; in a printed part, a 0.7 mm square pin needs a 0.9–1.0 mm hole for a press fit.

## Fits with

- [JST PH, XH, EH and GH connectors, 2–8 pin](https://xemstudio.com/objects/jst-connectors/)
- [Raspberry Pi 5](https://xemstudio.com/objects/raspberry-pi-5/)
- [Arduino Uno R3](https://xemstudio.com/objects/arduino-uno-r3/)
- [Tactile buttons (6 mm), DIP switches and small slide switches](https://xemstudio.com/objects/tactile-switches/)
- [Character LCDs (1602, 2004), 128×64 graphic LCD, 0.96 in OLED, 7-segment displays](https://xemstudio.com/objects/lcd-oled-displays/)
