Both are drunk every day, and almost never at the same hour. This is the comparison from people who drink coffee and mate daily: format, taste and moment.
Coffee is drunk standing up, in two minutes. Mate is poured, topped up and passed around, and it lasts as long as the table does. That is the first difference, and the one you notice most.
Format, taste and moment
In the cup, coffee is bitter and short. Mate is grassy, with a longer bitterness that softens as you top it up; in a can it comes cold and lightly sparkling, which is a different thing again.
Coffee is drunk standing; mate, sitting down and with someone else.
Our recommendation is the boring one: you do not have to choose. Coffee for a short break, mate for a long one.
And if what you are after is the background, what yerba is and how it is drunk, we cover it in yerba mate, up close.