Pin header dimensions play an important role in PCB design, connector compatibility, and component selection. Choosing the right pin header involves more than matching the pin pitch. Engineers must also check pin size, row spacing, contact length, insulator height, and PCB mounting dimensions.

Common pin header pitches include 2.54mm (0.100″), 2.00mm (0.079″), and 1.27mm (0.050″). However, products with the same pitch can have different pin cross-sections, housing dimensions, and termination lengths.

This guide explains the key pin header dimensions, compares common pitch options, and covers PCB footprints, mounting requirements, and practical selection considerations.

Key Dimensions and Their Definitions

A pin header consists of metal contacts arranged in an insulating housing. Its mechanical dimensions determine how the contacts align with a PCB and mate with a corresponding female header or socket.

Before comparing different pin header sizes, it is important to understand the dimensions specified in mechanical drawings and datasheets.

Pin Header Dimensions Diagram

Mechanical drawing showing pin header pitch, row spacing, mating length, insulator height, and tail length
  • Pitch: The center-to-center distance between two adjacent header pins in the same row.
  • Row Spacing: The center-to-center distance between parallel pin rows on dual-row or multi-row PCB headers. On standard headers, row spacing equals the pin pitch.
  • Pin Cross-Section: The width of the metal contact post, typically a stamped square post or a precision-machined round pin.
  • Mating Length: The exposed pin height above the plastic body that engages the mating female receptacle or cable housing.
  • Insulator Height: The thickness of the plastic base (PBT, PA6T, or LCP) that retains the pins and sets the minimum board standoff.
  • Solder Tail Length: The portion of the pin extending below the insulator into the PCB hole. For a standard 1.60 mm (0.063″) PCB, a 2.54 mm to 3.00 mm tail leaves ~0.94 mm to 1.40 mm protruding below the board for fillet inspection.
  • Overall Length: The total plastic body length along the pin row, calculated from position count per row (N): L=N×Pitch

For example, a 10-position 2.54 mm single-row header measures 10×2.54=25.40 mm in length. Manufacturers hold cut-length tolerances to approximately ±0.20 mm to ±0.30 mm so multiple headers can sit end-to-end on a continuous grid without interference.

Standard Pin Header Dimensions Table

Pitch (P)Pin Cross-SectionPin DiagonalTypical Current / PinStandard Insulator Height (B)Recommended PCB Hole (THT)
2.54 mm (0.100″)0.64 × 0.64 mm (0.025″)0.905 mm (0.036″)3.0 A2.50 – 2.54 mm1.00 – 1.15 mm
2.00 mm (0.079″)0.50 × 0.50 mm (0.020″)0.707 mm (0.028″)2.0 A1.50 – 2.00 mm0.80 – 0.90 mm
1.27 mm (0.050″)0.40 × 0.40 mm (0.016″)0.566 mm (0.022″)1.0 A1.00 – 2.00 mm0.65 – 0.75 mm
1.00 mm (0.039″)0.30 × 0.30 mm (0.012″)0.424 mm (0.017″)1.0 A1.00 – 1.50 mmMostly SMT

Pin Header Dimensions by Pitch

Pin pitch is one of the first specifications engineers check when selecting a PCB pin header. It defines the distance between adjacent contact centers and determines the basic contact arrangement.

The three widely used options are 2.54mm, 2.00mm, and 1.27mm. Each supports different connector configurations and board-space requirements.

Side-by-side comparison of 2.00mm, 2.54mm, and 1.27mm pitch single-row male pin headers

To help you estimate board space before diving into individual specs, the table below lists standard unshrouded body lengths across common pin counts:

Positions (Per Row)2.54 mm Body Length2.00 mm Body Length1.27 mm Body Length
4-Pin10.16 mm (0.400″)8.00 mm (0.315″)5.08 mm (0.200″)
6-Pin15.24 mm (0.600″)12.00 mm (0.472″)7.62 mm (0.300″)
8-Pin20.32 mm (0.800″)16.00 mm (0.630″)10.16 mm (0.400″)
10-Pin25.40 mm (1.000″)20.00 mm (0.787″)12.70 mm (0.500″)
20-Pin50.80 mm (2.000″)40.00 mm (1.575″)25.40 mm (1.000″)
40-Pin101.60 mm (4.000″)80.00 mm (3.150″)50.80 mm (2.000″)

2.54mm (0.100″) Pin Header Dimensions

The 2.54mm pin header is a common choice for general-purpose PCB connections, prototyping boards, embedded electronics, and board-to-wire interfaces. Its 0.100-inch pitch provides relatively generous spacing for assembly and inspection.

A typical 2.54mm male pin header uses square contacts, although the exact contact size and pin length vary by product series.

  • Pin Size & Shape: Standard 2.54 mm headers use 0.64 × 0.64 mm (0.025″) square pins.
  • Housing Width: 2.54 mm for single-row strips and 5.08 mm for dual-row headers.
  • Standard Pin Profile: A common configuration pairs a 6.00 mm (0.236″) mating post with a 2.54 mm (0.100″) insulator and a 3.00 mm (0.118″) solder tail, yielding an 11.54 mm overall pin length. Insulator heights range from 1.00 mm low-profile strips up to 5.00 mm extended spacers.
  • Common Lengths: Breakaway strips typically ship in 36-, 40-, or 50-pin lengths (101.60 mm for 40 pins).
2.54mm Pitch Single-Row Pin Header Drawing

PCB Layout & Compatibility Notes: Standard 1.70 mm pads on a 2.54 mm grid leave ~0.84 mm of copper clearance between adjacent pins, allowing inner-row traces on dual-row circuit board headers to route out between outer pads. When switching to a shrouded box header, add ~7.6–8.0 mm to the overall body length to accommodate the protective side walls.

Watch out for two common 2.54 mm pin header dimensions traps:

  1. Do not mix 2.50 mm and 2.54 mm parts. Metric 2.50 mm headers (such as JST XH) fit over 2–3 positions, but accumulate a 0.36–0.40 mm pitch error across 10 positions—causing end pins to bind or crack housings.
  2. Do not mate 0.64 mm square pins with round-pin IC sockets. Square corners permanently deform cylindrical leaf springs.

2.00mm (0.079″) Pin Header Dimensions

The 2.00 mm pitch bridges the gap between bulky 2.54 mm PCB header pins and fragile fine-pitch interconnects. Designers select 2.00 mm headers for compact industrial modules, PLCs, and embedded display interfaces.

  • Pin Size & Shape: 0.50 × 0.50 mm (0.020″) square pins.
  • Housing Width: 2.00 mm (single-row) and 4.00 mm (dual-row).
  • Standard Pin Profile: Typically 4.00 mm mating length, 2.00 mm insulator height (with 1.50 mm low-profile options), and 2.80 mm solder tail—totaling 8.80 mm.
  • Space Reduction: Compared to 2.54 mm headers, a 2.00 mm grid cuts linear board length by 21% (a 40-pin strip measures 80.00 mm instead of 101.60 mm) and reduces total PCB footprint area by ~38%.
2.00mm Pitch Single-Row Pin Header Drawing

PCB Layout & Compatibility Notes: Using 1.35 mm pads on a 2.00 mm grid shrinks pad-to-pad clearance to ~0.65 mm. Single-row parts remain straightforward to solder, while dense dual-row 2.00 mm footprints usually drop inner-row signals to internal layers via vias. Remember that 2.00 mm header pin dimensions are physically incompatible with standard 2.54 mm breadboards and jumper wires.

1.27mm (0.050″) Pin Header Dimensions

The 1.27 mm (50 mil) pitch cuts linear length in half relative to 2.54 mm headers. It is the industry standard for ARM Cortex SWD/JTAG debug ports and high-density board stacking.

  • Pin Size & Shape: 0.40 × 0.40 mm (0.016″) square posts.
  • Housing Width: 1.27–1.50 mm (single-row) and 2.54–3.40 mm (dual-row).
  • Standard Pin Profile: Typically 3.00 mm mating length, 1.00–2.00 mm insulator height, and 2.30 mm solder tail.
  • Standard Footprint Example: A standard 2×5 ARM Cortex SWD debug connect header measures roughly 6.35 × 3.40 mm, often with Pin 7 omitted as a polarization key.
1.27mm Pitch Single-Row Pin Header Drawing

PCB Layout & Mechanical Notes:

  • Through-Hole vs. SMT: A 0.40 mm square pin (0.566 mm diagonal) requires a ~0.65 mm finished hole. With a 1.00 mm pad, the annular ring shrinks to 0.18 mm, risking drill breakout. Enlarging the pad to 1.10 mm leaves only 0.17 mm between adjacent pads, increasing solder-bridge risk. Unless mechanical retention requires through-hole anchoring, specify SMT for 1.27 mm headers.
  • Pin Rigidity & Mating Length: A 0.40 mm post has only ~40% of the cross-sectional area of a 2.54 mm header’s 0.64 mm post. Keep mating lengths at or below 3.5–4.0 mm to prevent bent pins during blind mating.

Other Common Pin Header Pitches

Beyond the three primary grids, two specialized pitch families serve opposite ends of the design spectrum:

  • Ultra-Fine Pitch (1.00 mm and 0.80 mm): Uses 0.30 mm square or flat stamped contacts rated around ~1.0 A per pin. Virtually all 0.80 mm and 1.00 mm pcb pin headers ship in surface-mount (SMT) configurations with high-temperature LCP insulators for pick-and-place assembly.
  • Power & Legacy Pitch (3.96 mm and 5.08 mm): Uses thicker 1.00–1.14 mm pins rated for 5 A to 7+ A per circuit. These wider spacings increase creepage and clearance distances for higher-voltage power distribution and AC/DC board-in interfaces.

Pin Header Types & Size Differences

Pin header dimensions vary with mounting method, contact orientation, row arrangement, and housing design. Two products can share the same pitch but have very different overall dimensions.

Dimension FactorHeader TypesKey Dimension AffectedTypical Size Impact (2.54 mm Example)
MountingTHT vs. SMTTail protrusion vs. pad spanTHT extends 0.9–1.4 mm below PCB; SMT lead span widens to 5.0–7.6 mm
OrientationStraight vs. Right-AngleVertical height vs. edge overhangStraight sits 8.5–11.5 mm high; unshrouded right-angle drops to 2.5–5.5 mm
RowsSingle-Row vs. Dual-RowBody width & row spacingSingle-row is 2.54 mm wide; dual-row widens to 5.08 mm
HousingUnshrouded vs. Box HeaderOuter length & widthShroud adds 7.6–10.0 mm to length and 3.0–4.0 mm to width

Mounting Method

  • Through-Hole (THT): Pins pass through the PCB and leave 0.9–1.4 mm below a 1.60 mm board for solder inspection, giving you strong pull resistance for cables unplugged often.
  • Surface-Mount (SMT): Pins bend outward onto surface pads—saving bottom-layer routing space, but widening the horizontal footprint. SMT headers need flat pin coplanarity (≤0.10 mm) and high-temp PA6T/PA9T or LCP plastic so they do not warp at 260 °C reflow.
Through-Hole (THT) vs. Surface-Mount (SMT) Pin Headers

Orientation

  • Straight (180°): Pins stand perpendicular to the PCB, setting vertical enclosure clearance (8.5–11.5 mm typical at 2.54 mm pitch) and distributing mating force evenly.
  • Right-Angle (90°): Pins bend parallel to the PCB, cutting unshrouded height to ~2.5–3.0 mm (single-row) or 5.0–5.5 mm (dual-row), while extending horizontally past the board edge. Use a routed edge rather than a V-score along overhanging headers so depaneling does not damage the housing.
Straight vs. Right-Angle Pin Header Mating Direction

Row Configuration

  • Single-Row: Keeps housing width equal to one pitch (2.54 / 2.00 / 1.27 mm). Single-row SMT headers usually stagger their leads left and right so the part stays balanced and does not tip over during reflow.
  • Dual-Row & Multi-Row: Doubles or triples pin density along the same length, expanding body width to 2×Pitch. Dual-row SMT leads flare outward on both sides like an IC gull-wing package.
Single-Row, Double-Row, and Triple-Row Pin Headers

Housing Design

  • Unshrouded Headers: Keep the tightest footprint (L = N × Pitch) and rely on silkscreen or a missing (voided) pin for keying.
  • Box Headers & Ejector Headers: Box (shrouded) headers add protective walls and a keying slot for IDC ribbon cables, adding 7.6–10.0 mm to length and 3.0–4.0 mm to width at 2.54 mm pitch (or ~4.5–6.0 mm / 2.0–3.0 mm at 1.27 mm). Ejector headers add side latches that need extra lateral clearance to open.
Unshrouded, Box Header, and Ejector Header Comparison

Pin Header PCB Footprint and Hole Sizes

Translating header pin dimensions into a manufacturable PCB footprint requires accounting for square-to-round geometry, plating tolerances, and mechanical stress.

Diagram comparing THT PCB hole sizing from pin diagonal with SMT staggered pads and NPTH locating pegs

THT Pin Header PCB Hole and Pad Sizes

As shown in the diagram above (left): a square pin touches a round plated hole only at its four corners. Do not size the drill from the flat side width (S). Calculate the pin diagonal (D) first (D = S × √2), then add the IPC-2222 Gap to get the finished hole:

  • 2.54 mm Example: A 0.64 mm square post (S) has a 0.905 mm diagonal (D). Adding 0.15–0.25 mm clearance gives a recommended finished hole of 1.05–1.15 mm.
  • Pad & Annular Ring: Size the copper pad 0.65–0.70 mm larger than the hole (e.g., 1.70–1.85 mm for 2.54 mm pitch). This leaves an annular copper ring of ~0.35 mm around the barrel for reliable wave soldering.
  • Pin 1 Identification: Draw Pin 1 as a square pad and all other pins as round pads. Add a silkscreen dot outside the plastic body outline, because the insulator hides the square pad once soldered.
  • Press-Fit Exception: Solderless press-fit headers require tight ±0.05 mm hole tolerances—always follow the exact datasheet drill table rather than Table 4.

The table below lists recommended THT drill and pad sizes across common pitches:

PitchPin Width Pin DiagonalMin. Finished HoleRecommended Finished HoleRecommended PadAnnular Ring
2.54 mm0.64 mm0.905 mm0.95 mm1.05 – 1.15 mm1.70 – 1.85 mm~0.35 mm
2.00 mm0.50 mm0.707 mm0.75 mm0.80 – 0.90 mm1.35 – 1.50 mm~0.28 mm
1.27 mm0.40 mm0.566 mm0.60 mm0.65 – 0.75 mm1.00 – 1.10 mm~0.18 mm

THT pin header pcb hole and pad sizing chart.

SMT Pin Header Land Pattern and Locating Pegs

Look at the diagram above (right): SMT headers lack through-hole pins, so pad area provides all pull resistance. When laying out a single-row staggered footprint, lock down three elements from the diagram:

  1. Pad W & Pad L: Extend Pad L at least 0.40–0.60 mm past the pin tip to form a visible solder fillet.
  2. Body Outline: Draw the assembly keep-out outline around the widest plastic housing or shroud—not just the copper pads—to prevent adjacent parts from colliding during placement.
  3. NPTH Peg: For SMT headers with locating pegs, drill non-plated through-holes (NPTH) 0.05–0.10 mm larger than the peg diameter. Asymmetric placement prevents 180° reversed mounting and absorbs lateral shear loads when cables are unplugged.

Recommended SMT pad and NPTH locating peg dimensions by pitch:

PitchRecommended Pad Width (Pad W)Recommended Pad Length (Pad L)NPTH Locating Peg Hole
2.54 mm1.00 – 1.27 mm2.50 – 3.50 mmPeg Ø + 0.05–0.10 mm
2.00 mm0.90 – 1.05 mm2.20 – 3.00 mmPeg Ø + 0.05–0.10 mm
1.27 mm0.75 – 0.85 mm1.80 – 2.50 mmPeg Ø + 0.05–0.10 mm

How to Measure and Select the Right Pin Header Dimensions

A pin header may look similar to another model but still fail to fit the PCB or mate correctly. Use a consistent measurement and selection process before approving a part.

Measure Pin Header Dimensions

A digital caliper can measure the housing dimensions, exposed pin length, and larger pin features. For fine-pitch connectors, use an optical measuring tool or refer to the manufacturer’s mechanical drawing for more accurate measurements.

When identifying an unknown pin header, avoid measuring the gap between just two adjacent pins with calipers. Parallax and pin burrs can make a 2.50 mm pitch look like 2.54 mm. Instead, measure across all pins in the row (from the first pin to the last pin):

  1. Measure Pitch: Measure left-edge-to-left-edge across the entire row of pins, then divide by the number of intervals (N − 1):

Pitch = (Span from Pin 1 to Pin N) ÷ (N − 1)

Measuring across multiple pins magnifies small pitch differences, making it easy to distinguish 2.54 mm headers from 2.50 mm metric connectors.

  • Measure Pin Cross-Section: Clamp caliper jaws flat across one post to confirm 0.64 mm, 0.50 mm, or 0.40 mm square width.
  • Measure A / B / C Segments: Record the mating post length above the plastic, the plastic insulator thickness, and the tail length below the plastic separately.

Calculating Mated Height

Mated Height is the distance between the specified reference surfaces of two connectors after mating. In board-to-board applications, Stack Height defines the spacing between the two PCBs.

Do not simply add the overall heights of the male and female connectors. Their mating sections overlap, and the final spacing depends on the mounting positions and insertion depth.

Before confirming the assembly height, check:

  • Reference Surfaces: Identify the PCB mounting surfaces of both connectors.
  • Minimum Insertion Depth: Ensure the male pins engage with the female contacts over the required contact area.
  • Maximum Insertion Depth: Prevent the pins from bottoming out or exceeding the socket’s insertion limit.
  • Dimensional Tolerances: Account for variations in both connectors and their mounting positions.

Always refer to the manufacturer’s mating specifications and mechanical drawings. Mated height and insertion limits vary by product series.

CAD cross-section showing male and female pin header mated stack height, insertion depth, and cavity clearance

Evaluating Pin Size, Current Rating, and Electrical Clearance

Pin size affects mechanical strength, mating compatibility, and the contact interface. However, a larger pin does not automatically provide a higher current rating.

Current capacity depends on several factors:

  • Contact material and cross-section.
  • Contact resistance and plating.
  • Number of energized contacts.
  • Temperature rise and ambient temperature.
  • Mating connector and test configuration.

Always use the manufacturer’s current rating and its stated test conditions. For example, a rating specified with only one or two positions powered may not apply when every contact carries current simultaneously.

Electrical clearance also requires attention. Check the rated voltage, insulation spacing, creepage distance, and applicable safety requirements.

When to Consider Custom Pin Header Specifications

Standard pin headers meet most PCB design requirements. However, some applications need specific pin lengths, row spacing, housing dimensions, or mounting configurations that standard products cannot provide.

In these cases, custom specifications may offer a better fit. If your project has specific dimensional requirements, share your drawings and application details with Metabee. You can contact our engineering team to discuss your connector requirements and possible solutions.

Conclusion

Selecting the right pin header requires more than matching the pitch. The contact arrangement, mounting method, terminal dimensions, and mating interface must also suit the PCB layout and application requirements. Before finalizing a design, check the manufacturer’s mechanical drawing and recommended PCB footprint to confirm dimensional fit and assembly compatibility.

Metabee offers a range of pin headers and female headers for different PCB connection requirements. Browse our pin header and female header range to explore available product types and configurations for your project.

FAQs

Q1. What PCB hole size is needed for a 2.54 mm pin header?

A: A standard 2.54 mm pin header with 0.64 mm square posts has a 0.905 mm diagonal. Following IPC-2222 guidelines, use a 1.05 mm to 1.15 mm finished plated hole and a 1.70 mm to 1.85 mm pad diameter for reliable wave or hand soldering.

Q2. Are 2.50 mm and 2.54 mm pin headers interchangeable?

A: No, except over 2 or 3 positions. A 0.04 mm difference per position accumulates to 0.36–0.40 mm across 10 pins, which causes end pins to bind, bend, or crack the mating housing.

Q3. What is the standard pin length for a 2.54 mm male pin header?

A: There is no single universal length, as pin dimensions vary by PCB thickness and stack height. For standard 1.60 mm PCBs, a common configuration uses a 6.00 mm mating post, 2.54 mm insulator height, and 3.00 mm solder tail (~11.54 mm overall).

Q4. Should I choose through-hole (THT) or surface-mount (SMT) for 1.27 mm pin headers?

A: Specify SMT by default unless your connector faces heavy mechanical pull loads. At 1.27 mm pitch, THT footprints leave either a narrow annular ring (~0.18 mm) or tight pad-to-pad spacing (~0.17 mm), increasing drill breakout and solder-bridge risks.

Q5. How do I calculate the mated height of a pin header and female socket?

A: Do not add their overall heights together, because the male pins overlap inside the female housing. Measure between the two PCB mounting surfaces (typically male insulator height plus female body height), and verify that the mating pin engages the socket contacts without bottoming out.

Leave a Reply

Your email address will not be published. Required fields are marked *