SWR along the line animation: vswr_wave_0.html
Mathematically we calculate SWR by determining the reflection coeficient gamma ($\Gamma$) which is a function of the load impedance ($Z_L$) and the source impedance ($Z_0$). These 2 impedances are complex number.
$$ \Gamma = \frac{Z_L - Z_0}{Z_L + Z_0} $$or
$$ \Gamma = \frac{V_{rev}}{V_{fwd}} $$or
$$ \Gamma = \frac{VSWR+1}{VSWR-1} $$VSWR is them calculated using $\Gamma$ in the following equation:
$$ VSWR = \frac{1+|\Gamma|}{1-|\Gamma|} $$In our example above we have the forward voltage is 20V, and the reverse voltage is 15V:
$$ \begin{align} \Gamma &= \frac{10}{20} && = 0.5 \\ \nonumber VSWR &= \frac{1+0.5}{1-0.5} && = 3 \end{align} $$We can calculate the SWR from the Return Loss: $$ VSWR = \frac{10^{\frac{RL}{20}}+1}{10^{\frac{RL}{20}}-1} $$
The following equation is especially useful when using a directional power meter. It allows you to calculate the VSWR from the forward and reverse power.
$$ VSWR = \frac{1+\sqrt{\frac{P_{ref}}{P_{fwd}}}}{1-\sqrt{\frac{P_{ref}}{P_{fwd}}}} $$The return loss ($R_L$) expressed in $dB$ is normally calculated as follows: $$ R_L = -10 \log_{10}{\left(\frac{P_{ref}}{P_{fwd}}\right)} $$
It is them possible to calculate the Return loss ($R_L$) from the VSWR using the equation: $$ R_L = -20 \log_{10}{\left(\frac{VSWR+1}{VSWR-1}\right)} $$
or
$$ \begin{align} Q &= \frac{2{\pi}fL}{R}\\ \nonumber &= \frac{2{\pi} \times 14.15 \times {10^6} \times 220 \times {10^{-9}}}{.05} \\ \nonumber &= 391 \end{align} $$To determine the target length of the antenna elements, the relationship in Eq. (4) was used: $$ L_{target} = L_{measured} \times \frac{f_{measured}}{f_{target}} $$