An option's IV is simply the variable solved for, when the other inputs to an option pricing model are known.
For example, to price a stock option you need: Stock price, expiration date, strike, dividends paid before its exp, risk free rate, and volatility.
If you already have an option...