CHICOM: A code of tests for comparing unweighted and weighted histograms and two weighted histograms A Fortran-77 program for calculating test statistics to compare weighted histogram with an unweighted histogram and two histograms with weighted entries is presented. The code calculates test statistics for cases of histograms with normalized weights of events and unnormalized weights of events.