If you need the account number for someone else, you need to ask them. If it is your account, you may be able to just select "savings" or "checking" on a web site, or on a phone menu. Or you can ask your bank to help with the transaction.