Posted this in another thread:
AAoA is calculated by looking at the open date on all of your open and closed accounts. You add up all the months and then divide that number by the number of trade lines you have. After you close an account it remains on your credit report for somewhere between 7-10 years, sometimes longer than that. When that closed account drops off it will no longer be factored into your AAoA.