A US utility patent needs three maintenance fees, due 3.5, 7.5 and 11.5 years after grant. Each can be paid without surcharge from six months before its due date, and with a surcharge during the six months after. An unpaid patent expires at the 4th, 8th or 12th anniversary of grant. Source: 35 U.S.C. 41(b) and 37 CFR 1.362.
The patent maintenance fee planner now opens with that answer, dated and cited. A test checks that the stages named in the lead are the ones the planner models. No dollar amounts are in the lead because the USPTO changes them; the planner keeps the fee table editable.