Engineering calculators

Pi Attenuator Calculator

Updated Sep 18, 2026 By Infinity Calculator
Rate Formulas
Target Attenuation
dB
Decibel is a dimensionless log ratio — it has no alternate unit.
System Impedance & Display Units
Source and load reference impedance of the system.
Quick presets
Or type any custom impedance in the field.
Applies to every calculated resistance, the schematic and the table.

R1 — Shunt (×2)
Two identical legs to ground
R2 — Series
Centre bridging element
K (voltage ratio)
Nearest Standard Resistor Values
R1 =
Nearest E24: | Nearest E96:
R2 =
Nearest E24: | Nearest E96:
Built with E24 pair
Built with E96 pair
Pi Attenuator Network
Pi attenuator schematic with calculated values A Pi attenuator: a series resistor R2 bridges the input node to the output node, and an identical shunt resistor R1 runs from each of those nodes down to the common ground rail. The input and output ports are each terminated in the system impedance Zo. Resistor labels show the currently calculated values. INPUT OUTPUT Zo = 50 Ω Zo = 50 Ω R2 (series) R1 (shunt) R1 (shunt) common ground
Step-by-Step Solution
Design Curves
Standard Attenuation Reference
Pi attenuator resistor values for common attenuation levels at the selected system impedance
Atten (dB) R1 exact R1 E24 R1 E96 R2 exact R2 E24 R2 E96

Introduction

A Pi attenuator is a small circuit that lowers a signal by a set amount. It uses three resistors. Two shunt resistors (R1) go to ground, and one series resistor (R2) sits between them. The shape looks like the Greek letter π, which is how it got its name.

This Pi Attenuator Calculator works two ways. In Synthesis mode, you type the attenuation you want in decibels (dB) and your system impedance, such as 50 Ω, 75 Ω, or 600 Ω. The tool gives you the exact R1 and R2 values you need. In Analysis mode, you type the resistor values you already have, and the tool tells you the attenuation, return loss, VSWR, and input impedance.

You also get the closest E24 and E96 standard resistor values, so you can build the circuit with real parts you can buy. The calculator shows a live schematic, a step-by-step solution, a chart, and a table of common dB values. Engineers, ham radio users, and students use Pi pads to protect inputs, set levels, and keep impedance matched in RF and audio systems.

How to use our Pi Attenuator Calculator

Pick a mode, type in your numbers, and the calculator gives you the resistor values (R1 and R2) or the attenuation, plus return loss, VSWR, a circuit diagram, and step-by-step math.

Mode tabs: Choose Synthesis if you know the dB you want and need resistor values. Choose Analysis if you already have resistors and want to know the dB.

Attenuation (dB): In Synthesis mode, type how much signal loss you want, like 6 dB. Use a number above 0 and up to 120.

R1 (shunt legs): In Analysis mode, type the value of each resistor that goes from the input and output nodes to ground. Both legs use the same value. Pick the unit (mΩ, Ω, kΩ, or MΩ).

R2 (series resistor): In Analysis mode, type the value of the resistor that bridges the input node to the output node, and pick its unit.

Impedance (Zo): Type your system impedance, such as 50 for most RF work. Pick the unit next to the box.

Quick presets: Tap 50 Ω, 75 Ω, or 600 Ω to fill in a common impedance fast instead of typing it.

Resistance output unit: Choose how you want the answers shown. Auto picks the best unit for you, or you can lock it to mΩ, Ω, kΩ, or MΩ.

Calculate and Reset: Results update as you type, but you can press Calculate to refresh. Press Reset to go back to the default 6 dB, 50 Ω setup.

What Is a Pi Attenuator?

A pi attenuator is a small circuit made of three resistors that lowers a signal's strength by a set amount. It gets its name from its shape. When you draw it, the parts look like the Greek letter π: one resistor (R2) lies flat between the input and output, and two matching resistors (R1) drop down to ground on each side.

Why Engineers Use It

Sometimes a signal is too strong for the next part of a circuit. A pi attenuator cuts it down in a clean, steady way. It works the same at low and high frequencies, and it does not add gain or noise of its own. It also keeps the impedance of the line the same on both sides, so signals do not bounce back. That is called a matched network.

Attenuation and Decibels

Signal loss is measured in decibels (dB). A 6 dB pi attenuator cuts the voltage in half. A 20 dB attenuator cuts it to one tenth. Each 20 dB step means ten times less voltage. Because decibels use a log scale, they stack easily: two 10 dB pads in a row give 20 dB total.

The Math Behind It

Two simple formulas set the resistor values. First find K, the voltage ratio:

  • K = 10(dB ÷ 20)
  • R1 = Zo × (K + 1) ÷ (K − 1) for each shunt leg
  • R2 = (Zo ÷ 2) × (K − 1 ÷ K) for the series leg

Zo is the system impedance. Most radio and test gear uses 50 Ω. Cable TV and video use 75 Ω. Old audio lines use 600 Ω.

Return Loss and VSWR

If the resistors are not exact, part of the signal reflects back toward the source. Return loss and VSWR tell you how bad that reflection is. Higher return loss is better. A VSWR near 1:1 means an almost perfect match.

Picking Real Resistors

Exact math values rarely exist as real parts. Standard resistors come in sets called E24 (5% tolerance) and E96 (1% tolerance). E96 gives closer values and tighter accuracy, so it is the better pick for RF work. At high frequencies, use small surface-mount resistors, since leads and pads add stray inductance and capacitance that change the results.

Where Pi Attenuators Are Used

  • Protecting spectrum analyzers and receivers from strong signals
  • Setting levels in RF test benches and lab setups
  • Improving match between two stages that do not fit well together
  • Fixed pads inside radios, transmitters, and cable systems

Pi vs. T Attenuator

A T attenuator does the same job but uses two series resistors and one shunt resistor. Pi networks are often easier to build on a circuit board because the two shunt resistors sit right next to ground vias. For large attenuation, the pi series resistor grows big while the shunt legs get close to Zo, which can help with board layout.


Formulas used

Voltage ratio K from attenuation
K = 10^{A/20}
Shunt resistor R1 (synthesis)
R_1 = Z_o \cdot \frac{K+1}{K-1}
Series resistor R2 (synthesis)
R_2 = \frac{Z_o}{2}\left(K - \frac{1}{K}\right)
ABCD parameters of the Pi network
A = D = 1 + \frac{R_2}{R_1},\quad B = R_2,\quad C = \frac{2}{R_1} + \frac{R_2}{R_1^2}
Forward transmission and attenuation
S_{21} = \frac{2}{A + \frac{B}{Z_o} + C Z_o + D},\qquad A_{dB} = -20\log_{10}\left|S_{21}\right|
Input impedance with Zo load
Z_{in} = R_1 \parallel \left(R_2 + \left(R_1 \parallel Z_o\right)\right) = \frac{R_1\left(R_2 + \frac{R_1 Z_o}{R_1 + Z_o}\right)}{R_1 + R_2 + \frac{R_1 Z_o}{R_1 + Z_o}}
Reflection coefficient and return loss
\Gamma = \frac{Z_{in} - Z_o}{Z_{in} + Z_o},\qquad RL = -20\log_{10}\left|\Gamma\right|
VSWR from reflection coefficient
VSWR = \frac{1 + \left|\Gamma\right|}{1 - \left|\Gamma\right|}

Frequently asked questions

How do you calculate the power rating for pi attenuator resistors?

Start with the input voltage: V1 = √(P × Zo), where P is the input power in watts. Then find the heat in each part:

  • Input shunt R1: V1² ÷ R1
  • Series R2: (V1 − V2)² ÷ R2, where V2 = V1 ÷ K
  • Output shunt R1: V2² ÷ R1

Example: 10 W into a 6 dB, 50 Ω pad (R1 = 150.5 Ω, R2 = 37.35 Ω). V1 = 22.36 V. The input shunt takes 3.3 W, the series takes 3.35 W, and the output shunt takes 0.83 W. Pick resistors rated at least double those numbers so they run cool.

Which resistor in a pi attenuator gets the hottest?

It depends on how much loss you set.

  • Low loss (1 to 3 dB): the series resistor R2 takes the most heat, because almost all the current flows through it.
  • High loss (10 dB and up): the input shunt R1 takes almost all the heat, since most of the power never reaches the far side.

The output shunt resistor always runs the coolest.

Does adding an attenuator improve VSWR?

Yes. A pad makes a bad match look better to the source. A signal that reflects off the load must pass through the pad twice, so the return loss improves by twice the pad value.

Example: a load with 6 dB return loss behind a 6 dB pad looks like 18 dB return loss. That is about 1.3:1 VSWR instead of 3:1. You pay for it with 6 dB of lost signal.

Does a pi attenuator work in both directions?

Yes. A pi pad with two equal shunt resistors is symmetric, so it gives the same loss no matter which side you feed. You can flip it around and nothing changes.

The only thing that changes is heat. The resistor closest to the source always runs hotter, so watch the power rating on both shunt legs.

Can you stack two attenuators to get more loss?

Yes, and the dB values simply add. A 10 dB pad plus a 20 dB pad gives 30 dB total. This works because both pads are matched to the same impedance, so they do not upset each other.

Stacking is also the normal way to get very high loss. Two 30 dB pads in a row beat one 60 dB pad, because signal leaking around a single high-loss pad can ruin the result.

What happens if you use a 50 ohm attenuator in a 75 ohm system?

It still passes the signal, but two things go wrong. The loss is no longer the marked value, and the impedance no longer matches, so part of the signal reflects back.

A 50 Ω 6 dB pad in a 75 Ω line gives roughly 5.7 dB of loss with a VSWR near 1.4:1. For test work or cable TV, build the pad for the impedance you are actually using.

How do you match 50 ohms to 75 ohms with the least loss?

Use a minimum loss pad. It is a two-resistor L network, not a pi network, and it loses 5.72 dB going from 75 Ω to 50 Ω.

  • 43.3 Ω in series on the 75 Ω side
  • 86.6 Ω shunt to ground on the 50 Ω side

That 5.72 dB is the physical floor for resistors. You cannot match those two impedances with a resistive pad and lose less.

What is the difference between an attenuator and a voltage divider?

A voltage divider uses two resistors and only cuts the voltage. Its input and output impedance change with the resistor values, so it upsets the line and causes reflections.

An attenuator uses three resistors sized so the input and output both stay at Zo. Signals see the same impedance in every direction, which is why pads are used in RF and 600 Ω audio lines while plain dividers are not.

Do attenuators add noise to a signal?

A pad does not add hiss of its own, but it does hurt your signal-to-noise ratio. A resistive attenuator has a noise figure equal to its loss, so a 10 dB pad has a 10 dB noise figure.

That is why pads go after a strong signal, not in front of a weak one. Never put an attenuator ahead of a low-noise amplifier unless you must protect it from overload.

How much does 3 dB, 6 dB, and 10 dB cut a signal?

  • 3 dB: half the power, about 0.71 of the voltage
  • 6 dB: one quarter the power, half the voltage
  • 10 dB: one tenth the power, about 0.32 of the voltage
  • 20 dB: one hundredth the power, one tenth the voltage

Power drops by 10−dB/10 and voltage drops by 10−dB/20. Every 6 dB halves the voltage again.

What kind of resistors work best in an RF attenuator?

Use small surface-mount thin-film resistors, such as 0402 or 0603 sizes, with 1% tolerance. They have very little stray inductance, so the pad holds its value into the GHz range.

Avoid wirewound resistors completely, since the coil inside acts like an inductor. Carbon and leaded metal-film parts are fine below about 100 MHz. Keep ground vias short and place them right at the shunt resistor pads.

Why are very small attenuation values hard to build?

Below about 1 dB the shunt resistors get huge and the series resistor gets tiny. A 0.5 dB pad at 50 Ω needs about 1,740 Ω shunt legs and a 2.9 Ω series resistor.

At that point, solder joints, trace resistance, and part tolerance are as big as the design values, so the real loss rarely matches the math. For tiny trims, a 1 dB pad is usually the smallest practical step.