Skip to main content

spr

Stack-to-pot ratio: effectiveStackChips / potChips. Returns Infinity when the pot is 0 and the stack is positive; 0 when both are 0.

spr(potChips: number, effectiveStackChips: 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 when you need SPR after a pot and effective stack are known—postflop planning, commitment checks, or labeling spots as shallow vs deep relative to the pot.

How to use

console.log(poker.spr(90, 270)); // 3 — 270 effective over 90 pot

See also

sprAfterCall · effectiveStack