We analyze orbital effects of an in-plane magnetic field on the spin structure of states of a gated quantum dot based in a two-dimensional electron gas. Starting with a k·p Hamiltonian, we perturbatively calculate these effects for the conduction band of GaAs, up to the third power of the magnetic field. We quantify several corrections to the g-tensor and reveal their relative importance. We find that for typical parameters, the Rashba spin-orbit term and the isotropic term, H43 ∝ P 2 B · σ, give the largest contributions in magnitude. The in-plane anisotropy of the g-factor is, on the other hand, dominated by the Dresselhaus spin-orbit term. At zero magnetic field, the total correction to the g-factor is typically 5-10% of its bulk value. In strong in-plane magnetic fields, the corrections are modified appreciably. arXiv:1808.03963v2 [cond-mat.mes-hall] 4 Dec 2018 3 We stick here to the triangular heterostructure confinement in Eq. (4) and do not discuss in the main text, for the sake of brevity, other confinement types considered in Ref. 22. We give results for a symmetric confinement in App. D. 4 The corrections resulting from such terms are expected to be much smaller than the terms denoted gz (see below), which are of similar origin and which are subdominant.