xencatCreate token

Solana Token Decimals and Supply: How to Choose and What Is Fixed

Solana token decimals set how finely one token can be divided, and the value is fixed forever when the token is created. Token supply is different: it can grow while a mint authority exists and it shrinks whenever a holder burns tokens. Most tokens use 6 or 9 decimals, and wallets, explorers and liquidity pools on Solana handle both.

Those two numbers are the fields people rush through in a creation form. They are also the ones you cannot edit afterwards, so they deserve five minutes of thought before you create your token.

How supply and decimals are stored on chain

A token's mint account keeps the supply as one whole number with no decimal point. That number counts the smallest indivisible units of the token. Next to it, the mint stores the decimals as a single small number.

Wallets and explorers combine the two for display. They take the raw number and move the decimal point left by the decimals value.

An example makes it concrete. You create 1,000,000,000 tokens with 9 decimals. On chain the supply is written as 1,000,000,000,000,000,000 units. A holder with "2.5 tokens" really owns 2,500,000,000 units. The same supply with 6 decimals would be stored as 1,000,000,000,000,000 units, and 2.5 tokens would be 2,500,000 units.

Nothing else on chain knows about "whole tokens". Transfers, burns and pool balances all move raw units.

What Solana token decimals change in practice

Decimals decide the smallest amount that can exist or move.

  • With 9 decimals the smallest amount is 0.000000001 of a token. SOL itself uses 9.
  • With 6 decimals it is 0.000001. USDC uses 6.
  • With 0 decimals the token only exists in whole units. Nobody can hold or send half of one.

Decimals do not change what the token is worth, how the supply is displayed or how it trades. A billion tokens is a billion tokens at 6 decimals and at 9. The difference only shows up at the far right of very small balances.

Zero decimals is a deliberate choice for things that should not be split: tickets, memberships, items in a game. For a token meant to be traded it causes friction, because every trade has to round to a whole token.

The hard limit on token supply

The supply field is a 64-bit unsigned integer. Its largest possible value is 18,446,744,073,709,551,615 raw units. Because raw units include the decimals, more decimals leave less room for whole tokens.

DecimalsSmallest amountLargest supply the chain allowsLargest supply XenCat's form accepts
01About 18.4 quintillion1 quintillion
20.01About 184 quadrillion10 quadrillion
60.000001About 18.4 trillion1 trillion
90.000000001About 18.4 billion1 billion

XenCat keeps the raw supply at or under a 1 followed by 18 zeros, a little below the chain's own ceiling, so the form's limit is a round number at every decimals setting. If the supply you type does not fit the decimals you picked, the Create button stays disabled and the line beside it tells you why.

The practical consequence: 1 billion tokens fits at 9 decimals, and anything larger needs fewer decimals. A supply of 100 billion works at 6 decimals and below.

What you can change later and what you cannot

PropertyCan it change after creation?How
DecimalsNeverFixed in the mint account
Mint addressNeverIt is the token's identity
Supply, upwardsOnly while a mint authority existsThe authority mints more
Supply, downwardsAlwaysAny holder can burn their own tokens
Name, symbol, logoOnly while the metadata is editableThe update authority edits it

This table is the reason the three switches in the creation form matter. Turn on Revoke mint and the "upwards" row becomes "never" too. The supply you typed is then the most that will ever exist. The guide to mint, freeze and update authority goes through each switch.

If the decimals are wrong, there is no repair. The only fix is to create a new token and ask every holder to move over, which is hard to do once a token has spread.

How to choose the supply

Supply is an arbitrary number. A token with 1 billion units is not "bigger" than one with 1 million. The market value of the whole token, divided by the supply, gives the price of one unit, so a larger supply simply means a smaller price per token for the same total value.

What the number does affect is how the token reads to people.

Unit price. With a very large supply, one token costs a tiny fraction of a cent and prices show a long run of zeros. With a small supply, people hold fractions like 0.004 of a token. Pick the range you want holders to think in.

Convention. Many community tokens on Solana use 1 billion. People are used to reading holdings and percentages against that number, which is a fair reason to stay close to it if you have no reason to differ.

Distribution. If you plan to send small amounts to many wallets, make sure the smallest share is still a sensible number at your decimals.

Future needs. If you might need more tokens later (rewards, a second round), you have two honest options. Mint the full amount now and hold the reserve in a wallet people can see, or keep the mint authority and tell holders that you kept it. A fixed supply with revoked mint authority is the simpler story to explain.

How to choose the decimals

For a tradable token, choose between 9 and 6.

9 decimals matches SOL and gives the finest division. Supply tops out at 1 billion in XenCat's form.

6 decimals matches USDC and is plenty of precision for any real use. It leaves room for supplies up to 1 trillion.

0 decimals is for whole items that should never be split.

Values in between work technically and there is rarely a reason to pick them. Wallets, explorers and liquidity pools handle any value from 0 to 9 without special treatment.

A quick rule: if your supply is 1 billion or less and you have no preference, both 6 and 9 are fine. If it is more than 1 billion, use 6.

Mistakes people make with supply and decimals

Typing raw units into the supply field. The form asks for whole tokens. If you want 1 billion tokens, type 1,000,000,000, whatever the decimals are. The form does the multiplication.

Choosing 0 decimals for a token meant to trade. It works, and every swap is then forced to whole numbers.

Planning to "adjust decimals later". There is no such operation on Solana.

Revoking mint authority and then noticing a missing zero. Supply can be reduced by burning, so too many tokens is fixable. Too few tokens with no mint authority is permanent. Read the supply in the live preview, where it is shown with digit grouping, before you approve.

Expecting supply to drive price. The number of tokens says nothing about demand. Choose it for readability, and do not expect it to do anything for the price.

When both numbers are settled, type them into the XenCat form and check them in the live preview before you sign. The creation walkthrough covers the other fields. Solana's own token documentation describes the mint account fields if you want the technical layout.

FAQ

How many decimals should a Solana token have?

Use 6 or 9 for a token that will be traded. Nine matches SOL, six matches USDC, and both are supported everywhere. Use 0 only for things that must stay whole, such as tickets or memberships.

Can I change the decimals of a token after creating it?

No. Decimals are written into the mint account when the token is created and no instruction can alter them. If they are wrong, the only option is to create a new token.

What is the maximum supply of a Solana token?

The chain stores supply as a 64-bit number, so the limit is 18,446,744,073,709,551,615 raw units. In whole tokens that is about 18.4 billion at 9 decimals and about 18.4 trillion at 6. XenCat's form accepts up to 1 billion at 9 decimals and 1 trillion at 6.

Can I increase the token supply later?

Only if the mint authority still exists. Its holder can mint more at any time. Once the mint authority is revoked, the supply can never rise again and can only fall when tokens are burned.

Does a higher supply make each token cheaper?

For the same total market value, yes: the price of one token is that value divided by the supply. Supply does not create or remove value by itself, and it does not predict what anyone will pay.