An invariant of a group U is called a relative invariant of class="mathmlsrc">class="formulatext stixSupport mathImg" data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0747717116000146&_mathId=si1.gif&_user=111111111&_pii=S0747717116000146&_rdoc=1&_issn=07477171&md5=61cdc104a5bc9075defda01563887931" title="Click to view the MathML source">U⊊Gclass="mathContainer hidden">class="mathCode"> if its stabilizer in G is U. The computation of Galois groups requires the construction of such invariants for permutation groups. This article reports on the constructions that are implemented in the Galois group package of class="smallcaps">magma 2.20.