Payoff Matrix Calculator

Change the incentives. See who wants to move. Explore pure and mixed Nash equilibria in a two-player, two-strategy game — free, without signing in.

One player wants the calls to match; the other wants them to differ. No pure strategy pair is stable.

Two players choose simultaneously. Each cell gives the row player’s payoff first, then the column player’s. Higher is better for each player. Use whole numbers from −1,000,000 to 1,000,000.

Edit both strategies and all eight payoffs.

Submit edits to update the analysis and lesson. The address bar then holds a shareable link to this exact game; do not put private information in its labels.

Analyzed game

Matching pennies

A boxed cell is a pure Nash equilibrium. Underlining marks a best response, including ties. Payoffs are in points.

Matcher chooses a row; Mismatcher chooses a column. Each pair reads (Matcher, Mismatcher).
HeadsTails
Heads
1,-1
Best response for Matcher.

-1,1
Best response for Mismatcher.

Tails
-1,1
Best response for Mismatcher.

1,-1
Best response for Matcher.

No pure Nash equilibrium

At every cell, at least one player can earn more by switching alone. Look at mixed strategies below.

All equilibrium probabilities

p = probability Matcher chooses Heads. q = probability Mismatcher chooses Heads. The other strategy gets 1 − p or 1 − q.

  • p = 1/2; q = 1/2

An interval includes both endpoints. Every combination within a listed pair of intervals is an equilibrium; the full list includes pure and mixed strategies.

Why randomize? Try a mixture.

Move one player’s probability and watch the other player’s incentives change. These are trial choices, not necessarily an equilibrium. They do not alter your game or lesson. Interactive controls require JavaScript.

Mismatcher’s expected payoff for each pure strategy

Heads
0.00 points
Tails
0.00 points

Matcher’s expected payoff for each pure strategy

Heads
0.00 points
Tails
0.00 points

What this calculator does — and does not tell you

A Nash equilibrium is a pair of strategies where neither player can improve their expected payoff by changing alone. It need not be fair, best for the pair, or a prediction of what students will actually choose.

This solver covers two players with two strategies each, including ties, weak best responses and infinitely many equilibria. It assumes each player maximizes their stated numerical payoff. It does not solve larger games, sequential games or repeated-game incentives.

The mixed-strategy calculation makes each player indifferent between the strategies they randomize over. Equilibrium probabilities are exact reduced fractions; the optional trial-mixture display is rounded.

For a worked mathematical introduction, see MIT’s mixed-strategy lecture. Ready to teach? Explore game theory classroom activities, then use the exact analyzed game below.

Teach this exact game

Put it on a slide and your audience joins from their phones — no app and no accounts for them. Free to start.

Teach this exact game

Run it live, not just on paper

Use this result in a live activity your audience joins from their phones — no app, no accounts for them.

Create a presentation