The radius of the proton is defined by a formula which can be calculated by quantum electrodynamics and be derived from either atomic spectroscopy or by electron–proton scattering. The formula involves a form-factor related to the two-dimensional parton diameter of the proton.