Modulus checking is a method of validating UK bank details by applying check-digit arithmetic to a sort code and account number. Each digit is multiplied by a weight, the results are added, and the total is divided by a modulus, usually 10 or 11; if the remainder is not what the bank's rule requires, the combination cannot be valid. Banks publish weightings and exception rules for their sort code ranges, and these are compiled into a shared industry specification used alongside the Extended Industry Sorting Code Directory.
The check catches most keying errors, such as a mistyped or transposed digit, when details are first captured for a Direct Debit Instruction or a Bacs payment. It cannot show that an account is open or that the name matches; that requires a service such as Confirmation of Payee or wider account validation.
Ref 1130000632