(Assuming you mean VHF and higher)
A couple points.
1. Setting aside things like troposcatter, skip, aircraft/satellites in space, and power, receiver sensitivity, the main factor is terrain and object in the intervening path (with frequency also having some effect). There is software that takes into account terrain.
2. The antenna height at the other end is just as much a factor.
3. In simplest form, if one assumes a spherical earth and just considers line-of-sight, the range would be:
1.23 x (square_root(h1) +square_root(h2))
where h1 is the transmit antenna height in feet, h2 is the receive antenna height in feet, and the answer is in miles.
Ex. If both antennas are at 100 ft., the line-of-sight range is 24.6 or about 25 miles; but if one antenna is at 100 ft. and the other at 6 feet, the lien-of-sight range will be 15.3 miles. (Do not forget the above assumptions and that most commercial antenna sites are on high ground--one might use height above average terrain to try to take that into account.)
(In the above, remember the mathematical rules of order of operations for the above: Do the parenthesis first (starting with inside ones). Do multiplications before additions and subtractions.
(The above formula comes from adding the distances to the horizon of the two antennas.)
Everything else (factors listed above) increase or decrease this.