A precision measurement of the Bc+ meson mass is performed using proton-proton collision data collected with the LHCb experiment at centre-of-mass energies of 7,8 and 13 TeV, corresponding to a total integrated luminosity of 9.0fb−1. The Bc+ mesons are reconstructed via the decays Bc+→J/ψπ+, Bc+→J/ψπ+π−π+, Bc+→J/ψppˉπ+, Bc+→J/ψDs+, Bc+→J/ψD0K+ and Bc+→Bs0π+. Combining the results of the individual decay channels, the Bc+ mass is measured to be 6274.47±0.27(stat)±0.17(syst)MeV/c2. This is the most precise measurement of the Bc+ mass to date. The difference between the Bc+ and Bs0 meson masses is measured to be 907.75±0.37(stat)±0.27(syst)MeV/c2.