Sync contacts from iPhone to Gmail [duplicate]

Check your default contacts account on your iPhone by tapping through Settings > Mail, Contacts, Calendars. Next, under the CONTACTS section, tap on "Default Account". Finally, tap your Gmail account from the list.

Now every new contact you create on the iPhone will automatically push to your Gmail account.