Log into the Find My iPhone site via iCloud. Enter your Apple ID and password. You would not need your iPhone passcode here, but you will need access to your Apple account. Select your iPhone from the drop-down list of options. Click Erase iPhone and then confirm your decision.