All formulas used by the analysis engine. No derivations — only the equations applied, their inputs, and references.
Total gain
G total = G 1 + G 2 + ⋯ + G n (dB) G_{\text{total}} = G_1 + G_2 + \cdots + G_n \quad \text{(dB)} G total = G 1 + G 2 + ⋯ + G n (dB)
All stage gains are summed in dB. Passive stages (filters, attenuators) contribute negative gain equal to their insertion loss.
Power propagation
P out = P in + G (dBm) P_{\text{out}} = P_{\text{in}} + G \quad \text{(dBm)} P out = P in + G (dBm)
Requires Input Power to be set in the system spec. Without it, absolute power levels are UNKNOWN.
Convert each stage's Noise Figure and Gain from dB to linear:
F i = 10 N F i / 10 , g i = 10 G i / 10 F_i = 10^{NF_i / 10}, \qquad g_i = 10^{G_i / 10} F i = 1 0 N F i /10 , g i = 1 0 G i /10
Cascade:
F cas = F 1 + F 2 − 1 g 1 + F 3 − 1 g 1 g 2 + ⋯ + F n − 1 g 1 g 2 ⋯ g n − 1 F_{\text{cas}} = F_1 + \frac{F_2 - 1}{g_1} + \frac{F_3 - 1}{g_1 g_2} + \cdots + \frac{F_n - 1}{g_1 g_2 \cdots g_{n-1}} F cas = F 1 + g 1 F 2 − 1 + g 1 g 2 F 3 − 1 + ⋯ + g 1 g 2 ⋯ g n − 1 F n − 1
Convert back to dB:
N F cas = 10 log 10 ( F cas ) (dB) NF_{\text{cas}} = 10 \log_{10}(F_{\text{cas}}) \quad \text{(dB)} N F cas = 10 log 10 ( F cas ) (dB)
Implication: Stages early in the chain dominate the cascaded NF. A high-NF first stage is almost impossible to recover from, regardless of later stages.
Reference: Friis, H.T. (1944). "Noise Figures of Radio Receivers." Proc. IRE, 32(7), 419–422.
Cascaded IP3
This example uses "Output-referred" IP3 (OIP3), as opposed to "Input-referred" IP3 (IP3). The relationship between IIP3 and OIP3 is:
O I P 3 dBm = I I P 3 dBm + G dB OIP3_{\text{dBm}} = IIP3_{\text{dBm}} + G_{\text{dB}} O I P 3 dBm = I I P 3 dBm + G dB
Convert each stage's OIP3 and Gain from dB to linear:
o i p 3 i = 10 O I P 3 i / 10 , g i = 10 G i / 10 oip3_i = 10^{OIP3_i / 10}, \qquad g_i = 10^{G_i / 10} o i p 3 i = 1 0 O I P 3 i /10 , g i = 1 0 G i /10
Cascade:
1 O I P 3 total = 1 O I P 3 1 + 1 O I P 3 2 ⋅ G 1 + 1 O I P 3 3 ⋅ G 1 G 2 + ⋯ + 1 O I P 3 N ⋅ G 1 G 2 ⋯ G N − 1 \frac{1}{OIP3_{\text{total}}}=
\frac{1}{OIP3_1}
+
\frac{1}{OIP3_2 \cdot G_1}
+
\frac{1}{OIP3_3 \cdot G_1 G_2}
+
\cdots
+
\frac{1}{OIP3_N \cdot G_1 G_2 \cdots G_{N-1}} O I P 3 total 1 = O I P 3 1 1 + O I P 3 2 ⋅ G 1 1 + O I P 3 3 ⋅ G 1 G 2 1 + ⋯ + O I P 3 N ⋅ G 1 G 2 ⋯ G N − 1 1
Convert to dBm:
O I P 3 dBm = 10 log 10 ( o i p 3 m W ) (dBm) OIP3_{\text{dBm}} = 10 \log_{10}(oip3_{mW}) \quad \text{(dBm)} O I P 3 dBm = 10 log 10 ( o i p 3 mW ) (dBm)
Cascaded IIP3:
I I P 3 cas = O I P 3 cas − G total (dBm) IIP3_{\text{cas}} = OIP3_{\text{cas}} - G_{\text{total}} \quad \text{(dBm)} I I P 3 cas = O I P 3 cas − G total (dBm)
Implication: Each stage's nonlinearity contribution is scaled by the gain before it, so later stages dominate the overall OIP3 and the final amplifier typically sets the linearity limit.
Reference: Razavi, B. (2012). RF Microelectronics, 2nd ed. Prentice Hall. Ch. 2.
Cascaded OIP2
Similar recursive structure as OIP3:
1 o i p 2 cas = 1 o i p 2 1 ⋅ g 2 + 1 o i p 2 2 \sqrt{\frac{1}{oip2_{\text{cas}}}} = \sqrt{\frac{1}{oip2_{1} \cdot g_2}} + \sqrt{\frac{1}{oip2_2}} o i p 2 cas 1 = o i p 2 1 ⋅ g 2 1 + o i p 2 2 1
Convert to dBm:
O I P 2 dBm = 10 log 10 ( o i p 2 m W ) (dBm) OIP2_{\text{dBm}} = 10 \log_{10}(oip2_{mW}) \quad \text{(dBm)} O I P 2 dBm = 10 log 10 ( o i p 2 mW ) (dBm)
Cascaded IIP2:
I I P 2 cas = O I P 2 cas − G total (dBm) IIP2_{\text{cas}} = OIP2_{\text{cas}} - G_{\text{total}} \quad \text{(dBm)} I I P 2 cas = O I P 2 cas − G total (dBm)
Image frequency (heterodyne chains)
When a mixer is present in the chain, the image frequency (an unwanted sideband from the frequency conversion) is computed as:
Image = 2 × L O − R F \text{Image} = 2 \times LO - RF Image = 2 × L O − R F
This formula is valid for both high-side and low-side LO injection. The result is mathematically equivalent to:
High-side: Image = R F + 2 × I F \text{Image} = RF + 2 \times IF Image = R F + 2 × I F
Low-side: Image = R F − 2 × I F \text{Image} = RF - 2 \times IF Image = R F − 2 × I F
The image location is important for filter design and spur management . If the image falls within the RF band, image rejection filtering becomes critical to prevent interference.
Note: The image frequency is computed directly from LO and RF center frequencies and is independent of the explicit IF value.
Cascaded OP1dB
Calculations for cascaded P1dB are done using "Output-referred" P1dB.
The relationship between "Output-referred" to "Input-referred" is:
O P 1 d B dBm = I P 1 d B dBm + ( G dB − 1 ) OP1dB_{\text{dBm}} = IP1dB_{\text{dBm}} + (G_{\text{dB}} - 1) O P 1 d B dBm = I P 1 d B dBm + ( G dB − 1 )
First convert to linear:
o p 1 d B = 10 O P 1 d B 10 op1dB = 10^{\frac{OP1dB}{10}} o p 1 d B = 1 0 10 O P 1 d B
g = 10 G 10 g = 10^{\frac{G}{10}} g = 1 0 10 G
Cascade:
1 o p 1 d B total = 1 o p 1 d B 1 + 1 o p 1 d B 2 ⋅ g 1 + 1 o p 1 d B 3 ⋅ g 1 g 2 + ⋯ + 1 o p 1 d B n ⋅ g 1 g 2 ⋯ g n − 1 \frac{1}{op1dB_{\text{total}}}=
\frac{1}{op1dB_1}
+
\frac{1}{op1dB_2 \cdot g_1}
+
\frac{1}{op1dB_3 \cdot g_1 g_2}
+
\cdots
+
\frac{1}{op1dB_n \cdot g_1 g_2 \cdots g_{n-1}} o p 1 d B total 1 = o p 1 d B 1 1 + o p 1 d B 2 ⋅ g 1 1 + o p 1 d B 3 ⋅ g 1 g 2 1 + ⋯ + o p 1 d B n ⋅ g 1 g 2 ⋯ g n − 1 1
Convert to dBm:
O P 1 d B dBm = 10 log 10 ( o p 1 d B m W ) (dBm) OP1dB_{\text{dBm}} = 10 \log_{10}(op1dB_{mW}) \quad \text{(dBm)} O P 1 d B dBm = 10 log 10 ( o p 1 d B mW ) (dBm)
Cascaded IP1dB:
I P 1 d B cas = O P 1 d B cas − ( G dB − 1 ) (dBm) IP1dB_{\text{cas}} = OP1dB_{\text{cas}} - (G_{\text{dB}} - 1) \quad \text{(dBm)} I P 1 d B cas = O P 1 d B cas − ( G dB − 1 ) (dBm)
Headroom
Headroom refers to the dB margin between a signal level and a specified nonlinearity or limit.
P1dB Headroom = P 1 d B cas − P out \text{P1dB Headroom} = P1dB_{\text{cas}} - P_{\text{out}} P1dB Headroom = P 1 d B cas − P out
Warning triggered when calculated headroom < Headroom Margin (default: 3 dB).
Color coding: green ≥ margin, yellow 0 to margin, red < 0.
Noise spectral density (NSD)
N S D in = 10 log 10 ( k T sys ) + 30 dB + N F src (dBm/Hz) NSD_{\text{in}} = 10\log_{10}(kT_{\text{sys}}) + 30\ \text{dB} + NF_{\text{src}} \quad \text{(dBm/Hz)} N S D in = 10 log 10 ( k T sys ) + 30 dB + N F src (dBm/Hz)
where:
k k k = Boltzmann constant (1.38 × 10 − 23 1.38 \times 10^{-23} 1.38 × 1 0 − 23 J/K)
T sys T_{\text{sys}} T sys = system noise temperature (K), default 290 K
N F src NF_{\text{src}} N F src = source noise figure (dB), default 0 dB
+ 30 dB +30\ \text{dB} + 30 dB converts dBW/Hz to dBm/Hz
N S D out = N S D in + G total + N F total (dBm/Hz) NSD_{\text{out}} = NSD_{\text{in}} + G_{\text{total}} + NF_{\text{total}} \quad \text{(dBm/Hz)} N S D out = N S D in + G total + N F total (dBm/Hz)
where:
G total G_{\text{total}} G total = total cascaded gain (dB)
N F total NF_{\text{total}} N F total = cascaded noise figure (dB)
Noise floor
Noise Floor = N S D out + 10 log 10 ( B W RF ) (dBm) \text{Noise Floor} = NSD_{\text{out}} + 10\log_{10}(BW_{\text{RF}}) \quad \text{(dBm)} Noise Floor = N S D out + 10 log 10 ( B W RF ) (dBm)
where B W RF BW_{\text{RF}} B W RF = RF signal bandwidth (Hz), from RF Bandwidth in the system spec.
SNR
SNR = P out − Noise Floor (dB) \text{SNR} = P_{\text{out}} - \text{Noise Floor} \quad \text{(dB)} SNR = P out − Noise Floor (dB)
where P out P_{\text{out}} P out = estimated output power (dBm).
Output voltage
V RMS = P out,W ⋅ R × 1000 (mV) V_{\text{RMS}} = \sqrt{P_{\text{out,W}} \cdot R} \times 1000 \quad \text{(mV)} V RMS = P out,W ⋅ R × 1000 (mV)
V PP = V RMS × 2 2 (mVpp) V_{\text{PP}} = V_{\text{RMS}} \times 2\sqrt{2} \quad \text{(mVpp)} V PP = V RMS × 2 2 (mVpp)
where:
P out,W P_{\text{out,W}} P out,W = output power in watts
R R R = system impedance (Ω), default 50 Ω
IMD
I M D 3 = 2 ( P out − O I P 3 cas ) (dBc) IMD3 = 2(P_{\text{out}} - OIP3_{\text{cas}}) \quad \text{(dBc)} I M D 3 = 2 ( P out − O I P 3 cas ) (dBc)
I M D 2 = P out − O I P 2 cas (dBc) IMD2 = P_{\text{out}} - OIP2_{\text{cas}} \quad \text{(dBc)} I M D 2 = P out − O I P 2 cas (dBc)
where:
O I P 3 cas OIP3_{\text{cas}} O I P 3 cas = cascaded output third-order intercept (dBm)
O I P 2 cas OIP2_{\text{cas}} O I P 2 cas = cascaded output second-order intercept (dBm)
Results are negative — intermodulation products are below the carrier.
Harmonic estimates
H 3 = I M D 3 − 9.54 (dBc) H_3 = IMD3 - 9.54 \quad \text{(dBc)} H 3 = I M D 3 − 9.54 (dBc)
H 2 = I M D 2 − 6.0 (dBc) H_2 = IMD2 - 6.0 \quad \text{(dBc)} H 2 = I M D 2 − 6.0 (dBc)
Device-class estimates derived from IMD levels.
SFDR
SFDR = 2 3 ( O I P 3 cas − N S D in − 10 log 10 ( B W RF ) − N F total − G total ) (dB) \text{SFDR} = \frac{2}{3}\left(OIP3_{\text{cas}} - NSD_{\text{in}} - 10\log_{10}(BW_{\text{RF}}) - NF_{\text{total}} - G_{\text{total}}\right) \quad \text{(dB)} SFDR = 3 2 ( O I P 3 cas − N S D in − 10 log 10 ( B W RF ) − N F total − G total ) (dB)
where B W RF BW_{\text{RF}} B W RF = RF signal bandwidth (Hz).
Requires: cascaded OIP3, cascaded NF, total gain, and RF Bandwidth.
Sensitivity (RX)
Sensitivity = Noise Floor + SNR req (dBm) \text{Sensitivity} = \text{Noise Floor} + \text{SNR}_{\text{req}} \quad \text{(dBm)} Sensitivity = Noise Floor + SNR req (dBm)
where SNR req \text{SNR}_{\text{req}} SNR req = required SNR (dB), defaults to 0 dB when not set in the system spec.
Requires: RF Bandwidth and cascaded NF.
Psat margin (TX)
Psat margin = P sat − P out,stage (dB) \text{Psat margin} = P_{\text{sat}} - P_{\text{out,stage}} \quad \text{(dB)} Psat margin = P sat − P out,stage (dB)
Shown per stage for blocks with Output Psat set (PA, driver). A positive margin means the stage is operating below saturation.
Unit conversions used internally
Conversion Formula dBm → W P W = 10 ( P dBm − 30 ) / 10 P_W = 10^{(P_{\text{dBm}} - 30) / 10} P W = 1 0 ( P dBm − 30 ) /10 W → dBm P dBm = 10 log 10 ( P W ) + 30 P_{\text{dBm}} = 10 \log_{10}(P_W) + 30 P dBm = 10 log 10 ( P W ) + 30 dB → linear x = 10 x dB / 10 x = 10^{x_{\text{dB}} / 10} x = 1 0 x dB /10 linear → dB x dB = 10 log 10 ( x ) x_{\text{dB}} = 10 \log_{10}(x) x dB = 10 log 10 ( x ) MHz → Hz multiply by 10 6 10^6 1 0 6
References
Friis, H.T. (1944). "Noise Figures of Radio Receivers." Proc. IRE , 32(7), 419–422.
Razavi, B. (2012). RF Microelectronics , 2nd ed. Prentice Hall. Ch. 2.
Pozar, D.M. (2012). Microwave Engineering , 4th ed. Wiley. Ch. 10.