Microwave Link Budget Calculator
Transmit power in, received level out, with every line of the budget shown so it can be checked against a rack. Free-space path loss, EIRP, RSL and fade margin from figures you supply — including the receiver threshold, which has to come from the radio's specification.
The path
The radios
The threshold is the level at which the radio stops meeting its error target, at the modulation you are planning for. It is on the datasheet and it differs for every modulation state — a figure for 256QAM is not the figure for QPSK.
The budget
What the numbers mean
EIRP is what the antenna radiates, referenced to a theoretical isotropic radiator. Transmit power, minus everything lost getting to the antenna, plus the antenna's gain. It is what a regulator limits and what an interference calculation starts from.
Free-space path loss is not really loss. Nothing absorbs the energy — it spreads out over an expanding sphere, so a fixed-size receiving antenna intercepts a smaller share of it the further away it is. That is why it depends on frequency at all: a higher frequency means a shorter wavelength, and a fixed physical aperture captures proportionally less of it.
Received signal level is what actually arrives. Everything in the budget is in decibels, so the whole calculation is addition.
Fade margin is the headroom between the clear-air level and the level at which the link stops working. It is the number the exercise exists to produce, and it is only as good as the threshold you put in.
The formulas, as implemented
The constant 32.44 is not a fudge factor. It is 20·log10(4π/c) adjusted for kilometres and megahertz, and it changes if you change the units — so it is computed from the speed of light rather than typed in.
Two things this does not tell you
Whether the path is clear. A budget assumes free space. If a hill, a building or the curvature of the Earth intrudes into the Fresnel zone, the real loss is higher and possibly far higher. That is a geometry question, and it is the Fresnel zone and clearance calculation.
How often the margin will be eaten. Fade margin is protection against events — rain at higher frequencies, multipath at lower ones over water or flat terrain. How much margin is enough depends on the availability you need, the climate and the path, and turning margin into an availability figure needs a propagation model with its own applicability limits.