You input the option market price to calculate the greeks and IV,
Personally, I wouldn't use HV for any option calcs - HV and IV are measured very differently.
You may vary vol in your calcs for a hypothetical price, sometimes used to examine how changes in IV might affect a trade.