ideally vs preferably

ideally

adv
  • Given ideal circumstances; preferably. 

  • In an ideal way; perfectly. 

preferably

adv
  • In preference; by choice; in a preferable manner. 

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