Calculates both static and dynamic compression ratios:

http://members.uia.net/pkelley2/DynamicCR.html