We will recall McShane’s identity on cusped hyperbolic surfaces, and Mirzakhani’s generalization to bounded surfaces. Then we will present another great identity on the same kind of surfaces, namely Basmajian’s identity, and sketch its proof. Finally we will see how these two can be seen as limit cases of a bigger family of identities.