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.

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 (same as xx)
$oOffsuit (same as xy)
$dsDouble-suited (Omaha)
$ssSingle-suited (Omaha)
$npNo pair (Omaha)

Percentage Ranges

SyntaxMeaning
10%Top 10% of hands (full-ring ranking)
10%6hTop 10% of hands (6-handed ranking)
5%-15%Hands ranked between 5% and 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)
AKsAce-King suited (4 combos)
AKoAce-King offsuit (12 combos)
AKAll AK (16 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: broadway + small card
AA,KK,QQUnion: aces OR kings OR queens
TT+!AATT through KK (excluding aces)
AA@50Aces at 50% weight
*Any random hand

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 (e.g. 568T)
AA,KK,QQUnion: any of these pairs
AA@50Aces at 50% weight

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 down with same-suit constraint
[A,K] [Q,J] | KhRank lists in hole cards
AA | Kh@50Aces in hole, king showing at 50% weight

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. Flop card order does not matter. Turn and river order is significant.

Weighting

Append @ followed by a percentage to weight a range. This reduces the frequency of that range in the simulation.

SyntaxMeaning
AA@50Aces at 50% frequency
AKs@75AK suited at 75% frequency
AA | Kh@50Stud: weighted at 50%
AA@50,KK50% aces OR 100% kings

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,AQs" as "premium"
Then use $premium in any hand input
Combine: $premium:xx   (premium AND suited)

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%)
               %6h         (6-handed: 10%6h)

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]