Using risk-reducing properties of conditional expectations with respect to convex order, Denuit and Dhaene [Denuit, M. and Dhaene, J. (2012). Insurance: Mathematics and Economics 51, 265–270] proposed the conditional mean risk sharing rule to allocate the total risk among participants to an insurance pool. This paper relates the conditional mean risk sharing rule to the size-biased transform when pooled risks are independent. A representation formula is first derived for the conditional expectation of an individual risk given the aggregate loss. This formula is then exploited to obtain explicit expressions for the contributions to the pool when losses are modeled by compound Poisson sums, compound Negative Binomial sums, and compound Binomial sums, to which Panjer recursion applies. Simple formulas are obtained when claim severities are homogeneous. A couple of applications are considered: first, to a peer-to-peer insurance scheme where participants share the first layer of their respective risks while the higher layer is ceded to a (re)insurer; second, to survivor credits to be shared among surviving participants in tontine schemes.