For borrowers who want to pay off a loan before the due date, the total cost can vary based on the remaining principal, accrued interest and fees in the contract.