correctly vs grammatically

correctly

adv
  • In a correct manner. 

grammatically

adv
  • in a grammatical manner 

  • concerning grammar 

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