APY = (1 + APR/n)n − 1, where n is compounds per year. APR is the quoted nominal rate; APY (EAR in the UK) is what you actually earn or pay after compounding. Savings ads in Britain must show AER.