How the constant product formula determines token prices on pump.fun, and why understanding it gives you an edge as a trader or volume generator.
A bonding curve is a mathematical formula that automatically sets the price of a token based on its supply and demand, without needing a traditional order book or market maker. Instead of matching buyers with sellers at agreed prices, a bonding curve uses a smart contract that holds reserves of two assets and calculates the exchange rate between them using a fixed equation.
On pump.fun, every newly created token starts with its own bonding curve. The curve acts as an automated market maker that anyone can trade against. When you buy tokens, you send SOL to the curve and receive tokens in return. When you sell, you return tokens and get SOL back. The price changes with every transaction because the ratio of reserves shifts.
This model eliminates the need for liquidity providers or order books during the early life of a token. It means any token can be instantly tradeable from the moment it is created, with pricing that responds dynamically to demand. For memecoin creators, this is what makes pump.fun so powerful: you launch a token and it is immediately buyable and sellable by anyone.
Pump.fun uses a constant product bonding curve, the same mathematical model made famous by Uniswap. The core formula is:
In this equation, x represents the virtual SOL reserves in the pool, y represents the virtual token reserves, and k is a constant that never changes. Every trade must maintain this invariant: after any buy or sell, the product of the two reserves must still equal the original constant k.
When a trader buys tokens, they deposit SOL into the pool. This increases x (the SOL reserves). Because k must remain the same, y (the token reserves) must decrease. The tokens that leave the pool are sent to the buyer. The more SOL that goes in, the fewer tokens come out per SOL spent, because the ratio shifts more dramatically. This is why each successive buy pushes the price higher.
Selling is the reverse operation. The trader sends tokens back into the pool, increasing y. To maintain the constant k, x must decrease, so SOL flows out to the seller. Larger sells push the price down more steeply because they shift the reserve ratio further.
One of the most misunderstood aspects of pump.fun pricing is the distinction between virtual reserves and real reserves. When a token is first created, the bonding curve does not actually hold 30 SOL worth of liquidity. Instead, it starts with virtual reserves that simulate a pool that already has depth.
If the curve started with zero SOL reserves, the very first buyer could purchase the entire token supply for almost nothing. Virtual reserves solve this by initializing the pool as if some SOL is already deposited. This gives the token a starting price and prevents extreme price manipulation from tiny initial purchases.
When a pump.fun token launches, the bonding curve is initialized with approximately 30 virtual SOL and 1.073 billion virtual tokens. These numbers set the initial price point for the token. The real SOL in the pool starts at zero and grows as traders buy in. The real token supply available for trading is approximately 800 million tokens (the remaining supply minus what the bonding curve holds back).
| Reserve Type | SOL | Tokens |
|---|---|---|
| Virtual (at launch) | ~30 SOL | ~1.073B tokens |
| Real (at launch) | 0 SOL | ~800M tokens |
| Real (at graduation) | ~85 SOL | ~200M tokens |
As real buyers deposit SOL, the real reserves grow. The virtual reserves still factor into the pricing math, which means the effective price is a blend of the virtual starting point and actual market activity. This creates a smoother price curve that prevents wild volatility from the very first few trades.
Price impact refers to how much a single trade moves the token price. On a constant product curve, price impact is directly related to the size of your trade relative to the pool reserves. This is one of the most critical concepts for both traders and volume bot operators to understand.
A trade of 0.001 SOL against a pool with 50 SOL in reserves barely moves the price at all — the impact is negligible, perhaps 0.002%. But a trade of 5 SOL against that same pool would shift the price by roughly 10%. The relationship is not linear: doubling your trade size more than doubles your price impact because the curve gets steeper as you move further from the current ratio.
| Trade Size (SOL) | Pool SOL Reserve | Approx. Price Impact |
|---|---|---|
| 0.001 | 50 | ~0.002% |
| 0.01 | 50 | ~0.02% |
| 0.1 | 50 | ~0.2% |
| 1.0 | 50 | ~2% |
| 5.0 | 50 | ~10% |
| 10.0 | 50 | ~20% |
If you are buying a token early when real reserves are low, even a modest 1 SOL buy can move the price significantly. This is why early entries on pump.fun tokens can be so profitable — but also why selling a large position can crash the price. Understanding the relationship between your trade size and the pool depth is essential for managing slippage and timing your entries and exits.
Pump.fun charges a 1% fee on every trade, whether it is a buy or a sell. This fee is deducted from the SOL side of the transaction before the bonding curve math is applied. The fee goes to the pump.fun platform and is the primary revenue model for the service.
On a buy, you send 1 SOL but only 0.99 SOL worth of purchasing power reaches the bonding curve. On a sell, the SOL you receive from the curve is reduced by 1% before it arrives in your wallet. For a round-trip trade (buy then immediate sell), you lose approximately 2% to fees alone, not counting price impact or slippage.
For volume generators, the 1% fee is a predictable, fixed cost. It means every buy-sell cycle has a minimum cost floor of approximately 2% of the trade value. This is why efficiency matters: using the smallest possible trade size minimizes total capital lost to fees per unit of generated volume.
The pump.fun bonding curve is not permanent. It has a built-in endpoint: when the real SOL reserves in the bonding curve reach approximately 85 SOL, the token "graduates" and migrates off the bonding curve entirely. At this point, the remaining liquidity is used to create a proper liquidity pool on PumpSwap, pump.fun's own decentralized exchange.
The 85 SOL threshold represents meaningful market interest. A token that reaches graduation has attracted enough buying pressure to demonstrate real demand. For traders, graduation is often seen as a bullish milestone because it means the token transitions to a deeper, more established liquidity venue. For a more detailed breakdown of the graduation process, see our Pump.fun Graduation Guide.
Understanding the bonding curve gives you a concrete edge. Here is how to apply this knowledge in practice:
Vol Bot uses micro-trade strategies optimized for the pump.fun bonding curve, generating maximum volume with minimum cost and zero price impact.
Start Using Vol Bot →