Unsure which version of iOS your iPhone can run ... With the end of support for iOS 15 (last updated in July 2024), the iPhones 7, 6S, 6S Plus and 1st gen SE has also ended.
With the release of iOS 18 though, Apple will stop supporting iOS 15, which will mean that iPhone 7, 7 Plus, iPhone 6S, 6S Plus, and iPhone SE (1st generation) will no longer get support.
Apple has handed out the first release candidates for this generation of betas, with RC builds of iOS 18.4, iPadOS 18.4, ...