I'm not the best at maths, but Pythagorean theorem only works with right angle triangles and triangle you're making there probably isn't a perfect right angle to that's where your measurement is out.
I could be spouting absolute shit though.
The chainstay is my hypotenuse, BB drop is vertical, rightangles to the line between the BB centre and the rear axle centre.
The chainstay is my hypotenuse, BB drop is vertical, rightangles to the line between the BB centre and the rear axle centre.