Skip to content

Latest commit

 

History

History
60 lines (49 loc) · 3.12 KB

units-and-prefixes.md

File metadata and controls

60 lines (49 loc) · 3.12 KB

Units and Prefixes

The units and prefixes supported as part of the mathjs package.


Contents

  1. Supported Units
  2. Supported Prefixes

Supported Units

The table below shows the units currently supported in queries. Alternative ways to write the unit are indicated with parantheses.

Base Unit
Length meter (m), angstrom
Angles rad (radian), deg (degree), grad (gradian), arcsec (arcsecond), arcmin (arcminute)
Time second (s, secs, seconds), minute (mins, minutes), hour (h, hr, hrs, hours), day (days)
Frequency hertz (Hz)
Mass gram (g)
Electric Current ampere (A)
Temperature kelvin (K), celsius (degC), fahrenheit (degF)
Amount of Substance mole (mol)
Luminous Intensity candela (cd)
Force newton (N)
Energy joule (J), erg, Wh, electronvolt (eV)
Power watt (W)
Pressure Pa, psi, atm, torr, bar
Electricity and Magnetism ampere (A), coulomb (C), watt (W), volt (V), ohm, farad (F), weber (Wb), tesla (T), henry (H), siemens (S), electronvolt (eV)
Binary bits (b), bytes (B)

Supported Prefixes

Name Abbreviation Value
yocto y 1e-24
zepto z 1e-21
atto a 1e-18
femto f 1e-15
pico p 1e-12
nano n 1e-9
micro u 1e-6
milli m 1e-3
centi c 1e-2
deci d 1e-1
deca da 1e1
hecto h 1e2
kilo k 1e3
mega M 1e6
giga G 1e9
tera T 1e12
peta P 1e15
exa E 1e18
zetta Z 1e21
yotta Y 1e24