Free space path loss
FSPL in decibels = 20 log10(distance in km) + 20 log10(frequency in MHz) + 32.44, the standard free space formula from radio engineering. It describes how a radio wave spreads out over a growing sphere, so it rises 6 dB every time the distance doubles and is a bit lower at lower frequencies.
This model assumes a 14 dBm transmitter, 3 dB of combined antenna gain and a best case receiver sensitivity around minus 137 dBm at the slowest data rate. The 40 dB terrain loss is a rough stand-in; real losses depend on antenna height, crop height and ground shape.
Planning a farm network
Gateway height matters as much as distance, because the signal needs a clear zone above crops and terrain. It pays to test coverage across the field with a portable sensor before installing permanent probes.