calculate LTV.