Leviticus 25:15-16

15 aYou shall pay your neighbor according to the number of years after the jubilee, and he shall sell to you according to the number of years for crops. 16If the years are many, you shall increase the price, and if the years are few, you shall reduce the price, for it is the number of the crops that he is selling to you.

Leviticus 25:27

27let bhim calculate the years since he sold it and pay back the balance to the man to whom he sold it, and then return to his property.

Leviticus 25:51-52

51If there are still many years left, he shall pay proportionately for his redemption some of his sale price. 52If there remain but a few years until the year of jubilee, he shall calculate and pay for his redemption in proportion to his years of service.
Copyright information for ESV