Prisoner's Dilemma Payoff Calculator
Enter the four payoffs and each player's choice to see the result.
Result
How it is calculated
This is a lookup, not a formula. You enter the four payoffs T (temptation), R (reward), P (punishment) and S (sucker), then choose cooperate or defect for each player. The tool first checks that T > R > P > S holds strictly, and gives no result if any two are equal or out of order. It then selects the cell of the 2 × 2 table: both cooperate gives R to each; both defect gives P to each; a lone defector gets T while the cooperator gets S. It prints both payoffs in points and a one-line outcome label in English. Nothing is simulated or repeated, and it does not check the extra condition 2R > T + S that some textbooks add for repeated play. It reads one round only.
Worked example
Use the classic values T = 5, R = 3, P = 1, S = 0. The order 5 > 3 > 1 > 0 holds. Player 1 defects and Player 2 cooperates, so Player 1 receives the temptation payoff and Player 2 receives the sucker's payoff. Player 1 gets 5.00 pts and Player 2 gets 0.00 pts. The outcome line reads that Player 1 defects and Player 2 is the sucker. If both had cooperated they would each have received 3, and if both had defected each would have received 1.
Common mistakes
- Entering payoffs in the wrong order, such as R = 5 and T = 3. The tool requires T > R > P > S strictly, and returns nothing otherwise, because then the game is no longer a prisoner's dilemma.
- Using equal values, such as T = R. A tie breaks the strict ordering, so the tool refuses it.
- Entering years in prison as positive payoffs. Prison time is bad, so it must be entered as a negative number (for example 0, −1, −2, −5) so that more is better.
- Reading the result as a prediction of what players will do. The tool only reports the payoffs for the choices you pick; it does not decide who defects.
- Treating one round as a repeated game. Strategies like tit-for-tat only matter over many rounds, whereas this tool scores a single round.
About this calculator
The Prisoner's Dilemma is the foundational game of classical game theory, built on four payoffs that must satisfy the strict ordering Temptation, then Reward, then Punishment, then Sucker's payoff (T, R, P, S each ranked in descending value): T (Temptation) is what you get for defecting while the other cooperates, R (Reward) is what both get for mutual cooperation, P (Punishment) is what both get for mutual defection, and S (Sucker's payoff) is what you get for cooperating while the other defects. Given those four values and each player's choice, this calculator looks up the resulting outcome and reports each player's individual payoff.
The dilemma is that defection is each player's individually rational choice regardless of what the other does (it's a dominant strategy, since Temptation exceeds Reward and Punishment exceeds the Sucker's payoff), yet mutual defection (P, P) leaves both players worse off than mutual cooperation (R, R) would have. This tension between individual and collective rationality is why the model is used across economics, evolutionary biology (explaining cooperation among unrelated organisms), international relations (arms races, trade wars), and the design of repeated-game strategies like tit-for-tat.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
Map the four letters onto a situation you care about before typing numbers. In a price war, T is the profit for undercutting alone, R for both holding prices, P for both cutting, and S for being undercut. If the real situation does not keep T above R above P above S, the game is not this dilemma. Which real situation are you mapping, and what values did you choose?