> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-surcharge-extension/surcharge-tax.md).

# Surcharge Tax

With this, Tax can be applied to surcharge fees based on the tax class you select.

* **Calculate Tax On Surcharge:** Select YES to enable tax on surcharge fees.
* **Tax Class:** Select the tax class to apply the surcharge.
* **Surcharge:** Select the option to display the surcharge in the front end. Excluding Tax, Including Tax, or Including and Excluding Tax.

<figure><img src="/files/obYMlaCR16mqrAdZm74Z" alt=""><figcaption></figcaption></figure>

Frontend Display of Surcharge Tax applied on order in the cart page.

<figure><img src="/files/ofpDh9BqnlbgSDNtpL9u" alt=""><figcaption></figcaption></figure>
