In any finite group G, the relative commutativity degree of subgroup H and group G (denoted by d(H,G)) is the probability that two randomly chosen elements of H and G commute. Erfanian et. al. in 2007 gave some bounds for this kind of probability, providing information on the group structure. the aim of this paper is to generalize the definition of d(H,G) to every compact group.