A bank account number is a unique number associated with your bank account. A sort code is a six-digit number that identifies your financial institution. The first two digits identify which bank it is, and the last four digits refer to the specific branch of the bank where you opened the account.