Still with me? Good! Believe me, this is simple. In fact, this explanation takes longer than the process. The figure below shows the basic concept of determining height or altitude:
An example: baseline is 300 feet and your measured angle is 40 degrees. The tangent for 40 degrees is .839, so 300 * .839 = 251.7 feet.