Template:Physical constants/doc

This template provides easy inclusion of the latest CODATA recommended values of physical constants in articles. It gives the most recent values published, and will be updated when newer values become available, which is typically every four years.

The values have been updated to the CODATA 2022 values. This includes the 2019 redefinition of SI base units, which made the values of several constants exact (e.g. e), whereas some previously exactly defined constants acquired an uncertainty (e.g. μ0).

Arguments

 * : If set to, the value is preceded by the symbol of the constant, followed by ≈ or &#61; depending on whether or not   is set.
 * : If omitted, the value is shown along with its standard uncertainty. If set to an integer n, the value is rounded to the first n digits after the decimal point (trailing zeros are unfortunately omitted).
 * : If set to, the unit of measurement is not shown.
 * : If set to, no reference is given. If set to  , only the reference is given.
 * : Text (e.g. punctuation) to be shown after the constant before the reference.
 * : If set to, this will provide only the relative standard uncertainty of the value and its reference.

Examples









 * The relative standard uncertainty of mu is


 * For the electron mass,.


 * NIST publishes the CODATA value of the elementary charge.