The annual percentage rate is the number of costs associated with it’s interest rate (for instance, 18%) plus fees that all cardholders pay as standard (like the annual cost).
[daily rate] x [days in billing cycle] x [average daily balance] = interest
Know that this is different for every company and you need to double-check the fine print before signing a contract.