Skip to content
Omnikalc

Shapley value calculator (3 players)

Enter the value each player and each coalition can create to get the fair share of each player based on their average contribution.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Results

Shapley value of player 1

20.00

Shapley value of player 2

35.00

Shapley value of player 3

45.00

Share of player 1
20.0 %
Share of player 2
35.0 %
Share of player 3
45.0 %
Sum of the three values (equals the total)
100.00
Equal split, for comparison
33.33

The Shapley value calculator gives the Shapley value of each of three players, their share of the total, the sum as a check and the equal split for comparison, from the value that every player and coalition can create.

How the calculation works

  • Enter the value of each player alone.
  • Enter the value of each pair of players and of the three together.
  • Read the Shapley value and the share of each player, which add up to the total.

Example

With single values of 10, 20 and 30, pairs of 40, 50 and 70 and a total of 100, the Shapley values are 20.00, 35.00 and 45.00, or 20.0 %, 35.0 % and 45.0 % of the total, against an equal split of 33.33.

Why it matters

The calculator helps students of game theory and groups who must split a joint gain, such as three firms that share a facility or three partners in a project, with a rule that rewards each member for what they really add.

Good to know

The values must be consistent: a coalition should be worth at least as much as its parts if cooperation pays, which makes the game superadditive. If the values are not monotone, a player can get a negative share, and the calculator still gives the average contribution. The Shapley value is one fairness rule among others, such as the nucleolus or an equal split of the surplus, and it does not always lie in the core of the game. Measuring the values of coalitions is the hard part in practice, and the quality of the result depends on it. Test a few variations of the inputs to see how sensitive the split is, and keep in mind that the rule says what is fair on average, not what the partners will agree to.

The weighted voting power calculator applies a similar idea to votes, the expected value calculator averages outcomes, the combinations calculator counts groups and the percentage calculator computes shares.

Frequently asked questions

What is the Shapley value?

The Shapley value is a solution of cooperative game theory that splits the total gain of a group among its members according to their average marginal contribution. Each player receives the average of what they add to a coalition, over all the orders in which the players could have joined. It is the only split that satisfies a set of fairness axioms.

How is it calculated for three players?

There are six orders of arrival. For each order, a player is credited with the increase in value when they join. The Shapley value is the average of these credits. In formulas, player 1 gets v1/3 + (v12 − v2)/6 + (v13 − v3)/6 + (v123 − v23)/3, and the other players follow by symmetry.

What are the fairness axioms?

Efficiency means the values add up to the total value of the grand coalition. Symmetry means that two players who contribute the same get the same. A dummy player, who adds nothing to any coalition, gets nothing. Additivity means that the value of two games added together is the sum of the values. The Shapley value is the unique rule that satisfies all four.

Where is it used?

It is used to share costs and savings between partners, such as airport landing fees or a shared network, to attribute a result to features in machine learning (SHAP), to value the contribution of players in a team and to split profit between firms that cooperate. The values must be defined for every coalition, which limits it to small groups or to approximations.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.