// multi-utility computation suite · offline · instant · precise
┌──────────────────────────┐
│ [c] calcalyst_ │
│ computation suite │
└──────────────────────────┘
// select a module to initialize
/ search↵ open firstesc close
// adsenseEMPTY_LEADER_SLOT728×90
// adsenseMOBILE_ANCHOR_SLOT320×50
// keyboard_shortcuts
/focus search
↑↓navigate module list
Enter
open first result from search
open highlighted
compute when module is open
compute when focused in a field
Escclose module · clear selection
⌫
web3.gas-sandwich-tolerance Calculator
Calculates MEV sandwich attack risk and the optimal slippage tolerance to resist front-running for gas fee estimation for blockchain transactions. Sandwich attacks profit from the price impact of a victim's trade — using private mempools (Flashbots Protect) eliminates sandwich risk.
Inputs
Trade Size
Reference formula or conversion factor shown for context.
Pool Liquidity
Reference formula or conversion factor shown for context.
Slippage
Age in completed years. Many health and fitness formulas adjust for age.
Results
price impact
How much this trade moves the market price. High price impact (above 1%) means you are a large fraction of available liquidity.
sandwich risk
Overall risk level based on the computed score or classification. Higher risk may call for mitigating actions or additional review.
max tolerated loss
The decrease or degradation from the baseline.
recommended slippage
Price impact of the trade — how much the execution price differs from the quoted price. Large trades relative to pool liquidity cause higher slippage.