breakevenCallEquity
Minimum equity to break even on a one-street call from chip counts: toCall / (potBeforeCall + toCall). Same fraction as potOddsRatio for valid calls.
breakevenCallEquity(potBeforeCall: number, toCall: 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 in trainers, HUDs, or scripts where you have pot before call and to call and need a quick threshold (e.g. “need 33%”). Prefer breakevenCallEquityFromPotOddsDisplayRatio when the user already thinks in pot : call display odds (e.g. 2:1).
How to use
const poker = require('poker-calculations');
const potBeforeCall = 100;
const toCall = 50;
const need = poker.breakevenCallEquity(potBeforeCall, toCall);
console.log(need); // 1/3
// Same number via potOddsRatio (parameter name `pot` = pot before call)
console.log(poker.potOddsRatio(potBeforeCall, toCall));
// Compare to Monte Carlo or exact equity
const myEquity = 0.42;
console.log(myEquity >= need ? 'call' : 'fold');
Returns number — toCall / (potBeforeCall + toCall) when toCall > 0 and the denominator is positive; 0 when toCall === 0 or potBeforeCall + toCall ≤ 0.
See also
potOddsRatio · breakevenCallEquityFromPotOddsDisplayRatio · expectedValueCall