EQUITY

Syntax Reference

Operators

OperatorNameMeaningPrecedence
,UnionOR — combine rangesLowest
:IntersectionAND — both must matchMedium
!DifferenceNOT — exclude combosMedium
()GroupingOverride precedenceHighest

Evaluation order: Parentheses first, then : and ! left-to-right, then , last.

AA,KK:xxyy        = AA OR (KK AND double-suited)
(AA,KK):xxyy      = (AA OR KK) AND double-suited
TT+!AA             = TT through KK (excluding AA)
AA!AAA             = Exactly two aces (not three+)

Ranks

A  K  Q  J  T  9  8  7  6  5  4  3  2

Rank Variables

VariableConventionExample
RFirst rankRR = any pair
OSecond rankRROO = two different pairs
NThird rankRRON = pair + two different cards
PFourth rankFor 4+ card patterns

Rank variables do NOT bind to explicit ranks. AARR = aces plus another pair, not quad aces.

Rank Ranges

SyntaxMeaning
A-TAce through Ten = [A,K,Q,J,T]
9-5Nine through Five = [9,8,7,6,5]
[A,K,Q,J]Explicit rank list
[A,2,3,4,5]Wheel cards (use list, not A-5)

Aces are always HIGH in ranges. A-5 means A through 5 going high-to-low (all 10 ranks), not a wheel. Use [A,2,3,4,5] for wheel cards.

Rank Modifiers

SyntaxMeaningExample
+This hand or betterTT+ = TT through AA
-Range (through)AA-TT = AA, KK, QQ, JJ, TT

Suits

SuitLetter
Spadess
Heartsh
Diamondsd
Clubsc

Suit Variables

VariableMeaning
xFirst suit variable
ySecond suit variable
zThird suit variable
wFourth suit variable

Suit variables do NOT bind to explicit suits. ssxx = two spades + two of another suit, not four spades. A suit letter belongs to the rank just before it, in every game. AKs = an ace with the king of spades, not ace-king suited (write AK$s or AxKx for that). AAxx = aces where one ace is suited with another card. For aces with any other cards write AA or AA**.

Suited/Offsuit Patterns

PatternMeaningExample
xxSuited (two cards same suit)AxKx = AK suited
xyOffsuit (different suits)AxKy = AK offsuit
xxyyDouble-suitedAxAyKxKy
wxyzRainbow (all four suits)Four different suits

Suit Macros

MacroMeaning
$sSuited: AK$s, AT$s+, (AK,AQ)$s; on its own, same as xx
$oOffsuit: AK$o, (AK,AQ)$o; on its own, same as xy
$dsDouble-suited (Omaha)
$ssSingle-suited (Omaha)
$npNo pair (Omaha)

Percentage Ranges

SyntaxMeaning
10%Top 10% of hands (full-ring ranking; 6-card Omaha uses this calculator's own six-handed ranking)
5%-15%Hands ranked between 5% and 15% (either order)
15%6hTop 15% by the six-handed ranking (not available in 6-card Omaha)
5%-15%6hA range by the six-handed ranking

A percentage takes whole hand classes and never part of one, as in ProPokerTools: 15% is every class that fits within 15% of all hands, so the count can be a few hands under an exact 15%.

Combining with Other Ranges

AA,10%            AA OR top 10%
xx:15%            Suited hands in top 15%
TT+:20%           Pairs TT+ that are also in top 20%

Hold'em

SyntaxMeaning
AsAhExact hand: ace of spades, ace of hearts
AAPocket aces (6 combos)
AKAll AK (16 combos)
AK$s or AxKxAce-king suited (4 combos)
AK$o or AxKyAce-king offsuit (12 combos)
AKsAn ace with the king of spades (4 combos)
AhKThe ace of hearts with any king (4 combos)
TT+Tens or better (TT through AA)
55-99Pair range: fives through nines
A5-A2Ace-five through ace-deuce
[A-J][2-5]Rank lists: an ace to jack with a two to five
AA,KK,QQUnion: aces OR kings OR queens
TT+!AATT through KK (excluding aces)
AA@50,KKAces half as often as kings
AT$s+Suited ace-ten, ace-jack, ace-queen, ace-king
JT$s-54$sSuited connectors, jack-ten down to five-four
AhKxAce of hearts with a king of another suit
*Any random hand

A suit letter names the suit of the card it follows. The older shorthand AKs (suited) and AKo (offsuit) is not used here: AKs means the king of spades, and AKo is refused. Ranges you saved before this changed were converted for you.

Omaha

Ranges are implicitly topped off with wildcards. AA equals AA** (aces with any two other cards).

SyntaxMeaning
AAAt least two aces + any other cards
AARRAces plus another pair
AA$dsAces, double-suited
AA$ssAces, single-suited
wxyzRainbow (all four suits)
15%$npTop 15% with no pair
(AA,KK):xxyyAces or Kings AND double-suited
AA!AAAExactly two aces (not three+)
$0G0-gap rundown (e.g. 5678, 789T)
$1G1-gap rundown (e.g. 5679)
$2G2-gap rundown: one two-rank gap (e.g. 567T, 589T)
$FI30ProPokerTools' first-in (opening) range of 30%. Sizes: 12, 15, 20, 25, 30, 40, 50. 4-card Omaha Hi only
$3B10I / $3B10OProPokerTools' 10% three-betting range, in / out of position. Sizes: 2, 4, 6, 8, 10, 12, 15. 4-card Omaha Hi only
$4B4ProPokerTools' 4% four-betting range. Sizes: 2, 3, 4, 5, 6. 4-card Omaha Hi only
AA,KK,QQUnion: any of these pairs
AAxxAces with a suited ace
AA@50,KKAces half as often as kings

Stud

Stud uses pipe (|) notation to separate hole cards from upcards and later streets.

Basic Syntax

hole hole | upcard              Third street (3 cards)
hole hole | up up up           Fifth street (5 cards)
hole hole | up up up up | down Seventh street (7 cards)

Examples

SyntaxMeaning
* * | KsAny two down, king of spades showing
AA-TT | BBig pair in hole, broadway up
(B B | Kh):(hh hh | Kh)Two broadway cards down, both hearts, king of hearts showing
[A,K] [Q,J] | KhRank lists in hole cards
AA | Kh@50, QQ | KhAces half as often as queens, king showing
AA, KK | KhAces or kings in the hole, king showing
*A completely random hand

Stud Rank Macros

MacroCardsPurpose
BA, K, Q, JBig cards
MT, 9, 8, 7Middle cards
Z6, 5, 4, 3, 2Small cards
LA, 2, 3, 4, 5, 6, 7, 8Low-qualifying cards
NK, Q, J, T, 9Non-low cards
WA, 2, 3, 4, 5Wheel cards

Omaha Hi/Lo

Same syntax as Omaha, with emphasis on low-card patterns for the low half of the pot.

SyntaxMeaning
A2**Ace-deuce for low draw
A23*Wheel draw (three wheel cards)
[A,2,3,4,5]***Any wheel card + three others
A2:xxyyAce-deuce double-suited

Board Notation

SyntaxMeaning
AhKs2cFlop: A hearts, K spades, 2 clubs
AhKs2c5dTurn: flop + 5 diamonds
AhKs2c5d9hRiver: complete board

Shorthand: type just rank letters (e.g. AK2) and the calculator will auto-assign suits. The order of the board cards does not change the result.

Weighting

Append @ followed by a percentage to weight part of a range. Those hands are then dealt that much less often than the rest of the range; no hands are removed. A weight on a whole range by itself changes nothing, because every hand is scaled alike.

SyntaxMeaning
AA@50,KKAces at half frequency, kings at full
QQ+,AK$s@75,AK$o@25AK suited three times as often as each AK offsuit combo
AA | Kh@50, QQ | KhStud: aces at half the frequency of queens

Custom Macros

Save a range with a name using the save icon next to any hand input. Reference it later with $name in any hand field.

Save "TT+,AK,AQ$s" as "premium"
Then use $premium in any hand input
Combine: $premium:xx   (premium AND suited)
         $premium!AA   (premium without aces)

Quick Reference Card

OPERATORS:     ,    OR (union)
               :    AND (intersection)
               !    NOT (difference)
               ()   Grouping
               @    Weighting (e.g. AA@50)

SUITS:         s h d c     (specific suits)
               x y z w     (suit variables)
               $s $o       (suited / offsuit)
               $ds $ss     (double / single suited)

RANKS:         A K Q J T 9 8 7 6 5 4 3 2
               R O N P     (rank variables)
               *           (wildcard)

RANGES:        +           (or better: TT+ = TT-AA)
               -           (through: AA-TT)
               %           (percentage: 10%)

STUD MACROS:   B  Big      (A,K,Q,J)
               M  Middle   (T,9,8,7)
               Z  Small    (6,5,4,3,2)
               L  Low      (A,2,3,4,5,6,7,8)
               W  Wheel    (A,2,3,4,5)

STUD SYNTAX:   hole hole | upcard [| more streets]