Pot & EV
Chip-level pot odds, breakeven equity, call EV, rake adjustments, and book-style winning odds. These helpers assume a single call decision on the current street—no future-street modeling beyond what rake on the final pot implies.
Use this group when you are building call/fold trainers, HUD overlays, or server-side spot analysis where you already have equity and need to compare it to the price of a call.
| Export | Summary |
|---|---|
potOddsRatio | toCall / (pot + toCall) when valid; else 0. |
expectedValueCall | Chip EV of calling once vs folding (0); no future streets. |
expectedValueCallWithRake | Call EV when the final HU pot pays rake. |
breakevenCallEquity | Same fraction as potOddsRatio for chip calls. |
breakevenCallEquityFromPotOddsDisplayRatio | 1/(1+R) from display ratio R; 0 when R is +∞. |
potOddsDisplayRatioFromBreakevenCallEquity | Inverse (1−e)/e; +∞ when e=0; 0 when e=1. |
formatPotOddsReducedFraction | Reduced integer pot : to_call string. |
equityToWinningOddsAgainst | Book-style (1−p)/p; +∞ at p=0. |
winningOddsAgainstToEquity | 1/(1+o) for o≥0; 0 when o=+∞. |
rakeFromPot | Rake min(fraction×pot, cap). |
breakevenCallEquityWithRake | Breakeven equity when the final pot pays rake. |
Display-oriented pot odds (potOddsRatioDisplay, formatPotOdds) live under Stacks & display.
| netPotAfterRake | Pot minus rake: pot − rakeFromPot. |
| netPotAfterCallAndRake | Net pot after HU call and rake. |
| effectivePotOddsDisplayAfterRake | Display pot:call after rake on final pot. |
| expectedValueRaise | Chip EV of raise vs fold (two-outcome model). |
| expectedValueRaiseWithRake | Raise EV with rake on called pot. |
| breakevenRaiseEquity | Equity needed for neutral raise. |
| breakevenCallEquityWithPostedAnte | Breakeven when hero still posts ante. |
| potSizeAfterHuCall | Pot after heads-up call: pot+2×call. |
| potSizeAfterHuBet | Pot after heads-up bet: pot+2×bet. |
| expectedValuePerBigBlind | Chip EV expressed in big blinds. |