Stop in for a cup of coffee

Question for all you smart people out there......How to calculate the compression ratio of an engine that is complete? I know compression test gives you psi, but what about the overall ratio?
I've never tried it, but I've always been told you divide the compression test PSI by 10 to get your ratio...