ABSTRACT The Hubble constant (H0) is a measurement to describe the expansion rate of the Universe in the current era. However, there is a 4.4σ discrepancy between the measurements from the early Universe and the late Universe. In this research, we propose a model-free and distance-free method to constrain H0. Combining Friedman–Lemaître–Robertson–Walker cosmology with geometrical relation of the proper motion of extragalactic jets, the lower limit (H0,min) of H0 can be determined using only three cosmology-free observables: the redshifts of the host galaxies, and the approaching and receding angular velocities of radio jets. Using these, we propose to use the Kolmogorov–Smirnov test (K–S test) between cumulative distribution functions of H0,min to differentiate cosmology. We simulate 100, 200, and 500 extragalactic jets with three levels of accuracy of the proper motion (μa and μr), at 10, 5, and 1 per cent, corresponding to the accuracies of the current and future radio interferometers. We perform K–S tests between the simulated samples as theoretical distributions with different H0 and power-law index of velocity distribution of jets and mock observational data. Our result suggests increasing sample sizes leads to tighter constraints on both power-law index and the Hubble constant at moderate accuracy (i.e. $10$ and $5{{\ \rm per\ cent}}$), while at $1{{\ \rm per\ cent}}$ accuracy, increasing sample sizes leads to tighter constraints on power-law index more. Improving accuracy results in better constraints in the Hubble constant compared with the power-law index in all cases, but it alleviates the degeneracy.