The easiest way to get your IFSC code using your account number requires the following information. The first four digits of the code must indicate the name of the bank. If you have an account with the HDFC bank, the first four digits of your account number will be HDFC. Numerals five and six are always zero. The first five digits of your account number will be the last five.