Poker Hand Rankings Evaluator

Poker Hand Rankings Evaluator

Growing AI Skill PRO

Enter Calculation

Formula

R={10F∧S∧v(1)=10(Royal Flush)9F∧S(Straight Flush)8maxv⁡nv=4(Four of a Kind)7maxv⁡nv=3∧|{v:nv=2}|=1(Full House)6F(Flush)5S(Straight)4maxv⁡nv=3(Three of a Kind)3|{v:nv=2}|=2(Two Pair)2|{v:nv=2}|=1(One Pair)1otherwise(High Card)where{(v1,…,v5)=val(R1,R2,R3,R4,R5)val:A=14,K=13,Q=12,J=11,10…2=10…2(s1,…,s5)=(S1,S2,S3,S4,S5)F=[s1=s2=s3=s4=s5]S=[v(5)−v(1)=4with all vi distinct]or{vi}={14,2,3,4,5}nv=|{i:vi=v}|\begin{gathered} R = \begin{cases} 10 & F \wedge S \wedge v_{(1)}=10 \quad \text{(Royal Flush)}\\ 9 & F \wedge S \quad \text{(Straight Flush)}\\ 8 & \max_v n_v = 4 \quad \text{(Four of a Kind)}\\ 7 & \max_v n_v = 3 \wedge |\{v : n_v = 2\}| = 1 \quad \text{(Full House)}\\ 6 & F \quad \text{(Flush)}\\ 5 & S \quad \text{(Straight)}\\ 4 & \max_v n_v = 3 \quad \text{(Three of a Kind)}\\ 3 & |\{v : n_v = 2\}| = 2 \quad \text{(Two Pair)}\\ 2 & |\{v : n_v = 2\}| = 1 \quad \text{(One Pair)}\\ 1 & \text{otherwise} \quad \text{(High Card)} \end{cases} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} (v_1,\dots,v_5) &= \text{val}\left(\text{R1},\ \text{R2},\ \text{R3},\ \text{R4},\ \text{R5}\right) \\ \text{val} &: A = 14,\ K = 13,\ Q = 12,\ J = 11,\ 10\dots2 = 10\dots2 \\ (s_1,\dots,s_5) &= \left(\text{S1},\ \text{S2},\ \text{S3},\ \text{S4},\ \text{S5}\right) \\ F &= \left[\, s_1 = s_2 = s_3 = s_4 = s_5 \,\right] \\ S &= \left[\, v_{(5)} - v_{(1)} = 4 \ \text{with all } v_i \text{ distinct} \,\right] \ \text{or} \ \{v_i\} = \{14,2,3,4,5\} \\ n_v &= \left| \{\, i : v_i = v \,\} \right| \end{aligned} \right. \end{gathered}
Show calculation steps (1)
  1. Duplicate Card Check

    R=0if∃i≠j:ci=cj,ci=Ranki‖SuitiR = 0 \quad \text{if} \quad \exists\, i \neq j : c_i = c_j, \qquad c_i = {{\text{Rank}_i}} \,\Vert\, {{\text{Suit}_i}}

    Before ranking, the five cards (rank symbol plus suit letter) must all be distinct; any repeated card makes the hand invalid with rank 0.

Usage stats

Advertisement

Results

Best Hand
Royal Flush
Rank 1 of 10 (1 = best)
Hand Royal Flush
Rank (1=best, 10=worst) 1
Key cards A-K-Q-J-10 all of Spades
Why An ace-high straight flush: the five highest cards in sequence, all the same suit. The best possible hand.

Report an error on this page

What this evaluator does

This tool takes a five-card poker hand and tells you exactly which category it makes, from a Royal Flush (the best) down to High Card (the worst). It uses the standard "high" poker hand rankings used worldwide in games such as Texas Hold'em and five-card draw. Suits are not ranked in standard poker, so they only matter for detecting flushes.

How to use it

Pick a rank and a suit for each of the five cards using the dropdowns, then read the result. The evaluator reports the hand name, its rank number from 1 (best) to 10 (worst), the key cards that form the combination, and a short explanation. It also flags an invalid hand if you accidentally enter two identical cards.

The ten hand categories

Hands are checked in strict order and the first match wins: 1) Royal Flush, 2) Straight Flush, 3) Four of a Kind, 4) Full House, 5) Flush, 6) Straight, 7) Three of a Kind, 8) Two Pair, 9) One Pair, 10) High Card. Each rank is converted to a number (\(J=11\), \(Q=12\), \(K=13\), \(A=14\)). A flush means all five suits match. A straight means five distinct values in a row (highest minus lowest equals four), with one special case: the "wheel" A-2-3-4-5, where the Ace counts as low and the straight tops out at five. Note that A-K-Q-J-10 is the highest straight and K-A-2-3-4 does not wrap around, so it is not a straight.

$$\text{Hand} = f(\text{ranks } v_1..v_5,\ \text{suits } s_1..s_5)$$

$$2..10 \to 2..10,\quad J=11,\ Q=12,\ K=13,\ A=14$$

$$\text{flush}=\big(\textstyle\bigcap s_i\big),\quad \text{straight}=(\max-\min=4 \wedge \text{distinct})$$
Advertisement
Chart of ten poker hands ranked strongest to weakest
The ten poker hand categories from Royal Flush (strongest) to High Card (weakest).

Worked example

Suppose you hold 3 of diamonds, 3 of clubs, 3 of hearts, King of spades and King of hearts. The values are \(\{3,3,3,13,13\}\). The count multiset is three of one rank and two of another, which is exactly \(\{3,2\}\) - a Full House, rank 4: "threes full of kings."

Five cards forming a full house with the triple and pair grouped
A worked example: three of one rank plus a pair make a Full House.

Poker Hand Rankings and Probabilities (5-Card Hands)

The table covers standard 5-card poker with a 52-card deck and no wild cards. The total number of distinct 5-card hands is \(\binom{52}{5} = \frac{52 \cdot 51 \cdot 50 \cdot 49 \cdot 48}{120} = 2{,}598{,}960\). The calculator's formula scores the strongest hand as 10 and High Card as 1. The "Strength position" column uses the other common convention, where 1 is the strongest hand.

Calculator rank (R) Strength position Hand Example Combinations Probability
10 1 Royal Flush A♠ K♠ Q♠ J♠ 10♠ 4 0.000154%
9 2 Straight Flush (excluding royal) 9♥ 8♥ 7♥ 6♥ 5♥ 36 0.00139%
8 3 Four of a Kind K♣ K♦ K♥ K♠ 3♦ 624 0.0240%
7 4 Full House Q♠ Q♥ Q♦ 7♣ 7♠ 3,744 0.1441%
6 5 Flush (excluding straight flushes) A♦ J♦ 8♦ 5♦ 2♦ 5,108 0.1965%
5 6 Straight (excluding straight flushes) 9♣ 8♦ 7♠ 6♥ 5♣ 10,200 0.3925%
4 7 Three of a Kind 8♠ 8♥ 8♦ K♣ 4♠ 54,912 2.1128%
3 8 Two Pair J♠ J♦ 4♥ 4♣ A♠ 123,552 4.7539%
2 9 One Pair 10♥ 10♠ A♦ 7♣ 3♠ 1,098,240 42.2569%
1 10 High Card A♠ J♦ 8♣ 5♥ 2♠ 1,302,540 50.1177%

The combination counts add up to 2,598,960, so the table covers every possible 5-card hand exactly once.

Interpreting Your Result

What the rank number means. The calculator's formula assigns R = 10 to a Royal Flush and R = 1 to High Card. Many poker references instead list hands from 1 (strongest) to 10 (weakest). Always check which direction a rank number runs. The hand name is unambiguous.

Rarity and strength. In standard poker, a rarer hand beats a more common one. That is why a flush beats a straight and a full house beats a flush, even though some other poker variants or house rules differ. Half of all 5-card hands are High Card, and only about 1 in 649,740 is a Royal Flush.

Tie-breaking within the same category

  • Four of a Kind: compare the rank of the four cards first, then the kicker.
  • Full House: compare the three-of-a-kind rank first, then the pair rank.
  • Three of a Kind: compare the trips rank, then the two kickers in descending order.
  • Two Pair: compare the higher pair, then the lower pair, then the kicker.
  • One Pair: compare the pair rank, then the three kickers in descending order.
  • Flush and High Card: compare the highest card, then the next highest, and so on downward.
  • Straight and Straight Flush: compare the top card of the sequence. The wheel (A-2-3-4-5) is the lowest straight, with the ace counting as low, so it ranks as 5-high.

If two hands have identical ranks after all comparisons, they tie and split the pot. Suits never break ties in standard poker.

5 cards only. This tool evaluates exactly 5 cards. In Texas Hold'em you have 7 available cards (2 hole cards plus 5 community cards). You must pick the best 5-card combination yourself and enter those 5 cards. Also make sure the same card is not entered twice, since a standard deck has only one of each.

Advertisement

Poker Terms Glossary

Rank
The value of a card: 2 through 10, J, Q, K, A. The calculator uses A = 14, K = 13, Q = 12, J = 11, and an ace can also play low in the wheel.
Suit
One of the four card families: spades, hearts, diamonds, clubs. Suits matter for flushes but never for ranking one hand above another of the same category.
Kicker
An unpaired side card that breaks ties between hands of the same category, for example the fifth card in a pair hand.
Wheel
The straight A-2-3-4-5, the lowest possible straight, where the ace counts as low.
Broadway
The straight A-K-Q-J-10, the highest possible straight. Made in a single suit, it is a royal flush.
Pair
Two cards of the same rank, plus three unrelated side cards.
Trips / Three of a Kind
Three cards of the same rank, plus two unrelated side cards.
Quads
Four cards of the same rank (Four of a Kind), plus one kicker.
Full House
Three cards of one rank and two cards of another rank.
Flush
Five cards of the same suit that are not in sequence.
Straight
Five cards in consecutive rank order, in mixed suits.
Straight Flush
Five consecutive cards, all of the same suit.
Royal Flush
The ace-high straight flush: A-K-Q-J-10 of a single suit. It is the best possible hand.
High Card
A hand with no pair, straight or flush. It is ranked by its highest card, then the next highest, and so on.
Count multiset
The pattern of how many times each rank appears in the hand, ignoring which ranks they are. For example, {4,1} is four of a kind, {3,2} is a full house, {3,1,1} is three of a kind, {2,2,1} is two pair, {2,1,1,1} is one pair, and {1,1,1,1,1} is all distinct ranks (a straight, a flush, or high card).

FAQ

Do suits decide who wins? No. In standard poker suits are never used to break ties; only some house rules use Spades > Hearts > Diamonds > Clubs.

Is A-2-3-4-5 a straight? Yes - it is the wheel, the lowest straight, with the Ace playing low.

Why is A-K-Q-J-10 of one suit a Royal Flush, not a Straight Flush? A Royal Flush is simply the highest possible straight flush, so it is named and ranked separately at rank 1.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators