The equations of magnetohydrodynamic equilibrium are solved using the rigid‐drift assumption for a screw pinch with an arbitrarily pitched current. Instead of the customary isothermal assumption, the pressure is assumed to be proportional to the square of the number density (which implies a temperature that is proportional to the number density). Analytical formulae are presented for the profiles of the equilibrium magnetic field components,B&Vthgr;(r) andBz(r), and for the equilibrium pressure profile,p(r). The relative shapes of these profiles (which can exhibit hollow pressure and/or reversedBzbehavior) are determined by specification of only two parameters: the value of the local plasma beta atr=0 and a quantity related to the pitch of the current. A set of profiles that resemble those experimentally observed in reversed‐field pinches is presented.