Question: how often do you replace your iphone?
Answer: Realistically, you replace an iPhone when you want to replace it. You can always have a new battery put in it if the battery life is bad, buying you a 2–3 more years. Apple supports iPhones with iOS updates for 5–6 years, on average.