Question: how to sync my iphone calendar to icloud?
Answer: Open the Settings app.
Tap your name at the top and choose iCloud. If you use iOS 10.2 or earlier, tap Settings > iCloud.
Enable the Calendars toggle. Make sure it's enabled on both iPhone and iPad you want to sync.