Open Interest also know as OI, is the total number of options and futures contracts that are not closed on a particular day. As you might be aware of volume in a particular stock in equity market, option trading involves the creation of a new option contract when a trade is placed. Open interest will tell you the total number of option contracts that are currently open.
Note:- http://nseguide.com/what-is-open-interest/
http://www.investopedia.com/terms/o/openinterest.asp
How to calculate Open Interest
Each trade completed on the exchange has an impact upon the level of open interest for that day.
For example, if both parties to the trade are initiating a new position ( one new buyer and one new seller), open interest will increase by one contract.
If both traders are closing an existing or old position ( one old buyer and one old seller) open interest will decline by one contract.
The third and final possibility is one old trader passing off his position to a new trader ( one old buyer sells to one new buyer). In this case the open interest will not change.
http://www.tradingpicks.com/open_interest.htm