Skip to main content

Module constants

Module constants 

Source
Expand description

Physical and mathematical constants (NIST CODATA 2018 / 2019 SI redefinition).

Constants§

ALPHA
Fine-structure constant α ≈ 1/137
ALPHA_INV
Inverse fine-structure constant 1/α
AMU
Atomic mass unit / dalton (kg)
ATM
Standard atmosphere (Pa) — exact
AU
Astronomical unit (m) — exact (IAU 2012)
BOHR_MAGNETON
Bohr magneton μ_B (J/T)
BOHR_RADIUS
Bohr radius a₀ (m)
C
Speed of light in vacuum (m/s) — exact
CALORIE
Thermochemical calorie (J)
CMB_TEMPERATURE
Cosmic microwave background temperature (K)
CONDUCTANCE_QUANTUM
Conductance quantum G₀ = 2e²/h (S)
E
Euler’s number (e)
EARTH_MASS
Earth mass M⊕ (kg)
EARTH_MOON_DISTANCE
Mean Earth-Moon distance (m)
EARTH_RADIUS
Earth mean radius R⊕ (m)
EPSILON_0
Vacuum permittivity ε₀ (F/m)
EV_TO_JOULES
Electron-volt to joules (J/eV) — same value as E_CHARGE
E_CHARGE
Elementary charge (C) — exact (2019 SI redefinition)
FARADAY
Faraday constant F = N_A × e (C/mol) — exact, and computed from its two exact factors rather than transcribed, so it cannot disagree with them.
FIRST_RADIATION
First radiation constant c₁ = 2πhc² (W·m²)
G
Gravitational constant (m³ kg⁻¹ s⁻²) — ±0.000_15e-11
G_ACCEL
Standard gravitational acceleration (m/s²) — exact by definition
H
Planck’s constant (J·s) — exact (2019 SI redefinition)
HBAR
Reduced Planck’s constant ℏ = h/(2π) (J·s) — exact
HUBBLE
Hubble constant H₀ ≈ 69.8 km/s/Mpc (s⁻¹)
JOSEPHSON
Josephson constant K_J = 2e/h (Hz/V)
K_B
Boltzmann constant (J/K) — exact (2019 SI redefinition)
K_E
Coulomb constant k_e = 1/(4πε₀) (N·m²/C²)
LIGHT_YEAR
Light-year (m) — exact
LN_2
Natural logarithm of 2
LN_10
Natural logarithm of 10
MAGNETIC_FLUX_QUANTUM
Magnetic flux quantum Φ₀ = h/(2e) (Wb)
MU_0
Vacuum permeability μ₀ (H/m)
M_ELECTRON
Electron mass (kg)
M_NEUTRON
Neutron mass (kg)
M_PROTON
Proton mass (kg)
NUCLEAR_MAGNETON
Nuclear magneton μ_N (J/T)
N_A
Avogadro constant (mol⁻¹) — exact (2019 SI redefinition)
PARSEC
Parsec (m)
PI
Pi (π)
PLANCK_CHARGE
Planck charge √(4πε₀ℏc) (C)
PLANCK_LENGTH
Planck length √(ℏG/c³) (m)
PLANCK_MASS
Planck mass √(ℏc/G) (kg)
PLANCK_TEMPERATURE
Planck temperature √(ℏc⁵/(G·k_B²)) (K)
PLANCK_TIME
Planck time √(ℏG/c⁵) (s)
R
Molar gas constant R = N_A × k_B (J mol⁻¹ K⁻¹) — exact
RYDBERG
Rydberg constant R∞ (m⁻¹)
RYDBERG_ENERGY
Rydberg energy (J) ≈ 13.6 eV
SECOND_RADIATION
Second radiation constant c₂ = hc/k_B (m·K)
SIGMA
Stefan-Boltzmann constant σ (W m⁻² K⁻⁴)
SOLAR_LUMINOSITY
Solar luminosity L☉ (W)
SOLAR_MASS
Solar mass M☉ (kg)
SOLAR_RADIUS
Solar radius R☉ (m)
SOLAR_TEMPERATURE
Solar effective temperature T☉ (K)
SQRT_2
Square root of 2
TAU
Tau (2π)
TORR
Torr (Pa)
VACUUM_IMPEDANCE
Impedance of free space Z₀ = μ₀c (Ω)
VON_KLITZING
Von Klitzing constant R_K = h/e² (Ω)
WIEN_DISPLACEMENT
Wien displacement law constant b (m·K)