Spin-orbit coupling is a manifestation of special relativity. In the reference frame of a moving electron, electric fields transform into magnetic fields, which interact with the electron spin and lift the degeneracy of spin-up and spin-down states. In solid-state systems, the resulting spin-orbit fields are referred to as Dresselhaus or Rashba fields, depending on whether the electric fields originate from bulk or structure inversion asymmetry, respectively. Yet, it remains a challenge to determine the absolute value of both contributions in a single sample. Here we show that both fields can be measured by optically monitoring the angular dependence of the electrons' spin precession on their direction of movement with respect to the crystal lattice. Furthermore, we demonstrate spin resonance induced by the spin-orbit fields. We apply our method to GaAs/InGaAs quantum-well electrons, but it can be used universally to characterise spin-orbit interactions in semiconductors, facilitating the design of spintronic devices.Symmetry-breaking electric fields in semiconductors induce a spin splitting, because electric fields appear to a moving electron as magnetic fields, which interact with the electron spin and couple it with the electron momentum, or wave vector, k. In zinc-blende-type crystals, such as GaAs, the electric fields resulting from the lack of an inversion centre lead to bulk inversion asymmetry (BIA) and to the Dresselhaus term in the Hamiltonian [1]. In the conduction band, its coupling is linear or cubic in k with proportionality constants β and γ, respectively. In heterostructures, additional electric fields are introduced owing to structure inversion asymmetry (SIA), giving rise to the Rashba term [2], which for conduction-band electrons is linear in k with coupling constant α. Both contributions have been extensively studied [3], since a potential use of electron spins in future devices (e.g. a spin transistor [4]) requires precise control of the spin's environment and of the Dresselhaus and Rashba fields [5]. Spin-orbit fields also contribute to spin decoherence [6].In two-dimensional systems, such as quantum wells (QWs), usually α β and γ ≈ 0 [7,8,9,10]. Therefore, measurements of the spin-orbit coupling initially focused on the Rashba term in QWs and concentrated on the study of beatings in Shubnikov-de-Haas oscillations [8,10,11,12,13], whose interpretation, however, is debated [14,15]. More recent experiments include the investigation of antilocalization in magnetotransport [16] or the analysis of photocurrents [17]. In the latter experiment, the ratio α/β could be determined. A gateinduced transition from weak localization to antilocalization allowed the discrimination between Rashba, as well as linear and cubic Dresselhaus contributions to the spinorbit field [18]. Tuning of the Rashba coupling has been achieved by introducing additional electric fields from gates [9,19] or by changing the electron density [20,21].The influence of effective spin-orbit magnetic fields on optical measurements in ...