In-stock items handed to the courier within 24-48 hours · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark guided builds
  • Electrolark lessons
  • Electrolark circuit tools
  • Electrolark part library
  • Project ideas on Electrolark

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy

© 2026 Geekobot. All rights reserved.

+91 91810 15606 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

Product directory · Sitemap

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,946 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,347 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,400 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV2,960 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,319 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,322 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers598 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries921 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors660 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive470 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs576 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays1,201 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables2,653 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping122 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test794 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics195 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits336 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts296 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio145 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Prototyping & Wiring
  4. ›Pin Headers and Female Headers

Buying guide · Beginner · 3 min read

Pin Headers and Female Headers

2.54, 2.0 and 1.27 mm Pitch, Straight and Right Angle, 1-Row and 2-Row

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerChoose the pitchMale, female, straight, right angleFitting to a boardCurrentCommon mistakesFAQsParts and next steps
Short answer

Pin headers are the standard way to plug boards together. Choose the pitch (2.54 mm is the breadboard standard; 2.0 and 1.27 mm are smaller), the rows and pin count, and the style: straight or right angle, male pin or female socket. Use female sockets on a board to let a module plug in and out.

Key specs at a glance

Pitches
2.54 mm (0.1 inch), 2.0 mm, 1.27 mm and 5 mm
Rows
1 row (1 x N) and 2 rows (2 x N), from 2 to 40 pins
Styles
Straight, right angle, male pin header, female socket
Makers
CONNFLY, XUNPU, HANBO, CJT, JST
01

Choose the pitch

2.54 mm is the standard for breadboards, Arduino and most dev boards; use it when you need to plug into those. 2.0 mm is used on modules such as XBee and ESP-01. 1.27 mm is a fine pitch used on debug and programming ports, such as ARM SWD headers. Never force headers of different pitch together.

02

Male, female, straight, right angle

A male pin header is a row of pins you solder to a board. A female header is a socket that receives the pins. Straight headers stand up from the board; right angle headers bend over so the cable or board is parallel to the PCB. Double-row (2 x N) headers suit programming ports and wider connections. The listing gives the rows, pins and pitch in the title, for example 2 x 6 (12-pin), 2.54 mm.

HeaderPitchGood for
1 x N male, straight2.54 mmDev boards, breadboards, module pins
1 x N female, straight2.54 mmSockets for modules and sensors
2 x N right angle2.54 or 2.0 mmProgramming and debug ports at a board edge
2 x N male1.27 mmFine-pitch debug headers
1 x N male, straight
Pitch:
2.54 mm
Good for:
Dev boards, breadboards, module pins
1 x N female, straight
Pitch:
2.54 mm
Good for:
Sockets for modules and sensors
2 x N right angle
Pitch:
2.54 or 2.0 mm
Good for:
Programming and debug ports at a board edge
2 x N male
Pitch:
1.27 mm
Good for:
Fine-pitch debug headers
03

Fitting to a board

Insert the header into the board with the short pins through the holes, hold it flat (a breadboard helps), and solder one pin first, then check it is straight before soldering the rest. For long rows, solder the two end pins then the others. Cut longer headers with flush cutters if needed. Use IC or machine-pin sockets where you want a part to be swapped.

04

Current

Header pins are for signals and small currents (about an amp per pin, depending on the part). For power, use several pins in parallel or a proper power connector. See the connectors guide.

05

Common mistakes to avoid

  • !Mixing 2.54 and 2.0 mm parts.
  • !Soldering a header crooked.
  • !Using a header pin for high current.
  • !Ordering straight when right angle is needed.
  • !Reversing the pin 1 orientation on a 2-row header.
06

Frequently asked questions

What pitch is a breadboard?

2.54 mm (0.1 inch).

What is a right angle header?

One that bends 90 degrees so the plug lies flat along the board.

How do I solder straight?

Solder one pin, check, fix, then solder the rest.

Can I cut a long header?

Yes, with flush cutters, or choose a breakaway type.

Which header for a programmer?

Use the pitch and pin count named in the chip or tool data sheet, often 2 x 5 at 1.27 or 2.54 mm.

Parts for this guide

  • JST RF-H042TD-1190(LF)(SN) Pin Header, 2 x 2 (4-Pin), 2.54 mm Pitch
    ₹13View
  • CONNFLY DS1021-09-2x6SF1-C3.0-D6.0-B Pin Header, 2 x 6 (12-Pin), 2.54 mm Pitch
    ₹6View
  • CONNFLY DS1021-1x20SF11-B Pin Header, 1 x 20 (20-Pin), 2.54 mm Pitch
    ₹10View
  • CONNFLY DS1022-1x9RUF11-B Pin Header, 1 x 9 (9-Pin), 2.54 mm Pitch, Right angle
    ₹6View
  • CONNFLY DS1022-2x6RF11-B Pin Header, 2 x 6 (12-Pin), 2.54 mm Pitch, Right angle
    ₹7View
  • CONNFLY DS1025-06-2x4P8BR1-B Pin Header, 2 x 4 (8-Pin), 2 mm Pitch, Right angle
    ₹6View
  • CONNFLY DS1031-06-2x8P8BV11-3A Pin Header, 2 x 8 (16-Pin), 1.27 mm Pitch
    ₹22View
  • XUNPU FH2.54-09-08PZS Female Header, 2 x 8 (16-Pin), 2.54 mm Pitch
    ₹20View
  • CJT A2541WV-2P-9T Pin Header, 1 x 2 (2-Pin), 2.54 mm Pitch
    ₹1View

🎓 Keep learning on Electrolark

  • Learn the topicFree lessons with simulators and quizzes

Lessons are free to read. Maker (₹499/month) and Pro add quizzes, worked problems and certificates, paid with your Geekobot account. See plans

Projects that use it

Put this into practice: 1 step-by-step build in our project library uses parts from this guide.

Beginner · 2 hoursLogic gates lab: build every truth table with 74HC chips and DIP switchesView project
Browse all 1 project

Keep learning

ComparisonBeginnerElectronics ConnectorsIdentify connectors: JST XH, PH, SH and GH by pitch, Dupont headers, XT30, XT60 and XT90 plugs, screw terminals and barrel jacks, with current ratings.3 min read · Prototyping & WiringHow-toBeginnerHow to Use a BreadboardA solderless breadboard lets you build circuits by pushing parts and wires into holes, with no soldering.3 min read · Prototyping & WiringComponent guideBeginnerJumper Wires and Dupont ConnectorsJumper wires are short leads with pins or sockets that plug into breadboards and 2.54 mm headers.3 min read · Prototyping & WiringHow-toBeginnerPerfboard and StripboardPerfboard (zero PCB) is a board of holes with separate copper pads that you join with solder bridges or wire; stripboard has rows of copper strips that you cut where needed.3 min read · Prototyping & Wiring

Sources

  • CONNFLY and XUNPU header drawings

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerChoose the pitchMale, female, straight, right angleFitting to a boardCurrentCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide8 items · ₹90

JST RF-H042TD-1190(LF)(SN) Pin Header, 2 x 2 (4-Pin), 2.54 mm Pitch · CONNFLY DS1021-09-2x6SF1-C3.0-D6.0-B Pin Header, 2 x 6 (12-Pin), 2.54 mm Pitch · CONNFLY DS1021-1x20SF11-B Pin Header, 1 x 20 (20-Pin), 2.54 mm Pitch · CONNFLY DS1022-1x9RUF11-B Pin Header, 1 x 9 (9-Pin), 2.54 mm Pitch, Right angle · CONNFLY DS1022-2x6RF11-B Pin Header, 2 x 6 (12-Pin), 2.54 mm Pitch, Right angle · CONNFLY DS1025-06-2x4P8BR1-B Pin Header, 2 x 4 (8-Pin), 2 mm Pitch, Right angle · CONNFLY DS1031-06-2x8P8BV11-3A Pin Header, 2 x 8 (16-Pin), 1.27 mm Pitch · XUNPU FH2.54-09-08PZS Female Header, 2 x 8 (16-Pin), 2.54 mm Pitch

Ask the Community

Ask a question