Your question is very hard to answer with the information you provided.
Each IOS have different feature sets with different memory and flash minimum requirements. The best answer to your question would be to use the Cisco IOS upgrate toolkit to help you find the answer.
Learn, share, save
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.