First dissociation constant of phosphoric acid (mol/kg)

1 | ```
K1p(S=35, T=25, P=0, pHscale="T", kSWS2scale=0, warn="y")
``` |

`S` |
Salinity, default is 35 |

`T` |
Temperature in degrees Celsius, default is 25oC |

`P` |
Hydrostatic pressure in bar (surface = 0), default is 0 |

`pHscale` |
Choice of pH scale: "T" for using the total scale, "F" for using the free scale and "SWS" for using the seawater scale, default is total scale |

`kSWS2scale` |
Conversion factor from the seawater scale (SWS) to the pH scale selected at the hydrostatic pressure value indicated. If it is required and not given, it is computed, which slows down computations. |

`warn` |
"y" to show warnings when T or S go beyond the valid range for K1p; "n" to supress warnings. The default is "y". |

This formulation is only valid for specific ranges of temperature and salinity:

S ranging between 0 and 45 and T ranging between 0 and 45oC.

The pressure correction was applied on the seawater scale. Hence, values were first transformed from the total scale to the seawater scale, the pressure correction applied as described by Millero (1995), and the value was transformed back to the required scale (T, F or SWS).

Note that the arguments can be given as a unique number or as vectors. If the lengths of the vectors are different, the longer vector is retained and only the first value of the other vectors is used. It can therefore be critical to use vectors of the same length.

`K1p` |
First dissociation constant of phosphoric acid (mol/kg) |

Jean-Marie Epitalon and Heloise Lavigne, Aurelien Proye and Jean-Pierre Gattuso gattuso@obs-vlfr.fr

Millero F. J., 1995 Thermodynamics of the carbon dioxide system in the oceans. *Geochimica Cosmochimica Acta* **59**: 661-677.

Dickson A. G., Sabine C. L. and Christian J. R., 2007 Guide to best practices for ocean CO2 measurements. *PICES Special Publication* **3**, 1-191.

1 | ```
K1p(35,25,0)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.