Pump.fun Bonding Curve Calculator

CONSTANT-PRODUCT FORMULA ยท OFFICIAL CONSTANTS ยท NOT A LIVE LOOKUP

Calculate exactly how many tokens a buy gets you on a pump.fun-style bonding curve, and how close it pushes the token to graduation.

0 = brand new token. Graduates at 85.01 SOL raised.

Pure constant-product math (Uniswap V2 style) using pump.fun's official virtual reserve constants โ€” no live lookup, works for any token on this curve model.

๐Ÿ“ˆ

Where is the curve right now?

Enter how much SOL has been raised so far and how much you're buying with โ€” I'll show exactly what you get.

What is a bonding curve?

Pump.fun launches every token on a bonding curve instead of a normal liquidity pool: there is no initial liquidity provider, just a formula that prices the token based on how much has already been bought. Buy pushes the price up, sell pushes it down, and once enough SOL has been raised the curve "graduates" โ€” its liquidity migrates to a real AMM pool.

The formula

Pump.fun's own documentation confirms the curve is a constant-product AMM โ€” the same x ร— y = k math as Uniswap V2 โ€” applied to synthetic "virtual" reserves rather than real pooled liquidity:

  • k = virtualSolReserves ร— virtualTokenReserves
  • tokensOut = virtualTokenReserves โˆ’ k / (virtualSolReserves + netSolIn)

Every new token starts with 30 virtual SOL and 1,073,000,000 virtual tokens (source: pump.fun's public program docs), and charges a 1.25% trading fee on every buy and sell.

Graduation

The curve holds a fixed number of "real" tokens it can actually sell. Once those run out โ€” derived from the constants above, not a number pump.fun states outright โ€” the curve has raised ~85.01 SOL and graduates: its liquidity migrates to a real AMM pool and the bonding-curve price mechanism stops applying.

Worked example

A token has already raised 20 SOL on its curve. You buy with 1 SOL:

  • Fee: 1 ร— 1.25% = 0.0125 SOL โ†’ 0.9875 SOL actually hits the curve
  • Virtual reserves before: 50 SOL / 643,800,000 tokens (k conserved from the start)
  • You receive โ‰ˆ 12,468,791 tokens, and the curve moves from 23.53% to 24.69% of the way to graduation

The further along the curve, the fewer tokens the same SOL amount buys โ€” this is exactly why early buyers on a fresh curve get a much better price than late buyers right before graduation.

Already graduated to a real pool?

Once a token graduates, this formula no longer applies โ€” it trades on a normal AMM pool with real liquidity. Use the Swap Price Impact Calculator for a live-routed quote instead, or check it for rug-pull mechanisms on the Rug Pull Checker.

Use via API or MCP

This calculation is available as a deterministic API call: useful for bots evaluating a launch before buying, or AI agents estimating fill size ahead of a bonding-curve trade.

FAQ
Q.01

How does the pump.fun bonding curve pricing formula work?

It's a constant-product AMM (the same x ร— y = k math as Uniswap V2) applied to synthetic "virtual" reserves. Every token starts with 30 virtual SOL and 1,073,000,000 virtual tokens โ€” buying moves along this curve, pushing the price up.

Q.02

How much SOL does it take for a token to graduate?

About 85.01 SOL raised โ€” the point at which the curve's limited supply of real (sellable) tokens runs out. This is derived from pump.fun's own documented reserve constants, not a number they state as a flat threshold.

Q.03

What fee does pump.fun charge on bonding curve trades?

A 1.25% trading fee on every buy and sell, split between the token's creator and the protocol, per pump.fun's official fee schedule.

Q.04

Why do early buyers get a better price than late buyers?

The curve is priced by how much has already been bought (virtual reserves). Earlier in the curve, virtual SOL reserves are lower relative to virtual token reserves, so the same SOL amount buys more tokens. As more SOL is raised, the same buy size yields progressively fewer tokens.