The density of water in the ocean, which is defined as mass per unit of volume, has a complicated dependence on
temperature (T),
salinity (S) and
pressure (p), which in turn is a function of the density and depth of the overlying water, and is denoted as \rho(S, T, p). The dependence on pressure is not significant, since seawater is almost perfectly incompressible. A change in the temperature of the water impacts on the distance between water parcels directly. When the temperature of the water increases, the distance between water parcels will increase and hence the density will decrease. Salinity is a measure of the mass of dissolved solids, which consist mainly of salt. Increasing the salinity will increase the density. Just like the pycnocline defines the layer with a fast change in density, similar layers can be defined for a fast change in temperature and salinity: the
thermocline and the
halocline. Since the density depends on both the temperature and the salinity, the pycno-, thermo-, and haloclines have similar shapes. The difference is that the density increases with depth, whereas the salinity and temperature decrease with depth. In the ocean, a specific range of temperature and salinity occurs. Using the GODAS Data, \rho = \frac{\rho(S, T, 0)}{1-\frac{p}{K(S, T, p)}}.The terms in this formula, density when the pressure is zero, \rho(S, T, 0), and a term involving the compressibility of water, K(S, T, p), are both heavily dependent on the temperature and less dependent on the salinity:\begin{align}\rho(S, T, 0) = \rho_{SMOW} + B_1S + C_1S^{1.5} + d_0S^2, &\qquad K(S, T, p) =K(S, T, 0) + A_1p + B_2p^2, \end{align}with: \begin{align} {} & \rho_{SMOW} = a_0 + a_1T + a_2T^2 + a_3T^3 + a_4T^4 + a_5T^5, \\ {} & B_1 = b_0 + b_1T + b_2T^2 + b_3T^3 + b_4T^4, \\ {} & C_1 = c_0 + c_1T + c_2T^2, \\ \end{align} and \begin{align} {} & K(S, T, 0) = K_w + F_1S + G_1S^{1.5}, \\ {} & K_w = e_0 + e_1T + e_2T^2 + e_3T^3 + e^4T^4, \\ {} & F_1 = f_0 + f_1T + f_1T + f_2T^2 + f_3T^3, \\ {} & G_1 = g_0 + g_1T + g_2T^2, \\ {} & A_1 = A_w + (i_0 + i_1T + i_2T^2)S + j_0S^{1.5}, \\ {} & A_w = h_0 + h_1T + h_2T^2 + h_3T^3, \\ {} & B_2 = B_w + (m_0 + m_1T + m_2T^2)S), \\ {} & B_w = k_0 + k_1T + k_2T^2. \end{align} In these formulas, all of the small letters, a_i, b_i, c_i, d_0, e_i, f_i, g_i, i_i, j_0, h_i, m_i and k_i are constants that are defined in Appendix A of a book on Internal Gravity Waves, published in 2015. The density depends more on the temperature than on the salinity, as can be deduced from the exact formula and can be shown in plots using the GODAS Data. In the plots regarding surface temperature, salinity and density, it can be seen that locations with the coldest water, at the poles, are also the locations with the highest densities. The regions with the highest salinity, on the other hand, are not the regions with the highest density, meaning that temperature contributes mostly to the density in the oceans. A specific example is the
Arabian Sea. ==Quantification==