mainnet 11:54:29 UTC
/index/ /tools/ /16 solana-rent-calculator
live

Solana rent
calculator.

Formula
(size+128)·6960
lamports, deterministic
Threshold
2 years
exemption multiplier
Overhead
128 B
added to every account
Network
Local
no RPC call
/16SOLANA RENT CALCULATOR
/size — pick or paste account data length
bytes
Lamports
2,039,280
In SOL
0.002039280
In USD
/reference — typical account sizes
account typedata bytesrent-exempt SOLnote
Empty wallet 0 0.00089088 SOL system account, no data
SPL Token Mint 82 0.00146160 SOL fungible token mint
SPL Token Account 165 0.00203928 SOL one user's token holding
Metaplex metadata 679 0.00561672 SOL NFT name + uri + creators
NFT (mint+meta+ata) 920 0.00729408 SOL rough total for a fresh NFT
Custom program data 10,000 0.07049088 SOL medium dev account
/notes
01
Constants come from solana-sdk.
The formula uses three protocol parameters: ACCOUNT_STORAGE_OVERHEAD = 128 bytes, LAMPORTS_PER_BYTE_YEAR = 3480, and EXEMPTION_THRESHOLD = 2 years. Multiply them and you get the per-byte rent of 6960 lamports.
02
Rent is recoverable.
Closing an account returns its lamports — the rent-exempt deposit isn't a fee, it's a deposit. That's why creating a fresh SPL token account "costs" ~0.00204 SOL but doesn't actually shrink your wallet permanently; it just locks that amount.
03
No RPC call needed.
Because the formula is deterministic and the constants are fixed in the protocol, this calculator runs entirely in your browser — no Solana RPC needed. The only network call is the SOL/USD price lookup for the dollar conversion.
/faq
01

What is rent on Solana?

Solana charges a small ongoing fee for storing data on-chain — but accounts that hold a high enough balance are "rent-exempt" and never pay. In practice every account is created at the rent-exempt threshold; rent collection on under-funded accounts is rare in modern usage.

02

How is the rent-exempt minimum calculated?

The formula is (data_size + 128) × 3,480 × 2 lamports — that is, the account size plus 128 bytes of overhead, times the lamports-per-byte-year constant, times the 2-year exemption threshold. Constants are protocol parameters set in solana-sdk.

03

Is rent ever paid back when I close the account?

Yes. Closing an account returns all its lamports to a designated recipient. Rent-exempt deposits are recoverable in full — they're not consumed, just locked while the account exists.

04

Why does an empty account still need ~0.00089 SOL?

Even a 0-byte data account incurs the 128-byte overhead Solana adds for account metadata (owner, lamports, etc.). That overhead is what the empty-account rent reserves cover.