Perovskites having the chemical formulae of ABX
3
are promising candidates for various electronic, magnetic, and thermal applications. One of the important structural factors is
a
(the lattice constant), which represents the unit cell size. The variation in the lattice constant is a combined result of interactions between different ions, determined by valence electrons and ionic radii. The size and stability of unit cells have important influences on structural stabilities, bandgap structures, and therefore performance of materials. To obtain the lattice constant of cubic perovskites without going through experimental efforts such as synthesis and measurements, we construct a model based on Gaussian process regressions for cubic perovskite lattice constant predictions. The model utilizes the number of valence electrons as well as ionic radii of alloying elements as predictors. A total of 149 cubic perovskites containing fluorides, chlorides, and bromides with cation combinations of A
1+
B
2+
, as well as oxides with cation combinations of A
1+
B
5+
, A
2+
B
4+
, and A
3+
B
3+
are explored. The model demonstrates good performance in terms of stabilities and accuracy, and thus could be a rapid approach to estimate lattice constants.