Calculate the gaining ratio when a partner retires from the old profit-sharing ratio and the new ratio or agreed split, plus the C4.5 gain ratio.

Leave the acquisition split blank when A and B take C’s share in their old ratio (the rule when nothing is agreed).

Leave both split fields blank to use the old A:B ratio.

Goodwill adjustment
Blank omits the adjustment. This is the whole firm’s goodwill, before allocating C’s share.

Calculator Functions

FunctionWhat it doesWhat it requires
Gaining ratio: C retires, share taken in a set ratioFinds the gaining ratio and new profit-sharing ratio when the retiring partner’s share is split in an agreed ratioRequires the old ratio parts of A, B and C, with the acquisition split optional
Gaining ratio: C retires, new A:B ratio givenFinds each continuing partner’s gain from an agreed new ratioRequires the old ratio parts of A, B and C and the new ratio parts of A and B
Machine learning gain ratio: branch countsFinds the C4.5 gain ratio of one decision-tree split from class countsRequires the parent positive and negative counts and one positive,negative pair per branch
Machine learning gain ratio: known valuesDivides a known information gain by a known split informationRequires information gain and split information in bits, with a comparison threshold optional

The page covers two unrelated meanings of gain ratio. The first two functions are partnership accounting for a firm of three partners where partner C retires, and both accept an optional firm goodwill value. The last two are the decision-tree measure. Ratio parts are whole numbers.

Gain Ratio Formulas

Gain = New share −
Old share [1]
GainThe extra fraction of profit a continuing partner receives after the retirement
NewThat partner’s share of profit after the retirement
OldThat partner’s share of profit before the retirement

The gaining ratio is the ratio of the continuing partners’ gains, A’s gain to B’s gain. It is the ratio in which they take over the retiring partner’s share [1].

Gaining ratio: C retires, share taken in a set ratio

GainA = C share × a ÷ (a + b)

a and b are the parts of the acquisition split. With an old ratio of 3 : 2 : 1, C holds 1/6. If A and B take it in the ratio 3 : 2, A gains 1/6 × 3/5 = 1/10 and B gains 1/6 × 2/5 = 1/15, so the gaining ratio is 3 : 2 and the new profit-sharing ratio is also 3 : 2. When the split is left blank, the calculator uses the old A : B ratio, which is the rule when the partners have agreed nothing else; the gaining ratio then equals their old ratio [1].

Gaining ratio: C retires, new A:B ratio given

Here the main formula is applied to each partner. With an old ratio of 5 : 2 : 3 and a new A : B ratio of 3 : 2, A gains 3/5 − 5/10 = 1/10 and B gains 2/5 − 2/10 = 1/5, a gaining ratio of 1 : 2. If one partner’s new share is smaller than the old one, that partner has made a sacrifice, not a gain. The calculator then reports mixed gain and sacrifice and shows the signed changes without a ratio.

Goodwill adjustment

Charge = Goodwill × Gain [1]

The retiring partner is owed a share of the firm’s goodwill, and the continuing partners bear it in their gaining ratio [1]. With an old ratio of 3 : 1 : 2, a blank split and firm goodwill of 60,000, C is due 60,000 × 1/3 = 20,000. A gains 1/4 and is charged 15,000, and B gains 1/12 and is charged 5,000. No charge is allocated when a continuing partner sacrifices share.

Machine learning gain ratio: branch counts

Gain ratio = IG ÷ SI [2]
H = −Σ p × log2(p)
IG = Hparent − Σ w × Hbranch
SI = −Σ w × log2(w)

H is the entropy of a group of cases in bits, p is the proportion of cases in each class, and w is the fraction of the parent’s cases that falls in a branch [2]. A parent with 9 positive and 5 negative cases has an entropy of 0.940286 bits. Splitting it into branches of 2,3 and 4,0 and 3,2 leaves a weighted branch entropy of 0.693536, so the information gain is 0.24675 bits. The split information of branches holding 5, 4 and 5 of the 14 cases is 1.577406 bits, and the gain ratio is 0.24675 ÷ 1.577406 = 0.156428. The branch counts must add up to the parent counts.

Machine learning gain ratio: known values

This function performs only the final division. An information gain of 0.24675 bits over a split information of 1.577406 bits gives 0.156428. Information gain cannot exceed split information for the same split. The optional threshold reports whether the gain meets a chosen minimum, which reflects how C4.5 works: it picks the split with the highest gain ratio only from splits whose information gain is at least average [2].

Limits of This Estimate

  • The partnership functions handle three partners with C retiring. They give the profit-share change and the goodwill charge only, and do not settle capital, reserves, revaluation or other amounts due to the retiring partner.
  • The branch-count function handles two classes and one split. Split information grows with the number of branches, which is why the ratio penalizes splits into many small groups [2].
  • No gain ratio value is strong or weak on its own. It is only meaningful when compared with other candidate splits of the same data.

Sources

  1. NCERT, Accountancy: Partnership Accounts, Chapter 3, Retirement/Death of a Partner, Sections 3.2 to 3.4: gaining ratio as new share minus old share, the old-ratio rule when nothing is agreed, and goodwill borne in the gaining ratio
  2. J. R. Quinlan, Improved Use of Continuous Attributes in C4.5, Journal of Artificial Intelligence Research 4, 1996, Section 2: entropy, information gain, split information, gain ratio and the average-gain condition