Context. Properties of galaxies like their absolute magnitude and their stellar mass content are correlated. These correlations are tighter for close pairs of galaxies, which is called galactic conformity. In hierarchical structure formation scenarios, galaxies form within dark matter halos. To explain the amplitude and the spatial range of galactic conformity two-halo terms or assembly bias become important. Aims. With the scale dependent correlation coefficients the amplitude and the spatial range of conformity are determined from galaxy and halo samples. Methods. The scale dependent correlation coefficients are introduced as a new descriptive statistic to quantify the correlations between properties of galaxies or halos, depending on the distances to other galaxies or halos. These scale dependent correlation coefficients can be applied to the galaxy distribution directly. Neither a splitting of the sample into subsamples, nor an a priori clustering is needed.Results. This new descriptive statistic is applied to galaxy catalogues derived from the Sloan Digital Sky Survey III and to halo catalogues from the MultiDark simulations. In the galaxy sample the correlations between absolute Magnitude, velocity dispersion, ellipticity, and stellar mass content are investigated. The correlations of mass, spin, and ellipticity are explored in the halo samples. Both for galaxies and halos a scale dependent conformity is confirmed. Moreover the scale dependent correlation coefficients reveal a signal of conformity out to 40 Mpc and beyond. The halo and galaxy samples show a differing amplitude and range of conformity.M 2 M r,1 , e 1 , M r,2 , e 2 | r = 2 (x 1 , M r,1 , e 1 ), (x 2 , M r,2 , e 2 ) 2 (1 + ξ 2 (r)) .( 3) M 2 M r,1 , e 1 , M r,2 , e 2 | r is the probability density of the absolute magnitudes M r,1 , M r,2 , and ellipticities e 1 , e 2 under the condition that this pair of galaxies is separated by r = |x 1 − x 2 |. We speak of mark-independent clustering, if M 2 M r,1 , e 1 , M r,2 , e 2 | r = M(M r,1 , e 1 )M(M r,2 , e 2 ) factorises and does not depend on the pair separation r. In such a case the absolute magnitudes and the ellipticities of galaxy pairs with a separation r are not different from any other pair of galaxies. On the contrary, markdependent clustering or mark segregation implies that the marks on certain galaxy pairs show deviations from the global mark distribution. The conditional probability density M 2 M r,1 , e 1 , M r,2 , e 2 | r is used to calculate the scale-dependent correlation coefficient:cor (M r , e | r) = M r,1 ,e 1 ,M r,2 ,e 2 M 2 M r,1 , e 1 , M r,2 , e 2 | r M r,1 − M r (e 1 − e)with the abbreviation M r,1 ,e 1 ,M r,2 ,e 2 := dM r,1 de 1 dM r,2 de 2 .