The dynamics of η-meson production and the interaction of η mesons with nucleons can be studied using the pp → ppη reaction via measurements of the analyzing power A y . To this end, we have performed a measurement of the pp → ppη reaction using the WASA-at-COSY detector, which provides large acceptance and is ϕ-symmetric. The experiment was carried out for the beam momenta of 2026 MeV/c and 2188 MeV/c. In this article, we present a method and results for the determination of the degree of the beam polarization.