including your method for finding the horizon altitude, remotely. This is not a particularly difficult equation. There are various factors to take into account, but you have a 2 degree tolerance so that should allow for the refraction issue.
This indicates how much at sea you are and a misunderstanding of the basic teminology .
The altitude does include refraction .i.e. the altitude is apparent alt. - refraction