Ruddlesden–Popper halide perovskites are 2D solution-processed quantum wells with a general formula A2A’n-1MnX3n+1, where optoelectronic properties can be tuned by varying the perovskite layer thickness (n-value), and have recently emerged as efficient semiconductors with technologically relevant stability. However, fundamental questions concerning the nature of optical resonances (excitons or free carriers) and the exciton reduced mass, and their scaling with quantum well thickness, which are critical for designing efficient optoelectronic devices, remain unresolved. Here, using optical spectroscopy and 60-Tesla magneto-absorption supported by modeling, we unambiguously demonstrate that the optical resonances arise from tightly bound excitons with both exciton reduced masses and binding energies decreasing, respectively, from 0.221 m0 to 0.186 m0 and from 470 meV to 125 meV with increasing thickness from n equals 1 to 5. Based on this study we propose a general scaling law to determine the binding energy of excitons in perovskite quantum wells of any layer thickness.