The invention discloses a two-dimensional perovskite thin film material, a solar cell and a preparation method of the two-dimensional perovskite thin film material. Lead iodide, formamidine iodide, chloromethylamine, calcium bromide and calcium iodide are used as raw materials, dimethylformamide and dimethyl sulfoxide are used as a mixed solvent to prepare a perovskite precursor solution, and the film material is obtained through annealing after spin coating. The solar cell sequentially comprises a conductive substrate, an electron transport layer and a perovskite light absorption layer, a perovskite precursor solution is spin-coated on the conductive substrate coated with the electron transport layer, and the two-dimensional perovskite solar cell is prepared after annealing. The two-dimensional perovskite thin film material is used as a perovskite light absorption layer material in a solar cell. The chemical composition of the two-dimensional perovskite thin film is (CaBr) 2 (FA) n-1PbnI3n + 1, wherein FA is formamidine cations. According to the preparation method provided by the invention, the two-dimensional perovskite thin film material with relatively high crystallinity and relatively good performance can be obtained so that the photoelectric performance and efficiency of the perovskite solar cell are improved.