The cost to trademark a name at the federal level ranges from $225 to $400 plus legal fees or $50 to $150 for a state trademark. The average cost to trademark a logo is $225 to $600 plus any legal fees.
…
Trademark Cost.
National Average Cost $424
Average Range $275 to $660

How do I trademark a name for free?

You can not register a trademark for free. However, you can establish something known as a “common law trademark” for free, simply by opening for business. The benefit of relying on common law trademark rights is that it’s free, and you don’t need to do any specific work filling out forms, etc.