There were five ways Harry Potter predicted he will die and one he never thought would happen. The first was the most obvious, being killed by Lord Voldemort. It was a reality he made peace with long ago. That didn't mean that he would like it or that he would go quietly, but he knew that in the end, it would always wind up with himself and Voldemort facing each other.

The second one was dieing during Quidicttch , which if a reasonable person thinks on it, is just as likely as being killed from Voldemort. He can't count as many times that he was hurt from Quidditch. Falling from brooms and rogue Bludgers was just another part of life for him.

The third way was from saving someone he loved. How could he just sit by while is friends, the only family he had left died in protection of him, or even worse, because of him. He swore to himself that he would rather die himself than let one more person die for him the way Sirius did. But many more fell for him, Dumbledore, Moody, Remus, people he didn't even know before the names were read after Voldemort's death. At least no one would die for him again.

The fourth way was being killed by a Death Eater. The main one bring Bellatrix Lestrange, though he did not fear her. His hate and disgust was to strong. The one he feared the most was Snape. Even after Voldemort died and he figured out that Snape was good all along, a part of Harry still feared him, the mere memory of him enough to make Harry sigh in fear and thanks.

The last way was being killed by a "friend" of Hagrid's. Such as giant spiders or dragons. You couldn't really blame him for that, more scary than friendly they were.

The one way that he never expected to die was from old age. Harry after all that he endured, he never expected to live to see twenty never mind ninety. He never expected to have children to carry on his father's name. He never expected to see his grandchildren and great grandchildren grow. He never expected to marry Ginny or Ron to marry Hermione. He never expected to become a world renown Auror, but he did. He lived a good life. He died at the age of ninety, on the seventy third anniversary of Voldemort's death. He died peacefully and at peace.