# What is a token tax? Buy tax and sell tax explained

> Canonical: https://blazephoenix.xyz/learn/what-is-a-token-tax/
> License: CC BY-NC-ND 4.0 (attribution + link) · © 2026 BlazePhoenix
> Updated: 2026-10-05

A token tax is a fee coded into the token contract that takes a share of every buy, sell or transfer, on any DEX. How the contract tells a buy from a sell, why a sell tax that an owner can still change is the real risk, and four checks to measure the tax before you trade.

A token tax is a fee coded into a token's own contract. It takes a percentage of the tokens moved on a buy, a sell or a transfer: with a 5 percent sell tax, selling 100 tokens sends 95 to the pool. The tax belongs to the token, not to the exchange, so every DEX and aggregator pays it alike.

## How the tax is taken

A tax lives in the token's transfer function, which runs on every movement of the token. When the contract sees tokens moving into its liquidity pair it treats the move as a sell; tokens coming out of the pair, as a buy; anything else, as a plain transfer. It then diverts its share — to a project wallet, back into liquidity, or to a burn address — and passes on the rest.

Because the rule is part of the token, no exchange can route around it. That is also why a quote can look generous and the delivered amount disappoint: the quote may price the pool, while the token removes its share on the way. Tools that simulate a real sale see the tax; tools that only read reserves do not.

## Buy tax, sell tax, transfer tax

Three kinds of tax exist, and the sell tax is the one that traps people.

## Why a changeable sell tax is the real risk

A buy tax shows itself the moment you buy. A sell tax is felt only on the way out, and if the contract lets an owner change it, it can be raised after you buy. A sell tax set to 99 percent turns a token into a honeypot with no other trick: the sale succeeds, and almost nothing arrives.

So the size of today's tax matters less than who can change it. A disclosed 3 percent tax that no one can raise is a known cost. A 0 percent tax that an owner can set to anything is an open question every time you sell. Check the fee-setting functions on the explorer and whether ownership has been renounced.

## How to measure it before you trade

Four checks, in the order that catches the most problems for the least effort.

## Reading the number

A measured tax is a reading at one block, so read it together with who controls it. As a rule of thumb, a few percent that is disclosed and frozen is a cost you can price in; ten percent or more is expensive to exit; anything an owner can still change has no stable value at all. BlazePhoenix itself charges a 0.28 percent protocol fee on quoted output, set in the contract and shown in every quote — a different thing from a token tax, which the token takes whatever venue you use.

**Verify it yourself:** Open https://blazephoenix.xyz/xray/?chain=8453&token=<address> — the simulation line shows the measured buy tax and sell tax

Related: https://blazephoenix.xyz/learn/how-to-check-if-a-token-is-a-honeypot/ · https://blazephoenix.xyz/learn/minimum-output-explained/ · https://blazephoenix.xyz/learn/renounced-ownership-explained/ · https://blazephoenix.xyz/learn/what-is-a-honeypot/ · https://blazephoenix.xyz/learn/exit-route-vs-sell-simulation/
