Bought my iPhone XR new in October 2018 and I'm still using it. Was tempted to finally upgrade this year to an iPhone 15, but I think I'll wait to see if the XR is dropped from iOS 18 as I suspect it might be and then update in Fall of 2024 to an iPhone 16 Pro and any new generative AI they introduce.For me iPhone 4(2010) to 6(2014). So 4 years.