how to calculate tvl ratio