If you are measuring the actual transom itself, the actual transom height will be less. Run a straight edge along the bottom and then measure from the top of the transom to the straight edge at the closest point.
You are measuring the hypotenuse of a triangle when you actually want to know the long leg of the triangle which is the effective transom height.