Simple way to work it out is to draw a triangle with two sides of 2" in length and measure the length of the third side.
2" planned, or 2" sawn..... is the 2" finished size.....?
76mm chs should do nicely, may need just to knock the arris of the timber very slightly.
Assuming its 2" finished size.
Right angled triangle! 2" each side of the right angle, measure the hypotenuse.
76mm chs should do nicely