Leviticus 25:27
25:27 he is to calculate the value of the years it was sold, refund the balance to the man to whom he had sold it, and return to his property.
Leviticus 27:18
27:18 but if he consecrates his field after the jubilee, the priest will calculate the price for him according to the years that are left until the next jubilee year, and it will be deducted from the conversion value.