Diagonal calculator | ScratchStats