Analogy to gas pressure
If a vessel filled with sugar solution (A) is placed in pure water (B) and its wall is impermeable only to the dissolved sugar molecules, the inflow of water will increase the pressure in the interior. The osmotic pressure thus produced will counteract the inflow of water; the movement of water will cease when equilibrium is reached (Fig. 1). The same pressure distribution as in Fig. 1 can be achieved without water inflow if (e.g. via a piston) an equal pressure acts on the liquid (A). (Fig. 2). Increasing or decreasing the piston pressure changes the concentration of the solution (A), as water then flows out or in through the vessel walls accordingly. This principle is used in reverse osmosis (also called anti-osmosis in older writings); a solution is further concentrated under pressure to remove the substances dissolved in it.
This fundamental analogy between osmotic and gas pressure was first described by the Dutch chemist van 't Hoff in 1887. He considered the cause of the osmotic pressure to be the collisions of the dissolved particles with the membrane wall (which is impermeable to them) (solute bombardment theory). The influence of the water molecules, on the other hand, was the same on both sides of the membrane and would therefore cancel each other out. This interpretation is contradicted by the fact that no deflection of the membrane is observed if the hydrostatic pressure is the same on both sides.
Application of the gas laws
In dilute liquid solutions the same laws apply as for ideal gases (Boyle-Mariotte law, Gay-Lussac law, Avogadro law). The osmotic pressure
- is proportional to the molar concentration of the solute
- is proportional to the absolute temperature
- of solutions depends only on the number of particles of the solute (molar concentration) (→ colligative property).
- of a solution of 1 mol in 22.4 l solvent is 101.325 kPa (standard pressure) at 273.15 K (0 °C).
These statements are summarized by van 't Hoff's law "the osmotic pressure is as great as the pressure of a gas of equal particle density
and temperature
":

Here is
the osmotic pressure - c = n/V is the mass concentration (molar concentration) of the solution
- i = Van-'t-Hoff factor (number of particles dissociating in water per molecule (e.g.
for glucose;
for NaCl))
is the universal gas constant
is the absolute temperature in K.
In this form, the law applies only to dilute solutions (< 0.1 mol/l), just as the ideal gas laws apply only at low pressures (the interaction of the particles with each other is neglected).
Osmotic pressure and vapour pressure
The vapour pressure of a solution is always lower than that of the pure solvent
(dissolution or dilution effect). Adding a substance to
lowers its chemical potential.
.
Here is
the vapor pressure of the pure solvent and
the solution. The osmotic pressure acts in the opposite way and leads to an increase of μ 

For liquids, the partial molar volume
can be considered to be independent of pressure. Under this condition, from both above terms, the equation:

can be derived. It states that the osmotic pressure is equal to the external pressure that would increase the vapor pressure of a solution to the vapor pressure of the pure solvent .
The driving force of osmosis is the decrease in vapor pressure of the solvent caused by the solution effect. An osmotic cell is in equilibrium when the osmotic pressure is balanced by an equal opposing force.
Saline solutions (electrolytes)
The osmotic pressure of a salt solution is always higher than it corresponds to van 't Hoff's law in the form Π = c⋅R⋅T, and is often twice or three times as high. This effect is due to the fact that salts break down into negatively and positively charged ions during the dissolution process (→ dissociation) and, when dissolved, have a higher number of particles than corresponds to the amount of substance in the solid state. For completely dissolved salts (strong electrolytes), this is an integer multiple of the original amount of substance. By extending the equation by a factor:

this effect can be taken into account. Here
the Van-'t-Hoff factor, a dimensionless number. For sodium chloride (NaCl), potassium chloride (KCl) and other binary electrolytes,
; for 1,2-valent electrolytes such as sodium sulfate (Na2SO4),
.
For salts that do not completely decompose in solution (weak electrolytes), the Van 't Hoff factor can be
calculated from the degree of dissociation α

where ν is
the number of ions per salt molecule. Therefore, when specifying the concentration of ions, it can be useful to specify them in the units osmol-l-1 (osmolarity) or osmol-kg-1(osmolality), since dissociation is already taken into account here.
The osmotic potential of non-ideal solutions
The van 't Hoff law does not apply to solutions where the interaction of the molecules can no longer be neglected. Here, the chemical potential from the Gibbs fundamental equation must be used. In thermodynamic equilibrium, the free enthalpy (Gibbs energy) of an osmotic cell is minimal:

At constant temperature, the equation simplifies to:

At constant ambient pressure, the following follows for the change in osmotic pressure:
.
The osmotic pressure
is thus obtained with the molar densities
from the change of all chemical potentials μ
. In this equation, mixing effects of the substances involved are taken into account. However, usually the mixing effects of the solutes among themselves and the concentration of the solvent are neglected:
.
Another approximation would be to neglect the mixing effect of the solute with the solvent. Here, the activity
these substances is assumed to be one, resulting as a rough approximation:
.
This approximate calculation can be used for dilute solutions, but leads to errors of more than 50 % for higher concentrations, especially since the solution effect is not taken into account here.
The negative value of the osmotic pressure is called the osmotic potential ψ . 
The osmotic coefficient and the ionic strength
There are various definitions of the osmotic coefficient.
The osmotic coefficient
is defined, for example, as the quotient of the real measured osmotic pressure and the theoretically expected (calculated) osmotic pressure (at this concentration) of a salt solution or non-ionic solution (of molecular substances):

Real dilute solutions would therefore always have a value less than or equal to one.
Empirically, the following correlation could be shown:

is here a constant,
the ionic strength. The Debye-Hückel theory led to the following theoretical equation for dilute electrolyte solutions:

A is a constant according to the Debye-Hückel theory. The ionic valences (charge numbers) z are to be inserted as amounts. This equation confirmed the empirically found first equation.
This osmotic coefficient is used, among other things, in electrochemistry. The coefficient says something about the deviation/approximation from/to the ideal state (ideal dilution at c=0 mol/liter or more precisely ionic strength I=0 mol/liter) of a solution. Ideally diluted solutions have an osmotic coefficient of the value one - according to this definition. At high concentrations (more precisely: ionic strengths) the value tends towards zero. Therefore, analogies exist to the degree of dissociation and the conductivity coefficient of electrolytic conductivity, because these values also run from (theoretically) zero (high concentration c or ionic strength I) to one (ideal dilution, c=0, I=0).
The ionic strength I, which was defined by Gilbert N. Lewis and Merle Randall in 1921, is also supposed to be a measure of the deviation of an electrolyte solution from the ideal state (obviously the comparison with the arithmetic mean of the molar concentrations is meant). For binary electrolytes (one cation and one anion), the ionic strength I is to be regarded as the arithmetic mean of the concentrations weighted quadratically according to the ionic valences (charge numbers).
Osmometry - measurement of the osmotic pressure
The osmotic pressure of a solution is determined using membrane osmometers similar to Pfeffer's cell. The pressure can be measured either statically, after equilibrium has been established, or dynamically, by applying an external pressure to the riser tube manometer which just interrupts the osmotic flow.
A 1 molar solution of cane sugar (molar mass 342.30 g-mol-1) in water already causes an osmotic pressure of 2.70 MPa (27 bar) at room temperature. For considerably higher pressures (several 100 bar), measurement principles such as the change in the refractive index of water or the piezoelectric effect can be used.
By measuring the osmotic pressure or potential, it is possible to determine the average molecular mass of macromolecules; this procedure is known as osmometry. Since there is a direct relationship between the osmotic pressure and the other colligative properties of a solution, these being boiling point increase and freezing point decrease, the osmotic pressure can be determined indirectly as an osmotic value by measuring them.
While the direct measurement of osmotic pressure requires the presence of two phases and a specifically permeable membrane, the indirect methods of osmometry only require the solution to be measured. They are therefore particularly suitable for characterizing different solutions with regard to their osmotic properties. Osmolarity and osmolality indicate the concentration of dissolved particles in relation to the volume or amount of substance. Isoosmotic are solutions whose osmotic value is the same. Since the osmotic value does not contain any information about the components in the solutions to be compared, isoosmotic cannot be equated with isotonic.