APR takes into account all costs associated with borrowing money, while APY calculates how much interest you will earn if you leave your money invested for a year.