Skip to content

Physical Constants

Physical properties of celestial bodies and universal constants. All values use SI base units.

Universal Constants

C_LIGHT

C_LIGHT module-attribute

C_LIGHT: float = 299792458.0

Convert a string or number to a floating-point number, if possible.

Value: 299792458.0 m/s

Speed of light in vacuum.


AU

AU module-attribute

AU: float = 149597870700.0

Convert a string or number to a floating-point number, if possible.

Value: 1.495978707e11 m

Astronomical Unit - mean distance of Earth from the Sun. TDB-compatible value.


P_SUN

P_SUN module-attribute

P_SUN: float = 4.56e-06

Convert a string or number to a floating-point number, if possible.

Value: 4.56e-6 N/m²

Solar radiation pressure at 1 AU.


Earth Constants

Geometry

R_EARTH

R_EARTH module-attribute
R_EARTH: float = 6378136.3

Convert a string or number to a floating-point number, if possible.

Value: 6378136.3 m

Earth's equatorial radius (GGM05 gravity model).


WGS84_A

WGS84_A module-attribute
WGS84_A: float = 6378137.0

Convert a string or number to a floating-point number, if possible.

Value: 6378137.0 m

Earth's semi-major axis as defined by WGS84 geodetic system.


WGS84_F

WGS84_F module-attribute
WGS84_F: float = 0.0033528106647474805

Convert a string or number to a floating-point number, if possible.

Value: 0.0033528106647474805 (dimensionless)

Earth's ellipsoidal flattening. WGS84 value: 1/298.257223563


ECC_EARTH

ECC_EARTH module-attribute
ECC_EARTH: float = 0.081819190842622

Convert a string or number to a floating-point number, if possible.

Value: 0.081819190842622 (dimensionless)

Earth's first eccentricity (WGS84 value).


Gravitational Properties

GM_EARTH

GM_EARTH module-attribute
GM_EARTH: float = 398600441500000.0

Convert a string or number to a floating-point number, if possible.

Value: 3.986004415e14 m³/s²

Earth's gravitational parameter (μ = G × M).


J2_EARTH

J2_EARTH module-attribute
J2_EARTH: float = 0.0010826358191967

Convert a string or number to a floating-point number, if possible.

Value: 0.0010826358191967 (dimensionless)

Earth's J2 zonal harmonic coefficient (GGM05s gravity model). Represents Earth's oblateness.


OMEGA_EARTH

OMEGA_EARTH module-attribute
OMEGA_EARTH: float = 7.292115146706979e-05

Convert a string or number to a floating-point number, if possible.

Value: 7.292115146706979e-05 rad/s

Earth's axial rotation rate.


Celestial Body Gravitational Parameters

Gravitational parameters (μ = G × M) for major solar system bodies in m³/s².

Sun

GM_SUN

GM_SUN module-attribute
GM_SUN: float = 1.327124400419394e+20

Convert a string or number to a floating-point number, if possible.

Value: 1.32712440041939e20 m³/s²


R_SUN

R_SUN module-attribute
R_SUN: float = 695700000.0

Convert a string or number to a floating-point number, if possible.

Value: 6.9634e8 m

Solar radius.


Moon

GM_MOON

GM_MOON module-attribute
GM_MOON: float = 4902800066000.0

Convert a string or number to a floating-point number, if possible.

Value: 4.9028e12 m³/s²


R_MOON

R_MOON module-attribute
R_MOON: float = 1738000.0

Convert a string or number to a floating-point number, if possible.

Value: 1.738e6 m

Lunar radius.


Inner Planets

GM_MERCURY

GM_MERCURY module-attribute
GM_MERCURY: float = 22031780000000.0

Convert a string or number to a floating-point number, if possible.

Value: 2.2031868551e13 m³/s²


GM_VENUS

GM_VENUS module-attribute
GM_VENUS: float = 324858592000000.0

Convert a string or number to a floating-point number, if possible.

Value: 3.257e14 m³/s²


GM_MARS

GM_MARS module-attribute
GM_MARS: float = 42828375210000.0

Convert a string or number to a floating-point number, if possible.

Value: 4.305e13 m³/s²


Outer Planets

GM_JUPITER

GM_JUPITER module-attribute
GM_JUPITER: float = 1.267127648e+17

Convert a string or number to a floating-point number, if possible.

Value: 1.268e17 m³/s²


GM_SATURN

GM_SATURN module-attribute
GM_SATURN: float = 3.79405852e+16

Convert a string or number to a floating-point number, if possible.

Value: 3.794e16 m³/s²


GM_URANUS

GM_URANUS module-attribute
GM_URANUS: float = 5794548600000000.0

Convert a string or number to a floating-point number, if possible.

Value: 5.794e15 m³/s²


GM_NEPTUNE

GM_NEPTUNE module-attribute
GM_NEPTUNE: float = 6836527100580000.0

Convert a string or number to a floating-point number, if possible.

Value: 6.837e15 m³/s²


Dwarf Planets

GM_PLUTO

GM_PLUTO module-attribute
GM_PLUTO: float = 977000000000.0

Convert a string or number to a floating-point number, if possible.

Value: 9.77e11 m³/s²