# ๐ฎFarming's Profit Formula

Let's find out more about the formula for calculating daily interest rates for** the Farming system** in the ATM-BNB and ATM-USDT pairs

Farming period : **12 months**

ATM-BNB and ATM-USDT: There are 3 profit-sharing ratios of **5-5, 3-7, 2-8** applied to both pairs, and the ratios are distributed in order within each pair.

To calculate the daily interest rate, we need to consider the following parameters:

**CURRENT:**Total USDT deposited in a day**MIN_DEP:**Minimum USDT deposit for the day in the month**MAX_DEP:**Maximum USDT deposit for the day in the month

### Formula for calculating interest rates:

First, you need to determine the first day of the month, where the interest rate will be

**APR_MAX/360**Next, you calculate the interest rate for the following days in the month using the formula:

**((CURRENT - MIN_DEP) / (MAX_DEP - MIN_DEP) * (APR_MAX - APR_MIN) + APR_MIN) / 360**

In the case where today's deposit value is equal to MIN_DEP, the interest rate will be:

**(MIN_DEP - MIN_DEP) / (MAX_DEP - MIN_DEP) * (APR_MAX - APR_MIN) + APR_MIN) / 360 = APR_MIN/360**Similarly, if today's deposit value is equal to MAX_DEP, the interest rate will be:

**(MAX_DEP - MIN_DEP) / (MAX_DEP - MIN_DEP) * (APR_MAX - APR_MIN) + APR_MIN) / 360 = APR_MAX/360**

The above formula helps calculate the daily interest rate based on the parameters of daily USDT deposits, minimum and maximum deposit levels, and profit-sharing ratios. This ensures transparency and fairness in calculating profits for investors participating in **Farming on the ATM-BNB and ATM-USDT pairs**

Last updated