Although all cards are linked to a bank account, the two numbers are not related to each other. Your bank account number has 24 characters (two of which are letters), while your card number has 18 characters (totally different from your IBAN).