perhaps vs potentially

perhaps

adv
  • By chance. 

  • Modifies a verb, indicating a lack of certainty. 

noun
  • An uncertainty. 

potentially

adv
  • In a manner showing much potential; with the possibility of happening in a given way. 

How often have the words perhaps and potentially occurred in a corpus of books? (source: Google Ngram Viewer )