Variband GaAs(1-x)Px has been used for creating a compact hydrostatic pressure sensor. The optimal phosphorus distribution profile in gallium arsenide-phosphide along the thickness of the resistor enables the temperature sensitivity of the output signal to be minimized in the temperature range 250-550 K.