The floating interest rate is determined by adding a predetermined margin or spread to a benchmark rate, such as the Prime Rate or LIBOR. The margin is set by the lender based on factors like creditworthiness, market conditions, and the specific loan or investment product.