Concept explainer · Intermediate · 3 min read
RF Cables and Pigtails
SMA, RP-SMA, IPEX/U.FL and Choosing Coax
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
A pigtail connects a tiny board connector (IPEX or U.FL) to a panel or antenna connector (SMA or RP-SMA). Match the connector type and gender exactly: SMA and RP-SMA look similar but are not compatible. Use the shortest coax that reaches the antenna, since every extra metre and adapter loses signal, and never power a transmitter without an antenna.
Key specs at a glance
- Connector sizes
- IPEX/U.FL/MHF tiny; SMA and RP-SMA medium; N-type large
- Impedance
- 50 Ω for Wi-Fi, LoRa, GSM and GNSS
- Coax types
- RG178 and RG174 thin and flexible; RG58 thicker and lower loss
- Loss
- Increases with cable length and frequency
- Mating cycles
- IPEX is fragile, only about 30 connects
- Polarity
- SMA has a pin on the male; RP-SMA has a pin on the female
SMA, RP-SMA and IPEX
Standard SMA has a centre pin on the plug (male). Reverse-polarity RP-SMA swaps this: the plug has a socket and the jack has a pin. They have the same outer thread, so the wrong pair can look like it fits but will not connect. IPEX (also called U.FL or MHF) is a tiny snap-on connector found on ESP32, Raspberry Pi and modem modules. Snap it straight on and avoid repeated plugging.
| Connector | Typical use | Note |
|---|---|---|
| IPEX / U.FL / MHF1 | On-board antenna ports | Fragile, rated for few cycles |
| SMA male/female | GSM, GNSS, LoRa antennas | Pin on the male |
| RP-SMA | Wi-Fi routers and adapters | Pin on the female |
| N-type | Outdoor and high-power antennas | Large and weatherproof |
- IPEX / U.FL / MHF1
- Typical use:
- On-board antenna ports
- Note:
- Fragile, rated for few cycles
- SMA male/female
- Typical use:
- GSM, GNSS, LoRa antennas
- Note:
- Pin on the male
- RP-SMA
- Typical use:
- Wi-Fi routers and adapters
- Note:
- Pin on the female
- N-type
- Typical use:
- Outdoor and high-power antennas
- Note:
- Large and weatherproof
Choosing the coax
Thin cable (RG178, RG174, 1.13 mm) is flexible and easy to route inside enclosures, but it loses more signal. RG58 and thicker cable lose less over long runs but are stiffer. For a run over a metre or two at 2.4 GHz or above, use a lower-loss cable, and keep the connector count low. Each adapter adds a small loss and another place for failures.
Choosing a pigtail
- 1Board end: IPEX type (U.FL, MHF1 or MHF4). Small variants like IPEX4 are not compatible with IPEX1.
- 2Antenna end: SMA or RP-SMA, jack (female) panel mount or plug.
- 3Length: 10 to 30 cm inside a case, up to a few metres for GSM antennas on RG58.
- 4Fit: check the panel hole size and thread length.
Care and safety
Do not bend coax sharply, and do not pull on the thin cable. Tighten SMA connectors finger-tight (or with a proper torque spanner), not with pliers. Keep antennas connected whenever a radio transmits; a missing antenna can damage the output stage. Use waterproof tape or boots outdoors, and drip loops so water cannot run into the connector. For antennas themselves, see the antenna connectors guide.
Try it: Link budget fspl calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Buying SMA when RP-SMA is needed.
- Forcing an IPEX4 plug onto an IPEX1 jack.
- Using a long thin cable for a high-frequency link.
- Transmitting with no antenna connected.
- Leaving connectors unsealed outdoors.
Frequently asked questions
How do I tell SMA from RP-SMA?
Look inside the jack: SMA female has a socket; RP-SMA female has a pin.
How long can an antenna cable be?
Keep it short. A few metres of RG58 is fine at low frequency; at 2.4 GHz and up, loss is high.
Is IPEX the same as U.FL?
Yes in practice. IPEX and U.FL are compatible with MHF1.
What is a pigtail?
A short cable adapting a small board connector to a standard antenna connector.
Can I extend an antenna cable?
You can add an extension, but each connector and metre adds loss.
Parts for this guide
Calculators
Terms in this guide
Projects that use it
Put this into practice: 1 step-by-step build in our project library uses parts from this guide.
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.




