Skip to main content

potOddsRatioDisplay

Display ratio pot : to_call (e.g. 3.5 means 3.5:1).

potOddsRatioDisplay(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

Present pot odds the way players say them aloud—pot divided by price to call. Pair with breakevenCallEquityFromPotOddsDisplayRatio for equity thresholds, or formatPotOdds for strings.

How to use

const pot = 140;
const toCall = 40;
const r = poker.potOddsRatioDisplay(pot, toCall);
console.log(r); // 3.5 → "3.5:1"

const be = poker.breakevenCallEquityFromPotOddsDisplayRatio(r);
console.log(be);

See also

formatPotOdds · potOddsRatio