Lamports to SOL Converter – How It Works
The relationship between lamports and SOL is fixed: 1 SOL = 1,000,000,000 lamports (109). This means that to convert lamports to SOL, you simply divide the lamport value by one billion.
For example, the standard Solana base transaction fee is 5,000 lamports = 0.000005 SOL. Knowing how to convert between these units is essential for anyone building on Solana, checking transaction fees, or managing wallets at a granular level.
Quick Conversion Table
- 1 Lamport = 0.000000001 SOL
- 5,000 Lamports = 0.000005 SOL (base tx fee)
- 1,000,000 Lamports = 0.001 SOL
- 1,000,000,000 Lamports = 1 SOL
- 10,000,000,000 Lamports = 10 SOL
Formula
- Lamports → SOL: divide by 1,000,000,000
- SOL → Lamports: multiply by 1,000,000,000
- In code:
lamportsToSol = lamports / 1e9 - In code:
solToLamports = sol * 1e9
Lamports are the atomic unit of Solana — the smallest denomination of SOL, used in all on-chain calculations and fee structures.
Why Use This Converter?
Whether you are a Solana developer computing priority fees, a validator calculating rewards, or a user verifying a transaction cost, converting lamports to SOL accurately is critical. Our tool provides instant, zero-error conversions based on the official Solana protocol specification.
Common Use Cases
- Checking Solana transaction fees before sending
- Calculating rent-exempt balances for Solana accounts
- Verifying staking rewards in SOL from lamport values in RPC responses
- Converting JSON RPC lamport outputs to human-readable SOL