Sort Code and Account Number Checker
Check that a UK sort code and account number go together, using the banks' own checking rules. It catches mistyped numbers. It cannot tell you who owns the account.
The check runs in your browser. The numbers you type are never sent to us.
What this tool does
It runs the same check banks use to catch typing mistakes: a calculation, set by Pay.UK, that every valid sort code and account number pair passes. If yours fails, a digit is almost certainly wrong.
When to use it
- Before setting up a new payee or supplier.
- When you are copying bank details from an invoice, email or form.
- When a payment has been rejected and you want to rule out a typing mistake.
How it works
Each sort code has a rule published by the banks through Pay.UK, using one or two weighted checks and some special cases. The tool uses version 9.20 of that specification and tests itself against all 34 of its official test cases. Passing does not prove the account is open or who it belongs to: for a supplier's new details, use our supplier bank details check.
Questions people ask
Does a valid result mean the account belongs to the right person?
No. A valid result only means the sort code and account number are a possible combination. A fraudster's account passes too. To check who an account belongs to, use Confirmation of Payee when you set up the payment, and for a supplier ring them on a number you already hold.
Why would a genuine account number fail?
Almost always because a digit has been mistyped or two digits swapped. A few accounts use non-standard numbers, such as ten digit NatWest or Co-operative Bank numbers, which are checked using eight of the digits. If you are sure the numbers are right, ask the payee to confirm them.
Can I find out which bank a sort code belongs to?
Sort codes are listed in the Extended Industry Sorting Code Directory run by Pay.UK, which is licensed rather than free, so this tool does not show the bank name. Your own bank shows the bank and the account holder's name when you set up a payee.
What is modulus checking?
It is a calculation the UK banks agreed so that typing mistakes can be caught before a payment is sent. Each sort code has weights that are multiplied by the digits of the sort code and account number, and the total must divide exactly. The rules are published by Pay.UK.
Is it safe to type bank details into this page?
The check is done by your own browser, and the numbers are not sent to us or stored. A sort code and account number on their own are also shared on every invoice, but you should still only check details you have a reason to.