expectedValueCallWithRake
Chip EV of calling vs folding when the final heads-up pot (after your call) pays rake under the same model as breakevenCallEquityWithRake.
expectedValueCallWithRake(equity: number, potBeforeCall: number, toCall: number, rakeFraction: number, rakeCap: number): number
Import
const poker = require('poker-calculations');
ESM (Node):
import { createRequire } from 'module';
const require = createRequire(import.meta.url);
const poker = require('poker-calculations');
When to use
Use for raked cash call/fold decisions on one street: you know equity, pot before call, call size, and room rake (fraction of final pot, capped). Pairs with rakeFromPot and breakeven-with-rake for thresholds vs EV.
How to use
const poker = require('poker-calculations');
const equity = 0.38;
const potBeforeCall = 90;
const toCall = 30;
const rakeFraction = 0.05;
const rakeCap = 3;
const ev = poker.expectedValueCallWithRake(
equity,
potBeforeCall,
toCall,
rakeFraction,
rakeCap,
);
console.log(ev);
const need = poker.breakevenCallEquityWithRake(
potBeforeCall,
toCall,
rakeFraction,
rakeCap,
);
console.log({ need, call: equity > need, ev });
Returns number — chip EV of calling with rake on the final pot potBeforeCall + 2 × toCall: equity × (potBeforeCall + toCall − rake) − (1 − equity) × toCall, where rake = rakeFromPot(finalPot, rakeFraction, rakeCap). Equity is clamped to [0, 1].
See also
breakevenCallEquityWithRake · rakeFromPot · expectedValueCall