Explore & calculate

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.

How it works

  1. 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. 2

    Read the deposit

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

  3. 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) × 3,480 × 2 lamports. The 128 bytes cover the metadata every account carries: its lamport balance, owner, executable flag and so on. 3,480 is the rate in lamports per byte per year, and 2 is the exemption threshold in years, so an exempt account holds two years of nominal rent. That simplifies to 6,960 lamports per byte, on top of a fixed 890,880 lamports for the account itself.

Worked through for a 165-byte SPL token account: 165 + 128 = 293 bytes, and 293 × 6,960 = 2,039,280 lamports, or 0.00203928 SOL. Those parameters are part of the cluster's configuration and have been stable for years, but they can be changed by governance, 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 890,880 lamports, about 0.00089 SOL; that is why sending a smaller amount to a brand-new address fails. A token mint is 82 bytes and needs 1,461,600 lamports. A token account is 165 bytes and needs 2,039,280 lamports, the familiar 0.00204 SOL every time you receive a new token. An SPL multisig is 355 bytes, or 3,361,680 lamports.

Metaplex metadata accounts were created at 679 bytes, 5,616,720 lamports, for most of the NFT era; newer ones 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 2 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.00204 SOL locked inside.

Multiply the figure from this calculator by the number of accounts to see what is at stake: 100 empty token accounts hold a little over 0.2 SOL. SOLTidy's token account closer finds and closes them in batches for a fee of 5% of the rent recovered; 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

What is rent-exempt SOL on Solana?

Every account on Solana needs to hold a minimum SOL deposit proportional to its size, called the rent-exempt minimum. Pay it once and the network keeps your account on chain forever; close the account and the SOL comes back to you. The rate is roughly 6,960 lamports per byte plus a 128-byte overhead — a standard SPL token account costs ~0.00204 SOL.

How is rent calculated?

Solana's formula is `(bytes + 128) × 3,480 lamports/byte/year × 2 years`. The 128-byte overhead accounts for account header data, the 3,480 lamports/byte/year is the per-byte rate, and the 2-year multiplier is the exemption threshold. This calculator pulls the live rate from the network on load and computes locally as you type.

What sizes are typical for common accounts?

System account (just holds SOL): 0 bytes. Mint account: 82 bytes. SPL Token account: 165 bytes. Multisig: 355 bytes. Metaplex NFT metadata: ~679 bytes. Token-2022 accounts can be larger when using extensions like transfer fees or confidential transfers.

Will I get this SOL back?

Yes. The rent-exempt deposit is fully refundable when the account is closed. The Solana runtime returns it to a destination you specify (your wallet by default) the moment the close instruction succeeds. SOLTidy's Token Account Closer recovers exactly this rent for empty SPL and Token-2022 accounts.

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 equal to two years of nominal rent, 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 6,960 lamports per byte, 100 KB costs about 0.7 SOL and 1 MB about 7.3 SOL. Enter the size in bytes above for an exact figure. The deposit is refundable if the program is closed.

Is this tool free?

The Solana rent calculator is free. It reads the current rent rate from the network, needs no wallet and sends no transaction.

Guides that go deeper

Built and maintained by Jacob, a Solana trader who uses these tools daily. Content reviewed . Every transaction is built in your browser and signed in your own wallet — see the terms for fees.