Question: how to transfer contacts from one iphone to another without a computer?
Answer: Connect both your old and new iPhones to Wi-Fi.
Make sure you're signed into the same Apple ID on both devices (Settings > [your name]).
On both iPhones, open Settings > [your name] > iCloud.
Enable the Contacts toggle on both devices.