The complement of any angle can be calculated by simply subtracting the angle from 180 degrees.  Thus, for a 45-degree angle, the complment is 
 
180 - 45 = 135 degrees