How the pump.fun bonding curve works
The pump.fun bonding curve in real numbers: 30 SOL of virtual reserves, 793.1M tokens for sale, graduation at 85 SOL raised and the move to PumpSwap. With a calculator.
A pump.fun coin starts life without a pool. There is no liquidity provider and no order book: the pump.fun program sells the tokens itself, at a price set by a formula, until a fixed number of them is gone. Then the coin graduates and moves to PumpSwap, an ordinary AMM pool.
We trade these curves all day through our API, so the numbers on this page are the ones our own trade builder uses, taken from the program's on-chain settings. The calculator further down runs the same math, if you want to check a trade.
The curve in one formula
pump.fun prices a coin like a constant-product pool, x × y = k, except that the pool doesn't really exist. The program keeps two numbers for each coin, its virtual reserves, and every trade has to leave their product where it was.
A new SOL-paired coin starts with these:
| At launch | What it does | |
|---|---|---|
| Virtual SOL reserves | 30 SOL | Sets the starting price. This SOL doesn't exist. |
| Virtual token reserves | 1,073,000,000 | The token side of the formula. |
| Tokens for sale | 793,100,000 | What buyers can take off the curve. |
| Total supply | 1,000,000,000 | Minted at launch, 6 decimals. |
So k = 30 × 1,073,000,000 = 32.19 billion, and it stays that way for as long as the coin is on the curve.
The word "virtual" trips people up, so plainly: the program prices the coin as if it held 30 SOL and 1.073 billion tokens. It actually starts with no SOL and 1 billion tokens. Buyers can take 793.1 million of them. The other 206.9 million are held back for the PumpSwap pool, and the 73 million that appear in the formula but exist nowhere only shape the price.
Price and market cap
The price is one reserve over the other:
price (SOL per token) = virtual SOL ÷ virtual tokens
market cap (SOL) = price × 1,000,000,000
At launch that's 30 ÷ 1,073,000,000 = 0.000000028 SOL per token, a market cap of about 28 SOL.
Since k never changes, the market cap can be written with nothing but the SOL buyers have put in:
market cap (SOL) = (30 + SOL raised)² ÷ 32.19
It grows with the square of the SOL in the curve. That's why the last 20 SOL of a curve move the price far more than the first 20.
What a buy gets you
A buy puts SOL in and takes tokens out, and k stays put:
tokens out = virtual tokens × SOL in ÷ (virtual SOL + SOL in)
"SOL in" is what's left once the fee is taken (fees are further down). Some numbers, fees included:
- 1 SOL on a brand-new coin buys about 34.2 million tokens, 3.4% of the supply, and leaves the price 6.7% higher than it found it.
- The same 1 SOL once 50 SOL is in the curve buys about 4.9 million tokens.
- 10 SOL at launch buys 265.8 million tokens, a third of everything for sale, at an average price 33% above the starting one.
That last line is why launches are a race. The creator's own first buy usually goes in the create transaction itself, and snipers aim for the same block.
Try your own numbers. The first box is how much SOL buyers have already put in:
- You get
- 19.39M tokens (1.94% of supply)
- Fees
- 0.0123 SOL
- Price impact
- 2.47% above the price before your buy
- Market cap
- 49.7 → 52.2 SOL
- Tokens sold
- 33.8% → 36.3%
- Average price
- 5.157e-8 SOL per token
Selling
A sell runs the formula the other way: tokens go back into the curve and SOL comes out.
SOL out = virtual SOL × tokens in ÷ (virtual tokens + tokens in)
The fee comes off the SOL you receive. Selling moves the coin back down the same curve, so a coin can climb to 80% and slide back to 20% several times before it graduates, if it ever does.
Progress is counted in tokens, not SOL
A coin's progress is usually shown as the share of the 793.1 million tokens sold, and tokens get expensive quickly. Half of them are gone once 17.6 SOL has come in. The other half costs another 67.4 SOL.
| Tokens sold | SOL in the curve | Market cap |
|---|---|---|
| 25% | 6.8 SOL | 42 SOL |
| 50% | 17.6 SOL | 70 SOL |
| 75% | 37.3 SOL | 141 SOL |
| 80% | 43.4 SOL | 167 SOL |
| 90% | 59.6 SOL | 250 SOL |
| 100% | 85.0 SOL | 411 SOL |
So when a bot calls a coin "80% bonded", it has raised about 43 SOL and still needs about 42 more.
Fees
On the curve a trade pays 1.25%: 0.95% to pump.fun and 0.30% to the coin's creator. On a buy it comes on top of the SOL that goes into the curve; on a sell it comes off what you get back. The rates live in pump.fun's on-chain settings rather than in the program, and they have changed before. These are the ones in force in November 2026.
Two newer details. Some coins are cashback coins, which pay the creator's share to the traders instead. And since pump.fun's October 2026 upgrade, curve trades leave their fees in the curve and separate "sweep" transactions pay them out later, so a full trade stream shows sweeps that aren't trades.
Graduation
A coin graduates when the last of its 793.1 million tokens is bought. At that point the curve holds 85.005 SOL from buyers (115.005 SOL virtual), the price is 0.000000411 SOL and the market cap is 411 SOL, 14.7 times the starting one. At a SOL price of $150 that is a market cap of about $61,600.
The program marks the curve complete and stops trading it. A buy or sell sent to it after that fails with error 6005, BondingCurveComplete (0x1775).
Then the coin moves to a PumpSwap pool, which gets:
- the 206.9 million tokens that were never for sale, and
- the SOL from buyers, less a migration fee of 0.015 SOL.
84.99 SOL against 206.9 million tokens is 0.0000004108 SOL per token, within 0.03% of the curve's last price. That's what the 206.9 million is for: the pool opens where the curve stopped, so graduation itself hands nobody a free arbitrage.
The buy that graduates a coin
Older pump.fun buy instructions stop at the end of the curve. Since the October 2026 upgrade, a v3 buy can be bigger than what's left: it empties the curve at the curve's price, and the rest of the SOL buys from the tokens the migration puts in the pool, at the pool's opening price. The buyer pays two different prices in one transaction.
If you decode trades yourself, expect that transaction to have two parts. Our stream marks the event "completesCurve": true and tags its two parts "stage": "curve" and "stage": "postComplete".
After graduation
On PumpSwap the coin trades like any AMM pool, with its own fees. pump.fun's pools charge by market cap: in the settings we read on 7 November 2026 there were 25 tiers, from 1.25% for the smallest coins down to 0.30% above about 98,000 SOL of market cap. The creator still gets a share.
Those tiers cause one of the most common failed buys. A quote that assumes one flat fee comes out too high on a small coin, the trade returns fewer tokens than its minimum, and PumpSwap refuses it with error 6040 (0x1798). We go through that one, and the rest, in pump.fun and PumpSwap error codes.
Not every curve is priced in SOL
Newer coins can be paired with something else:
- USDC: the curve starts with 4,292 USDC of virtual reserves instead of 30 SOL, and the token numbers are the same. It is the SOL curve with SOL at $143.07: a coin launches at a 4,000 USDC market cap and graduates at about 58,800 USDC, after 12,161 USDC has come in.
- Another token: some coins are paired with pump.fun's PUMP token or with another pump.fun coin. You buy them with that token, or with SOL routed through its pool first.
- Mayhem mode: these are Token-2022 coins that mint 2 billion tokens but run on the same 1-billion curve. Buys on them stop at the end of the curve.
We counted the new pump.fun coins for half an hour on 20 November 2026, from 00:42 to 01:12 UTC: 163 of 385 were not paired with SOL, 35 with USDC and 128 with other tokens. Code that assumes the quote is always SOL was wrong for four coins in ten.
Following curves from code
You don't have to poll the chain for any of this. Our stream sends every new pump.fun coin, every trade on the coins you pick and every migration, free and without a key. How to stream pump.fun trades in real time has the JavaScript and Python.
On the Advanced Data Stream, each curve trade also carries the curve's virtual token reserves after the trade as tokensInPool, so a coin's progress is one line:
const progress = (1_073_000_000 - e.tokensInPool) / 793_100_000; // 0 to 1