PCB Loop Antenna Calculator
Wireless keyboards, mice and remote controls often print a rectangular loop antenna directly on the PCB and tune it to the operating frequency with a parallel capacitor. Just enter the operating frequency and the loop size available on your PCB (cm, mm or inches) to get the recommended turns, loop inductance, required tuning capacitance and the nearest standard capacitor value.
How to use
- Enter the operating frequency f (for example 0.125 (125 kHz), 13.56, 27.145, 315 or 433.92 MHz).
- Choose the unit (cm, mm or inch) and enter the loop width w and height h available on the PCB (conductor center line). Keep the default PCB layer count if unsure.
- Press Calculate to get the recommended turns, loop inductance, required tuning capacitance, the nearest standard capacitor value and the resulting frequency.
- The required capacitance includes pin and trace stray capacitance; measure with a network analyzer and trim before production.
Theory and formulas
The loop inductance uses the classic rectangular-loop approximation (Grover) multiplied by the square of the turns; w and h are converted from inches to centimeters (μ0/π = 4 nH/cm). a is the equivalent conductor radius: the code uses 0.031 in for a 2-layer board and 0.01505 in for a 4-layer board.
L(nH) = 4 · N² · [ −2(w + h) + 2d − h·ln((h + d)/w) − w·ln((w + d)/h) + h·ln(2h/a) + w·ln(2w/a) ] (w, h in cm)
fo = 1 / ( 2π · √(L · C) )
Required tuning capacitance Creq = 1 / ( (2π·f)² · L )
Recommended trace width: the equivalent conductor radius a of a flat copper trace is about W / 4, so W = 4a (2-layer a = 0.031 in → about 3.15 mm; 4-layer a = 0.01505 in → about 1.53 mm); spacing equals the width
Recommended turns: among 1–300 turns, the fewest whose required capacitance is in a practical range (10–300 pF above 1 MHz; 10 pF–10 nF below 1 MHz such as 125 kHz). With more turns the trace width shrinks automatically (down to 0.1 mm) so the winding stays within 1/3 of the short side; inductance uses the mean size w − 2(N−1)W, h − 2(N−1)W
Small-loop radiation resistance Rr ≈ 31171 · ( N · A / λ² )² Ω (A, λ in m)
Aperture A = w × h
Doubling the turns makes the inductance roughly four times larger. To raise the resonant frequency, reduce C, shrink the loop or use fewer turns.
Design tips
- A small loop has a very low radiation resistance and a high Q, so a ±5% capacitor tolerance can shift the frequency noticeably. Leave trim pads for production or use C0G capacitors of ±2% or better.
- A larger aperture radiates more efficiently. When space allows, make the loop larger and use fewer turns.
- Do not pour ground copper inside or around the loop, keep it away from batteries and metal parts, and expect the plastic housing to pull the frequency down slightly.
- After tuning, measure the feed-point impedance with a network analyzer and size matching parts with the antenna impedance matching calculator.
FAQ
- Why does the PCB layer count matter?
- Board thickness and copper distribution differ between 2-layer and 4-layer boards, so the calculation uses a different equivalent conductor radius a. The smaller radius used for 4-layer boards gives a larger inductance.
- What should the tuning capacitance C include?
- Besides the added capacitor, include the input capacitance of the transceiver pins and the trace stray capacitance; otherwise the real frequency will be lower than calculated.
- Why is the recommended number of turns different from what I expected?
- For the same size, more turns mean more inductance and a smaller required capacitor. Below about 10 pF, pin and trace stray capacitance shifts the frequency a lot; above a few hundred pF the loop is inefficient. The calculator picks the turns whose capacitor is easiest to build, and the comparison table lists the others.
- Which frequencies does this calculator cover?
- It applies to small loops whose perimeter is much shorter than the wavelength, such as keyboard, mouse and remote-control products from tens to hundreds of MHz. When the perimeter approaches the wavelength, use EM simulation.
Related design tools
Designing an RF product? WENSHING supplies RF transceiver modules, LoRa modules, SMD ceramic antennas, directional antennas and UHF RFID readers, and supports custom RF circuit design.
Contact an engineer