Solana Fee Calculator – Estimate Your Transaction Cost
Calculate your exact Solana transaction fee before sending. The total fee combines a fixed base fee and an optional priority fee based on your compute budget settings.
How to Calculate Your Solana Fee
Step 1: Count the number of signatures in your transaction (usually 1 for simple transfers). Multiply by 5,000 lamports to get the base fee. Step 2: If using a priority fee, multiply your compute_unit_price (in micro-lamports) by your compute_unit_limit, then divide by 1,000,000 and round up. Step 3: Add both values to get your total fee in lamports. Divide by 1,000,000,000 to convert to SOL.
Fee Calculation Examples
Simple SOL transfer (1 signature, no priority fee): 5,000 lamports = 0.000005 SOL. Token swap with priority fee (1 sig, CU price 5,000 micro-lam, CU limit 200,000): base 5,000 + priority 1,000 = 6,000 lamports. NFT mint (1 sig, CU price 10,000, CU limit 400,000): base 5,000 + priority 4,000 = 9,000 lamports.
Converting Lamports to USD
1 SOL = 1,000,000,000 lamports. To convert lamports to USD: (lamports / 1,000,000,000) × SOL price. At $150/SOL, 5,000 lamports = $0.00075. At $200/SOL, 5,000 lamports = $0.001.
Compute Unit Best Practices
Always simulate your transaction to find the actual CU usage, then set your CU limit to 110% of actual usage — not the default maximum of 1,400,000. The priority fee is calculated on the requested limit, not actual usage, so over-requesting CUs wastes money.
Frequently Asked Questions
How many lamports is 0.000005 SOL?
0.000005 SOL equals exactly 5,000 lamports, which is the standard Solana base fee per signature.
How do I convert lamports to SOL?
Divide the lamport amount by 1,000,000,000 (one billion). For example, 5,000 lamports ÷ 1,000,000,000 = 0.000005 SOL.
What is the maximum Solana transaction fee?
There is no hard cap. The base fee is fixed, but the priority fee is uncapped — theoretically as high as the fee payer wants to bid. In practice, even aggressive bids stay well under $1 per transaction.

Related Fee Topics
Base Fee
Every transaction on the Solana blockchain requires a mandatory base fee of 5,000 lamports (0.000005...
Transaction Fee
A Solana transaction fee has two components: a mandatory base fee and an optional priority fee. Unde...
Priority Fee
The Solana priority fee is an optional payment that increases the scheduling priority of your transa...