You can put this solution on YOUR website! So, we use the Pythagorean theorem to determine what will essentially be the hypotenuse.
a^2 + b^2 = c^2
4^2 + 4^2 = c^2
16 + 16 = c^2 = c^2 * = c^2
4 = c^2
4*1.414 = c^2
c = 5.656 is the diagonal.
Cleomenius.