Methodology

How My Poker Gym models the game, grades your decisions and does the math.

This page explains every calculation behind the trainer, from how starting hands are counted to how an opponent's range narrows as they act. Where the trainer uses a number, the number is here. Where it uses a simplification, we say so.

1. The game we model

Every hand is nine-handed no-limit hold'em with $1 and $2 blinds. You start each hand with $300, which is 150 big blinds. Opponents keep their stacks from hand to hand, so they can be shorter or deeper than you.

Seats are named by position, in the order they act before the flop: UTG, UTG+1, MP, LJ, HJ, CO, BTN, SB and BB. After the flop, the small blind acts first and the button acts last. Acting later is an advantage, because you see what everyone else did before you decide.

The trainer uses fixed bet sizes so that every spot is comparable:

SituationSize
Open raise$6 (3 big blinds)
Raise over limpers$10, plus $2 per extra limper, plus $2 from the blinds
3-bet3 times the raise in position, 4 times from the blinds, plus one raise for each caller
4-bet2.3 times the 3-bet
5-betAll-in
Postflop betsOne third of the pot or three quarters of the pot
Postflop raises3 times the bet

Before the flop, any raise that would put in at least 45% of a player's stack becomes an all-in instead. After the flop, the same happens to a raise of 60% or more of the stack, or a bet of 85% or more. A player committing that much cannot sensibly fold to a reraise.

2. Hands, combinations and ranges

A standard deck makes 1,326 different two-card starting hands:

(522)=52×512=1326

Many of these play identically, so they are grouped into 169 hand classes. Each class contains a fixed number of combinations:

ClassExampleCombinationsClassesTotal
Pair8861378
SuitedAKs478312
OffsuitAKo1278936

A range is the set of hands a player could hold, with a weight for each. When we say a range is 20% of hands, we mean its weighted combinations divided by 1,326:

width=∑hwh·ch1326

Here wh is the weight of hand class h, from 0 to 1, and ch is its number of combinations. Card removal is applied throughout: combinations that use a card in your hand or on the board are removed from every opponent's range.

3. Preflop strategy charts

Your preflop decisions are graded against charts modeled on solver output for nine-handed play at 100 to 150 big blinds. The trainer does not run a solver itself. The charts encode the shape of a solver's strategy: which hands raise, which call, which fold, and which are mixed between two actions.

When the action folds to you, these are the opening ranges:

PositionUTGUTG+1MPLJHJCOBTNSB
Opens10.2%13.8%17.4%21.9%26.9%39.9%56.9%43.8%

The pattern follows from one idea: the more players left to act behind you, the more likely someone holds a strong hand, so the tighter you open. The small blind plays a raise-or-fold strategy, which is a common simplification of more complex solver lines that also limp.

When someone has already raised, the chart depends on who raised and where you sit. Some examples, measured as a share of all hands:

Spot3-betCallContinue
In position vs an early open2.9%9.0%11.9%
In position vs a late open8.3%12.5%20.8%
Small blind vs a late open17.1%1.0%18.1%
Big blind vs an early open2.7%17.7%20.4%
Big blind vs a late open8.3%46.6%54.9%
Big blind vs a small blind open11.8%52.1%63.9%

The big blind defends so widely because it has already paid $2 and closes the action. Against a $6 open, calling costs $4 to win a pot of $9 plus the call, so the price is:

49+4≈30.8%

Many hands win more often than that against a wide late-position range.

Against bigger raises the ranges tighten sharply. Facing a 3-bet after you opened, you continue with about 12.4% of all hands in position and 8.0% out of position. Facing a 4-bet you continue with about 4.4%, and facing an all-in you call with about 3.0%, which is roughly queens or better and ace-king.

When there are limpers, there is no true solver equilibrium, because solvers almost never open by limping. The trainer uses the standard adjustment instead: raise a tight, strong range to isolate the limper, and from late position limp behind with hands that profit from multiway pots, such as small pairs and suited connectors.

4. Grading: correct, acceptable and mistake

Every spot has a primary play, and some spots also have an acceptable alternative. This mirrors how solvers often play a hand two ways at different frequencies, for example raising some of the time and calling the rest.

  • Choosing the primary play is graded correct.
  • Choosing the alternative in a mixed spot is graded acceptable.
  • Anything else is graded a mistake, and you see the explanation before choosing whether to continue with your play or switch.

Postflop, a decision within 4 points of the break-even equity is treated as close, and both calling and folding are accepted.

5. The six player types

Every opponent plays one of six styles. Each is defined by how many hands it plays and how aggressively it plays them. The two standard measures are:

  • VPIP, voluntarily put money in pot: the share of hands where a player calls or raises before the flop. Posting a blind does not count.
  • PFR, preflop raise: the share of hands where a player raises before the flop.
TypeHow often they appearTarget VPIP / PFRMeasured in testing
Nit18%12 / 98 / 7
Solid regular18%22 / 1820 / 15
Loose-aggressive12%34 / 2728 / 19
Maniac6%55 / 4057 / 48
Calling station20%50 / 543 / 3
Loose-passive rec26%34 / 832 / 6

The measured numbers come from a simulated session of 250 hands. They differ from the targets because players often face a raise before they can play their full range, and the rarer styles, such as the maniac, appear in fewer hands per test, so their numbers move more.

Opponents sit down as strangers. Their VPIP and PFR on your screen are counted only from hands you have watched, and the range-reading quiz on a player unlocks after 15 hands, so you have to earn your reads the same way you would at a real table.

6. Ranking the 169 starting hands

To build ranges for the five non-chart styles, the trainer needs every starting hand in order from best to worst. Each hand class is scored by its equity against one random hand, estimated from 20,000 simulated deals, plus small bonuses for playability:

score=Erandom+0.03·suited+0.025·pair+connector bonus

The connector bonus is up to 5 points for suited connectors such as 87s, smaller for hands with one or two gaps, and less than half as much for offsuit connectors. These bonuses reflect that suited and connected hands make straights and flushes, which win bigger pots than their raw equity suggests.

Sorting by score and adding up combinations gives every hand a percentile p, its position in the ranking from 0 (best) to 1 (worst). Some reference points:

HandEquity vs a random handPercentile
AA85.3%0.2%
AKs67.0%2.9%
QJs61.0%5.6%
T9s53.9%17.0%
98s50.7%28.1%
2249.7%44.9%
72o34.3%96.8%

7. How opponents choose preflop actions

Solid regulars use the same charts you are graded against, with one adjustment described below. The other five styles use thresholds on the ranking. A nit in the cutoff, for example, raises the top 11% of hands. A calling station facing a raise calls with the top 42% and 3-bets only the top 2%.

Hard cutoffs would make every opponent perfectly predictable, so each threshold T is softened over a band of plus or minus 15%. The chance that a hand at percentile p takes the action is:

w(p,T)={1if p≤0.85T1.15T−p0.3Tif 0.85T<p<1.15T0if p≥1.15T

With a raise threshold R and a continue threshold C, a hand raises with probability w(p, R), calls with probability max(w(p, C), w(p, R)) minus that, and folds otherwise. In a mixed spot on the charts, the primary action is chosen 55% of the time and the alternative 45%.

The recommended play also adapts to who raised. A raise from a nit, a calling station or a loose-passive player is treated like an under-the-gun open, because those players rarely raise without a strong hand. A raise from a maniac or loose-aggressive player is treated like a late-position open, because their range is much wider. This is why the same hand can be a fold against one opener and a 3-bet against another.

8. Reading ranges with Bayes' rule

Every opponent starts each hand with all 169 hand classes at full weight. Each time they act, their range is updated with Bayes' rule. The new weight of a hand is its old weight times the probability that a player holding it would have taken the action they took:

wnew(h)=wold(h)·P(action∣h,situation)

This uses exactly the same probabilities the opponent used to choose their action, so the range you see is the true distribution of what they could hold. Hands they would never play this way drop to zero, and hands they would only sometimes play keep part of their weight.

For example, if a nit raises first in from under the gun, every hand outside roughly the top 6 to 7% of the ranking falls to zero weight, and the hands near the edge are partly weighted. If the same nit then calls a 3-bet, their range narrows again to the hands that would make that call.

After the flop, the same update runs on every bet, call, check and raise, using the postflop probabilities in section 10.

9. Classifying hands after the flop

Postflop, every hand in a range is placed into one of five groups, based on its best five-card hand and its draws:

GroupIncludes
Very strongSets, two pair using both hole cards, straights and flushes that are close to the best possible, full houses and better
StrongOverpairs, top pair with a good kicker, weaker flushes and straights, one pair with a strong draw
MediumTop pair with a weak kicker, middle and bottom pair, pocket pairs below the top card
DrawsFlush draws and open-ended straight draws without a pair
AirEverything else, including gutshots, overcards and hands that only play the board

Hands are moved down a group when the board makes them vulnerable. For example, top pair is treated as medium rather than strong when four cards to a flush or straight are on the board. On the river, unfinished draws count as air.

10. How opponents play after the flop

An opponent's postflop action is drawn from a probability table based on their hand group. These are the base probabilities for a preflop raiser on the flop:

GroupChecked to them: betFacing a small bet: fold / call / raiseFacing a big bet: fold / call / raiseFacing a raise: fold / call / raise
Very strong80%0 / 55 / 450 / 55 / 450 / 50 / 50
Strong62%5 / 85 / 1015 / 75 / 1045 / 55 / 0
Medium28%28 / 72 / 055 / 45 / 080 / 20 / 0
Draws55%13 / 72 / 1513 / 72 / 1550 / 50 / 0
Air32%86 / 7 / 786 / 7 / 797 / 3 / 0

A big bet is anything of at least 60% of the pot. When betting, strong made hands and draws favor the big size, and medium hands favor the small size. A player who did not raise preflop bets much less often when acting first, at 35% of the rates above, or 75% when the player before them checked.

Each style then scales these numbers:

  • Nit: bets weak hands at 35% of the base rate, folds non-strong hands 60% more often, and almost never bluff-raises.
  • Calling station: bets less, folds at 30% of the base rate so it calls far more, and rarely raises. Weak hands call three times as often.
  • Loose-passive rec: bets less, folds at 55% of the base rate and raises less.
  • Loose-aggressive: raises 50% more often and bluffs 50% more often.
  • Maniac: bluffs 2.4 times as often, raises 2.2 times as often and folds less.

In multiway pots, every style bluffs about half as often, because a bluff has to get through more than one player.

11. Equity

Your equity is the share of the pot you would win on average if all remaining cards were dealt with no more betting. Ties count as half a win in a heads-up pot, and as a split among all tied players in a multiway pot.

On the flop and turn, the trainer estimates equity by simulation. Each trial draws a hand for every opponent from their weighted range, removes any conflicting cards, deals the remaining board cards at random and compares the final hands. With N trials:

E≈1N∑i=1Nshare woni

The trainer uses about 1,500 trials per decision. The standard error of a simulated equity is:

SE=E(1−E)N≤0.251500≈1.3%

So a displayed equity is within about 2.6 points of the exact value 95% of the time. Heads-up on the river, no cards remain to be dealt, so equity is calculated exactly by comparing your hand with every combination in the opponent's range.

The explanations break equity into the five hand groups from section 9. If sg is the share of the opponent's range in group g and vg is how often you win against that group:

E=∑gsg·vg

For example, if 27% of a range is air that you beat 94% of the time, that group contributes 0.27 × 0.94 ≈ 25.4 points to your equity.

Against several opponents, you have to beat all of them. A quick estimate is the product of your equity against each one alone:

Efield≈∏jEj

This estimate usually runs low, because opponents' hands are not independent. When one misses the board, the others often miss too. The trainer always shows the simulated value, which accounts for this.

12. Pot odds and the price of a call

Calling a bet is profitable when your equity is higher than the share of the final pot you have to put in. If the pot is P after the bet and calling costs C:

Eneeded=CP+C

When an opponent bets a fraction b of a pot P0, the call is bP0 and the pot after the bet is P0(1 + b), so the requirement depends only on the bet size:

Eneeded=bP0P0(1+b)+bP0=b1+2b
Bet size⅓ pot½ pot⅔ pot¾ potPot2 × pot
Equity needed20.0%25.0%28.6%30.0%33.3%40.0%

Pure pot odds assume the hand ends after your call. Draws can win more on later streets when they hit, so the trainer gives them an implied-odds allowance: 8 points on the flop, 5 points on the turn and none on the river, plus 3 more points when a calling station or loose-passive player is in the pot. When players behind you can still raise, the trainer asks for 3 extra points of equity, because your call might not close the action.

13. Outs and the rule of 2 and 4

Outs are the unseen cards that improve your hand to the likely winner. After the flop there are 47 unseen cards. The exact chance of hitting at least one of o outs by the river is:

P(hit by river)=1−(47−o)(46−o)47×46

With one card to come there are 46 unseen cards, so the chance is o / 46. The rule of 2 and 4 approximates these: multiply your outs by 4 on the flop when you will see both cards, or by 2 with one card to come.

DrawOutsTwo cards, exactRule of 4One card, exactRule of 2
Gutshot416.5%16%8.7%8%
Open-ended straight draw831.5%32%17.4%16%
Flush draw935.0%36%19.6%18%
Flush draw and gutshot1245.0%48%26.1%24%
Flush and straight draw1554.1%60%32.6%30%

The rule overestimates big draws, so with 12 or more outs, shave a few points off. Hitting is also not the same as winning: you can lose after hitting, or win without improving. That is why the trainer shows full equity rather than just the chance to hit.

14. Turning the numbers into a decision

To compare hands fairly between heads-up and multiway pots, the trainer scales your equity by the number of players. With n opponents, your fair share of the pot is 1 / (n + 1), and the scaled equity is:

Erel=E·n+12

Heads-up this is just your equity. Against three opponents, 40% equity scales to 80%, because 40% is far more than your 25% fair share. The decision rules, in order:

  • Value bet with a strong or very strong hand when scaled equity is at least 60% on the flop and turn or 62% on the river. These thresholds drop by 6 points when a calling station or loose-passive player is in the pot, because they call with more worse hands.
  • Raise for value when facing a bet with scaled equity of at least 70%, or 80% on the river, or 82% when facing a raise. Against a maniac on the flop or turn, calling is preferred with hands short of very strong, to keep their bluffs in.
  • Semi-bluff with a draw when heads-up and either in position or the preflop raiser, unless the opponent is a calling station, who will not fold.
  • Check medium-strength hands with scaled equity of at least 38%, because betting them mostly folds out worse and gets called by better.
  • Do not bluff into two or more opponents, or into a calling station. Bluff more against nits, who fold too often.
  • Facing a bet, call when your equity beats the price from section 12 by more than 4 points, with draws adding their implied-odds allowance. Fold when it falls more than 4 points short, and treat anything within 4 points as close.

15. Bet sizing and board texture

Bet size follows board texture. A flop is wet when it makes many draws possible: three cards of one suit, two of a suit with connected ranks, or three ranks that fit within any five-rank straight window. Anything else is dry.

  • On dry boards, value bets are small, a third of the pot, because few worse hands can call a big bet.
  • On wet boards, on the turn and river, in multiway pots and against calling stations, value bets are big, three quarters of the pot, because draws and worse made hands will pay.
  • As the preflop raiser heads-up on a high, dry flop, such as K-7-2 with three suits, the trainer recommends betting small with most of your range. The raiser holds more overpairs and strong top pairs on these boards, so a cheap bet wins often and is hard to play back at.

16. Your equity and range guesses

When the equity quiz is on, you choose a 10-point band before acting. If the true equity is inside your band, the guess counts as a hit. Otherwise your miss is the distance in points from the true value to the nearest edge of your band. The Stats tab tracks your hit rate and your average miss. An average miss under 5 points is a good target.

When the range quiz is on and you have at least 15 hands of reads on a player, you are asked about that player's range. Before the flop you choose a width band: 5% or less, 5 to 12%, 12 to 25%, 25 to 40%, or more than 40%. After the flop you choose what their range is mostly made of. The answer is the largest hand group if it makes up at least 42% of the range, and a balanced mix otherwise. A neighboring band within 2.5 points of the true width, or a group that comes close to the largest, counts as close.

17. What this model does not do

My Poker Gym is a training approximation, not a solver. In particular:

  • Preflop charts are modeled on published solver strategies, not solved for each exact spot, stack depth or table makeup.
  • Postflop recommendations come from equity against modeled ranges plus the rules above. A full solver would also account for future betting on every later street.
  • Opponents follow consistent tendencies. Real players change gears, tilt and adjust to you.
  • Bet sizes are limited to the fixed options in section 1.

We think these trade-offs are the right ones for learning. Each answer is fast, consistent and explained, and the lessons transfer to the tables where most players actually play. If you spot something that looks wrong, tell us at support@mypokergym.com.