what is roi of an investment in s&p 500 index in 2012 and sold in 2017?
stock performance graph the following graph provides a comparison of five year cumulative total stockholder returns of teleflex common stock , the standard a0& poor 2019s ( s&p ) 500 stock index and the s&p 500 healthcare equipment & supply index . the annual changes for the five-year period shown on the graph are based on the assumption that $ 100 had been invested in teleflex common stock and each index on december a031 , 2012 and that all dividends were reinvested . market performance .

| Company / Index | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Teleflex Incorporated | 100 | 134 | 166 | 192 | 237 | 368 |
| S&P 500 Index | 100 | 132 | 151 | 153 | 171 | 208 |
| S&P 500 Healthcare Equipment & Supply Index | 100 | 128 | 161 | 171 | 181 | 238 |

s&p 500 healthcare equipment & supply index 100 128 161 171 181 238 .

index_2017 = 208
index_2012 = 100
roi = (index_2017 - index_2012) / index_2012
answer = roi * 100