calc ratio