In a right angled triangle, if A is the angle which faces the opposite vertical side, then the tangent of A is the opposite side length over the adjacent side length. If A is 45 degrees, then the O and A sides are both 1 or the same value so tan 45 = 1.