You use the expression by far when you are comparing something or someone with others of the same kind, in order to emphasize how great the difference is between them. For example, you can say that something is by far the best or the best by far to indicate that it is definitely the best. [emphasis]
By far the most important issue for them is unemployment.
It was better by far to be clear-headed.