Skip to content
NEW Earn 30% affiliate commissions Get your link

Solana rent calculator

Enter an account size in bytes and see how much SOL Solana requires as a rent-exempt deposit. Live rate, common-account presets, and the deposit is fully refundable when the account closes.

Rent-exempt deposit0.001488441,488,440 lamports
Rate5,080 / byteLive from RPC

Account

Pick a common account type or enter the data size your program allocates.

bytes

Data bytes only; the 128-byte account header is added for you. Max 10 MiB.

Rent-exempt deposit

Locked in the account, returned when it closes.

0.00148844SOL
Header (128 bytes)
650,240
Data (165 bytes)
838,200
Total lamports
1,488,440

5,080 lamports / byte · live from RPC

How it works

  1. Pick a preset or enter a size

    Choose a common account type — system account, SPL token account, mint, multisig, NFT metadata or a Token-2022 account with extensions — or type any size in bytes up to 10 MiB.

  2. Read the deposit

    The rent-exempt minimum is shown in SOL and in lamports, and updates as you type.

  3. Check the rate

    The per-byte rate is read from the Solana RPC when the page loads, so the result matches what the network enforces. If the RPC is unreachable the standard rate is used.

What is rent on Solana?

Everything on Solana is stored in accounts, and every validator keeps all account data ready for fast access. To price that storage, the protocol requires each account to hold a SOL balance proportional to its size. The name rent is historical: accounts below the threshold were once charged periodically until they were emptied and deleted. That mechanism has been retired. Today every new account must be rent-exempt from the moment it is created, and a transaction that would leave an account under its minimum simply fails.

So rent now works as a refundable storage deposit. You put it down once when the account is created, it sits in the account's lamport balance for as long as the account exists, and whoever closes the account receives it back in full. Nothing is deducted over time. The cost of holding an account is only that the deposit is locked up while the account is open.

The rent-exempt minimum formula

The minimum balance is (account data size + 128) × 5,080 lamports. The 128 bytes cover the metadata every account carries: its lamport balance, owner, executable flag and so on, which is why even an account with no data needs 650,240 lamports. The rate used to be 6,960 lamports per byte; Solana has since lowered it, which is why older guides still quote larger figures.

Worked through for a 165-byte SPL token account: 165 + 128 = 293 bytes, and 293 × 5,080 = 1,488,440 lamports, or 0.00148844 SOL. An account keeps the lamports it was created with, so a token account opened at the old rate still holds 2,039,280 lamports and returns all of it when closed. The rate is part of the cluster's configuration and can change, as it has, so this calculator asks the RPC for the current minimum at two sizes and derives the rate from the answer rather than assuming it. Programs should do the same by calling getMinimumBalanceForRentExemption instead of hard-coding a figure.

Rent for common Solana accounts

A plain wallet, which is a system account with no data, needs 650,240 lamports, about 0.00065 SOL; that is why sending a smaller amount to a brand-new address fails. A token mint is 82 bytes and needs 1,066,800 lamports. A token account is 165 bytes and needs 1,488,440 lamports, about 0.0015 SOL every time you receive a new token. An SPL multisig is 355 bytes, or 2,453,640 lamports.

Metaplex metadata accounts were created at 679 bytes for most of the NFT era, and those still hold the 5,616,720 lamports they were opened with; the same size needs 4,099,560 lamports today, and newer accounts are somewhat smaller. Token-2022 accounts start at the same 165 bytes and grow with each extension enabled on the mint, so a token with transfer fees or a transfer hook costs more to hold. Deployed programs are the expensive case: a program's data account is sized to the binary, so a 300 KB program locks up a little over 1.5 SOL, recoverable if the program is ever closed.

How to get rent back

Closing an account returns its entire lamport balance, deposit included, to an address chosen by the account's authority. For token accounts that means the Token program's CloseAccount instruction, which requires a zero token balance first, so leftover tokens have to be transferred out or burned. Wallets that have traded many tokens or received airdrops typically hold dozens or hundreds of empty token accounts, each with 0.0015 to 0.002 SOL locked inside, depending on when it was opened.

Multiply the figure from this calculator by the number of accounts to see what is at stake: 100 empty token accounts hold about 0.15 SOL if all were opened at today's rate and about 0.2 SOL if all are older. SOLTidy's token account closer finds and closes them in batches for a fee of 5% of the rent recovered, and for older accounts you keep it withdraws the excess over today's minimum, 0.00055084 SOL per SPL token account, without closing them; the NFT burner, stake account manager and program buffer closer recover the larger deposits held by other account types. Accounts you still need should stay open — reopening one later simply means paying the deposit again.

Questions & answers

Is the Solana rent calculator free?

Yes. The calculator is free, needs no wallet and sends no transaction. It makes one read-only request to a Solana RPC node for the current rent rate and does the rest in your browser. Only SOLTidy's recovery tools carry a fee — for example 5% of the rent recovered when closing empty token accounts — and that is always shown before you sign.

Do I pay rent every month or year on Solana?

No. Despite the name, nothing is charged over time. All accounts must be rent-exempt, which means they hold a one-time deposit sized to the account, and the balance is never reduced by the network. The deposit stays in the account until it is closed, at which point it is returned in full.

Is it safe to close accounts to reclaim rent?

Closing an empty token account is safe: it holds no tokens, and if you receive that token again the account is simply recreated. Be careful with accounts that still hold something, since closing requires emptying them first, and burning tokens or NFTs cannot be undone. Use non-custodial tools that build the transaction for your own wallet to sign, and read what the wallet shows.

How much SOL does it cost to deploy a program?

Almost all of it is rent on the program's data account, which must be large enough for the compiled binary; deployments usually reserve extra room for upgrades. At 5,080 lamports per byte, 100 KB costs about 0.5 SOL and 1 MB about 5.3 SOL. Enter the size in bytes above for an exact figure. The deposit is refundable if the program is closed.

Bookmark SOLTidy

Then open SOLTidy from the bookmark instead of from search results or links in DMs, where look-alike scam sites live.