by a long way vs by a wide margin

by a long way

prep
  • To a considerably large extent, easily. Typically used in the negative to indicate something far removed and not easily altered. 

by a wide margin

adv
  • Synonym of by far 

How often have the words by a long way and by a wide margin occurred in a corpus of books? (source: Google Ngram Viewer )