Skip to main content

Poker Hand Ranker

Name the best five-card poker hand and rank several hands against each other.

Enter each hand on its own line as rank then suit, like AS KS QS JS 10S. A hand can have 5 to 7 cards, and the ranker picks the best five. For Texas Hold'em, put the two hole cards on each line and the five community cards in Board.

How it works

Hands rank from highest to lowest: royal flush, straight flush, four of a kind, full house, flush, straight, three of a kind, two pair, one pair, high card. With more than five cards, every five-card combination is tried and the best one is kept.

Two hands of the same kind are compared by the cards that make them, then by the kickers, so a pair of aces with a king beats a pair of aces with a queen. Aces are high, except in the five-high straight A 2 3 4 5. Suits never break a tie, so identical hands share a place.

Cards: ranks A, 2 to 10 (or T), J, Q, K, and suits S, H, D, C or the symbols ♠ ♥ ♦ ♣.