L-network matching calculator
An L network matches a load to a source with two parts: one in series and one to ground. Between two resistances, the part to ground sits beside the higher one; depending on the load, two or four networks work, and they differ in bandwidth, loss and how far part tolerances move them.
Enter the load as an impedance or as a measured S11 and get every L network that matches it, with standard part values, the loss in the parts, and the return loss across your band with the parts at the ends of their tolerances.
The network
The source is on the left, the load on the right. Each part is shown at its standard value, with the exact value under it where the two differ.
Result
Return loss
–
Across the band
–
The selected network
The selected network across frequency
- As fitted, with the parts’ Q
- Exact values, ideal parts
- Range with the tolerances
A worked example
A load of 10 − j25 Ω at 2440 MHz, to be matched to 50 Ω across the 2.4 GHz band, 2400 to 2483.5 MHz. Unmatched, it reflects more than half the power: a return loss of 2.8 dB, a mismatch loss of 3.25 dB. Four L networks match it. The suggested one is a 2 nH inductor in series with 2.7 nH to ground across the load (exact values 2.19 and 2.59 nH). With an inductor Q of 30 it gives a return loss of 28.2 dB at 2440 MHz and at least 23.5 dB across the band, and loses 0.34 dB in the parts. With every part at the ends of ±0.3 nH or ±5%, the worst across the band falls to 15.8 dB.
The low-pass network, 2.4 pF to ground at the source and 3 nH in series, does as well across the band as fitted, 23.7 dB at worst, but its tolerances take that down to 10.6 dB, and it loses 0.65 dB in its parts, nearly twice as much. ±0.3 nH is ±10% of a 3 nH inductor, so which network you pick matters more than the rounding.
How the calculator works
An L network matches when the impedance it presents to the source is the source impedance’s conjugate, so the source delivers all the power it can. With the part to ground beside the load, that is possible when the load’s conductance, the real part of 1/ZL, is at most 1/Rs; beside the source, when the load’s resistance is at most the source’s, for a resistive source. At least one of the two holds for any load with resistance, and each that holds gives two networks, one for each sign of a square root, so there are two or four.
Each exact value is then rounded to the standard values either side of it, and of the combinations the calculator keeps the one with the best return loss at the frequency, or with a band, the best worst case across it; a part under 0.2 nH or 0.05 pF is left out. The values are worked out for ideal parts, so when the parts’ resistance is no longer small next to the load’s, the result says so.
The return loss, the loss in the parts and the bandwidth come from the network’s exact two-port response with those values, each part’s Q taken as a series resistance at the design frequency. For the tolerances, each part is set to the bottom, the middle and the top of its range, nine combinations in all, and the worst return loss is reported.
The solutions are checked against worked examples from two RF textbooks and against brute force: two thousand random sources and loads, every network matched exactly. The code and the checks are published with the calculator code on GitHub.
How far to trust the result
- The board. Pads, the trace between the parts and the ground vias add capacitance and inductance of their own. Values under about 0.5 pF or 1 nH are the same size as those, so the layout sets them as much as the part does.
- The parts. A chip inductor or capacitor behaves as one only well below its self-resonant frequency, and its Q changes with frequency. Check both on its datasheet at your frequency.
- The load across the band. The calculator knows the load at one frequency and extends it as a resistance with one inductor or capacitor. An antenna near its resonance changes faster than that, so measure the matched antenna across the band, and use the bandwidth here to compare networks rather than as a prediction.
- The measurement. An S11 measured through a cable or pigtail includes its delay, which rotates the impedance; move the reference plane to the board before using the reading. The antenna-in-enclosure article covers tuning on a built unit.
Common questions
Which L network should I use?
Usually the one that keeps the widest band and moves least with part tolerances, which for a resistive load is the one with the lowest Q. The calculator suggests the one that holds up best across your band with the tolerances counted, or with no band given, the one with the widest band. Then look at what else each one does. A series inductor with a capacitor to ground is a low-pass network and adds some harmonic filtering; a series capacitor blocks DC; an inductor to ground shorts DC, which matters if a bias or a DC feed shares the line.
Do I match to the impedance in the datasheet or to its conjugate?
It depends on which impedance the datasheet gives. Some give the impedance of the chip’s RF pin, which the network matches by presenting its conjugate. Others give the load impedance the pin should see, often the one for a power amplifier’s best output, which the network has to present as it is. Take one for the other and the network presents the reactance with the wrong sign, doubling it instead of cancelling it. Set “The figure is” in the calculator to say which you have.
Why do the values change once the parts are on the board?
The pads, the trace between the parts, the ground vias and the parts’ own parasitics add tenths of a picofarad and of a nanohenry, comparable to the smaller values in a network at a few gigahertz. And a load measured on a test board, or out of its enclosure, is not the load in the product. Use the calculated values as the starting point, then tune on a built unit with a network analyzer.
What does Q mean for a matching network?
It is the ratio of reactance to resistance at a point along the match: √(Rhigh/Rlow − 1) at the middle node between two resistances, so 2 for 50 Ω to 10 Ω. A reactive load brings its own Q, |X|/R, and no L network gets below it, so the calculator shows the highest Q along the match, the load included. A higher Q means a narrower band, a match more sensitive to part tolerances, and more current circulating through the parts, so more loss for the same part Q. For a large step, two L networks in a row through an intermediate resistance, such as √(Rhigh·Rlow), each have a lower Q and together give a wider band than one.
Matching an antenna or a radio?
If a radio or an antenna needs matching on a real board, or a match that worked on the bench doesn’t hold up in the product, get in touch.
Based in southern Indiana. Working with clients anywhere, including companies across the Midwest.