Template:Chem molar mass/doc

From MOASSpedia
< Template:Chem molar mass
Revision as of 02:38, 11 October 2020 by Wikipedia>RL0919 (update parameters (via WP:JWB))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template calculates the molecular mass (or molar mass) of a chemical compound. It is designed to be embedded in infoboxes {{Infobox drug}} and {{Chembox}}, but it can be used in-line just as well.

Rounding and uncertainty

(to be documented, 2019-02-09)

Parameters

Use chemical symbols to compose the molecular formula: {{Chem molar mass|H=2|O=1}} (for H
2
O
) → 18.015 g·mol−1

|round=
|unit=


The next parameters will always show:
|fixed= to enter a fixed (predefined) value+unit. It will overwrite any calculated value+unit.

|ref=<ref>some source</ref> will add the reference right after the unit.

|comment=Any textis added as a suffix, after a space and unedited (no brackets added etc.).

Example:

{{Chem molar mass|fixed=234.56 g·mol<sup>−1</sup>|ref=<ref>Some source</ref>|comment=My Comment}}234.56 g·mol−1[1] My Comment

|sortable=yes, for use in sortable tables: will add a hidden sortable number, and omits the unit (see table below).

Blank parameter list

{{Chem molar mass
| round   =
| unit    =
| fixed   =
| ref     =
| comment =
| sortable=
}}
{{Chem molar mass
<!-- with 118 chemical symbols: -->|D= |H= |He= |Li= |Be= |B= |C= |N= |O= |F= |Ne= |Na= |Mg= |Al= |Si= |P= |S= |Cl= |Ar= |K= |Ca= |Sc= |Ti= |V= |Cr= |Mn= |Fe= |Co= |Ni= |Cu= |Zn= |Ga= |Ge= |As= |Se= |Br= |Kr= |Rb= |Sr= |Y= |Zr= |Nb= |Mo= |Tc= |Ru= |Rh= |Pd= |Ag= |Cd= |In= |Sn= |Sb= |Te= |I= |Xe= |Cs= |Ba= |La= |Ce= |Pr= |Nd= |Pm= |Sm= |Eu= |Gd= |Tb= |Dy= |Ho= |Er= |Tm= |Yb= |Lu= |Hf= |Ta= |W= |Re= |Os= |Ir= |Pt= |Au= |Hg= |Tl= |Pb= |Bi= |Po= |At= |Rn= |Fr= |Ra= |Ac= |Th= |Pa= |U= |Np= |Pu= |Am= |Cm= |Bk= |Cf= |Es= |Fm= |Md= |No= |Lr= |Rf= |Db= |Sg= |Bh= |Hs= |Mt= |Ds= |Rg= |Cn= |Nh= |Lv= |Mc= |Fl= |Ts= |Og=
| round   =
| unit    =
| fixed   =
| ref     =
| comment =
| sortable=
}}

Standard atomic weights used

Atomic number Element Molar mass Decimals Formal standard atomic weight s.a.w., formal short Note
Z calculated; g·mol−1 used in calc rounding Ar, standard[2] (data) Ar, abridged and conventional[2]
 
C
9
H
8
O
4
180.159 g·mol−1
Template:Chem molar mass/sandbox
aspirin, calculated from formula
C
9
H
8
O
4
180.157 g·mol−1 fixed value from ...
|charge=+1 −0.000548579909070 g·mol−1
|charge=-1 0.000548579909070 g·mol−1
H+1 1.007 g·mol−1
1 hydrogen H 1.008 g·mol−1 3 [1.007841.00811] 1.008 atomic mass for H, not molar mass for H2
[[]] D 2.01355321275 g·mol−1 10 deuterium, 2H[3]
2 helium He 4.002602 g·mol−1 6 4.002602(2) 4.0026
3 lithium Li 6.94 g·mol−1 2 [6.9386.997] 6.94
4 beryllium Be 9.0121831 g·mol−1 7 9.0121831(5) 9.0122
5 boron B 10.81 g·mol−1 2 [10.80610.821] 10.81
6 carbon C 12.011 g·mol−1 3 [12.009612.0116] 12.011
7 nitrogen N 14.007 g·mol−1 3 [14.0064314.00728] 14.007
8 oxygen O 15.999 g·mol−1 3 [15.9990315.99977] 15.999
9 fluorine F 18.998403163 g·mol−1 9 18.998403163(6) 18.998
10 neon Ne 20.1797 g·mol−1 4 20.1797(6) 20.180
11 sodium Na 22.98976928 g·mol−1 8 22.98976928(2) 22.990
12 magnesium Mg 24.305 g·mol−1 3 [24.30424.307] 24.305
13 aluminium Al 26.9815384 g·mol−1 7 26.9815384(3) 26.982
14 silicon Si 28.085 g·mol−1 3 [28.08428.086] 28.085
15 phosphorus P 30.973761998 g·mol−1 9 30.973761998(5) 30.974
16 sulfur S 32.06 g·mol−1 2 [32.05932.076] 32.06
17 chlorine Cl 35.45 g·mol−1 2 [35.44635.457] 35.45
18 argon Ar 39.948 g·mol−1 2 [39.79239.963] 39.95
19 potassium K 39.0983 g·mol−1 4 39.0983(1) 39.098
20 calcium Ca 40.078 g·mol−1 3 40.078(4) 40.078(4)
21 scandium Sc 44.955908 g·mol−1 6 44.955908(5) 44.956
22 titanium Ti 47.867 g·mol−1 3 47.867(1) 47.867
23 vanadium V 50.9415 g·mol−1 4 50.9415(1) 50.942
24 chromium Cr 51.9961 g·mol−1 4 51.9961(6) 51.996
25 manganese Mn 54.938043 g·mol−1 6 54.938043(2) 54.938
26 iron Fe 55.845 g·mol−1 3 55.845(2) 55.845(2)
27 cobalt Co 58.933194 g·mol−1 6 58.933194(3) 58.933
28 nickel Ni 58.6934 g·mol−1 4 58.6934(4) 58.693
29 copper Cu 63.546 g·mol−1 3 63.546(3) 63.546(3)
30 zinc Zn 65.38 g·mol−1 2 65.38(2) 65.38(2)
31 gallium Ga 69.723 g·mol−1 3 69.723(1) 69.723
32 germanium Ge 72.630 g·mol−1 3 72.630(8) 72.630(8)
33 arsenic As 74.921595 g·mol−1 6 74.921595(6) 74.922
34 selenium Se 78.971 g·mol−1 3 78.971(8) 78.971(8)
35 bromine Br 79.904 g·mol−1 3 [79.90179.907] 79.904
36 krypton Kr 83.798 g·mol−1 3 83.798(2) 83.798(2)
37 rubidium Rb 85.4678 g·mol−1 4 85.4678(3) 85.468
38 strontium Sr 87.62 g·mol−1 2 87.62(1) 87.62
39 yttrium Y 88.90584 g·mol−1 5 88.90584(1) 88.906
40 zirconium Zr 91.224 g·mol−1 3 91.224(2) 91.224(2)
41 niobium Nb 92.90637 g·mol−1 5 92.90637(1) 92.906
42 molybdenum Mo 95.95 g·mol−1 2 95.95(1) 95.95
43 technetium Tc 98 g·mol−1 0
44 ruthenium Ru 101.07 g·mol−1 2 101.07(2) 101.07(2)
45 rhodium Rh 102.90549 g·mol−1 5 102.90549(2) 102.91
46 palladium Pd 106.42 g·mol−1 2 106.42(1) 106.42
47 silver Ag 107.8682 g·mol−1 4 107.8682(2) 107.87
48 cadmium Cd 112.414 g·mol−1 3 112.414(4) 112.41
49 indium In 114.818 g·mol−1 3 114.818(1) 114.82
50 tin Sn 118.710 g·mol−1 3 118.710(7) 118.71
51 antimony Sb 121.760 g·mol−1 3 121.760(1) 121.76
52 tellurium Te 127.60 g·mol−1 2 127.60(3) 127.60(3) (Does not follow atomic number)
53 iodine I 126.90447 g·mol−1 5 126.90447(3) 126.90 (Does not follow atomic number)
54 xenon Xe 131.293 g·mol−1 3 131.293(6) 131.29
55 caesium Cs 132.90545196 g·mol−1 8 132.90545196(6) 132.91
56 barium Ba 137.327 g·mol−1 3 137.327(7) 137.33
57 lanthanum La 138.90547 g·mol−1 5 138.90547(7) 138.91
58 cerium Ce 140.116 g·mol−1 3 140.116(1) 140.12
59 praseodymium Pr 140.90766 g·mol−1 5 140.90766(1) 140.91
60 neodymium Nd 144.242 g·mol−1 3 144.242(3) 144.24
61 promethium Pm 145 g·mol−1 0
62 samarium Sm 150.36 g·mol−1 2 150.36(2) 150.36(2)
63 europium Eu 151.964 g·mol−1 3 151.964(1) 151.96
64 gadolinium Gd 157.25 g·mol−1 2 157.25(3) 157.25(3)
65 terbium Tb 158.925354 g·mol−1 6 158.925354(8) 158.93
66 dysprosium Dy 162.500 g·mol−1 3 162.500(1) 162.50
67 holmium Ho 164.930328 g·mol−1 6 164.930328(7) 164.93
68 erbium Er 167.259 g·mol−1 3 167.259(3) 167.26
69 thulium Tm 168.934218 g·mol−1 6 168.934218(6) 168.93
70 ytterbium Yb 173.045 g·mol−1 3 173.045(10) 173.05
71 lutetium Lu 174.9668 g·mol−1 4 174.9668(1) 174.97
72 hafnium Hf 178.49 g·mol−1 2 178.486(6) 178.49(2)
73 tantalum Ta 180.94788 g·mol−1 5 180.94788(2) 180.95
74 tungsten W 183.84 g·mol−1 2 183.84(1) 183.84
75 rhenium Re 186.207 g·mol−1 3 186.207(1) 186.21
76 osmium Os 190.23 g·mol−1 2 190.23(3) 190.23(3)
77 iridium Ir 192.217 g·mol−1 3 192.217(2) 192.22
78 platinum Pt 195.084 g·mol−1 3 195.084(9) 195.08
79 gold Au 196.966570 g·mol−1 6 196.966570(4) 196.97
80 mercury Hg 200.592 g·mol−1 3 200.592(3) 200.59
81 thallium Tl 204.38 g·mol−1 2 [204.382204.385] 204.38
82 lead Pb 207.2 g·mol−1 1 [206.14207.94] 207.2±1.1
83 bismuth Bi 208.98040 g·mol−1 5 208.98040(1) 208.98
84 polonium Po 209 g·mol−1 0
85 astatine At 210 g·mol−1 0
86 radon Rn 222 g·mol−1 0
87 francium Fr 223 g·mol−1 0
88 radium Ra 226 g·mol−1 0
89 actinium Ac 227 g·mol−1 0
90 thorium Th 232.0377 g·mol−1 4 232.0377(4) 232.04
91 protactinium Pa 231.03588 g·mol−1 5 231.03588(1) 231.04
92 uranium U 238.02891 g·mol−1 5 238.02891(3) 238.03
93 neptunium Np 237 g·mol−1 0
94 plutonium Pu 244 g·mol−1 0
95 americium Am 243 g·mol−1 0
96 curium Cm 247 g·mol−1 0
97 berkelium Bk 247 g·mol−1 0
98 californium Cf 251 g·mol−1 0
99 einsteinium Es 252 g·mol−1 0
100 fermium Fm 257 g·mol−1 0
101 mendelevium Md 258 g·mol−1 0
102 nobelium No 259 g·mol−1 0
103 lawrencium Lr 266 g·mol−1 0
104 rutherfordium Rf 267 g·mol−1 0
105 dubnium Db 268 g·mol−1 0
106 seaborgium Sg 269 g·mol−1 0
107 bohrium Bh 270 g·mol−1 0
108 hassium Hs 270 g·mol−1 0
109 meitnerium Mt 278 g·mol−1 0
110 darmstadtium Ds 281 g·mol−1 0
111 roentgenium Rg 282 g·mol−1 0
112 copernicium Cn 285 g·mol−1 0
113 nihonium Nh 286 g·mol−1 0
114 flerovium Fl 289 g·mol−1 0
115 moscovium Mc 290 g·mol−1 0
116 livermorium Lv 293 g·mol−1 0
117 tennessine Ts 294 g·mol−1 0
118 oganesson Og 294 g·mol−1 0

References

References

  1. ^ Some source
  2. ^ a b Meija, Juris; et al. (2016). "Atomic weights of the elements 2013 (IUPAC Technical Report)". Pure and Applied Chemistry. 88 (3): 265–91. doi:10.1515/pac-2015-0305.
  3. ^ NIST [1]

Data sources (CIAAW)

Primarily, the atomic weights used here are defined by CIAAW [2]:

Coplen, T.B.; et al. (2013). "Atomic weights of the elements 2013 (xls)". CIAAW. Retrieved 2015-05-26.
  • Some unstable elements can naturally occur, and so are listed (4 elements: Bi, Th, Pa, U)
  • Additional values are those of the most stable isotopes, as given in List of chemical elements (34 elements). This source is not supported by the CIAAW publications.

See also: "Atomic weights of the elements 2013 (IUPAC Technical Report)". Pure and Applied Chemistry. February 2016. pp. 265–291. doi:10.1515/pac-2015-0305. eISSN 1365-3075. ISSN 0033-4545. Retrieved 2016-12-29.

Embedding in a template

The template is designed to be embedded in a template like {{Drugbox}}. The molecular formula can be entered like ...|H=2|O=1, and these values then are passed through to this subtemplate, together with the other parameters like |round=.

Units

  • |unit=
1. When some |unit=kg/mol is used, it is added as is, always ("by the editor").
2. When |fixed= is used, no unit is added to this (could be in it already).
3. When |sortable= is used, no unit is added by the template (expected: put in top of table column).
4. When value is calculated, unit g/mol is added by template.
5. There is automatic no conversion from g to kg.

Uncertainty handling

  • Uncertainty is ignored.
Calcium: Ar(Ca) being 40.078(4) is read and calculated as 40.078(0)
  • Elements having interval notation are calculated by their conventional value.
Hydrogen: [1.00784, 1.00811] is calculated using conventional: 1.008(0)

Calculate cumulative uncertainties

Tracking categories

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Chem molar mass

Parameter list (all element symbols, and template options)

No description.

Template parameters

ParameterDescriptionTypeStatus
HH

no description

Unknownoptional
DD

no description

Unknownoptional
LiLi

no description

Unknownoptional
BB

no description

Unknownoptional
CC

no description

Unknownoptional
NN

no description

Unknownoptional
OO

no description

Unknownoptional
MgMg

no description

Unknownoptional
SiSi

no description

Unknownoptional
SS

no description

Unknownoptional
ClCl

no description

Unknownoptional
BrBr

no description

Unknownoptional
TlTl

no description

Unknownoptional
HeHe

no description

Unknownoptional
BeBe

no description

Unknownoptional
FF

no description

Unknownoptional
NeNe

no description

Unknownoptional
NaNa

no description

Unknownoptional
AlAl

no description

Unknownoptional
PP

no description

Unknownoptional
KK

no description

Unknownoptional
ArAr

no description

Unknownoptional
CaCa

no description

Unknownoptional
ScSc

no description

Unknownoptional
TiTi

no description

Unknownoptional
VV

no description

Unknownoptional
CrCr

no description

Unknownoptional
MnMn

no description

Unknownoptional
FeFe

no description

Unknownoptional
NiNi

no description

Unknownoptional
CoCo

no description

Unknownoptional
CuCu

no description

Unknownoptional
ZnZn

no description

Unknownoptional
GaGa

no description

Unknownoptional
GeGe

no description

Unknownoptional
AsAs

no description

Unknownoptional
SeSe

no description

Unknownoptional
KrKr

no description

Unknownoptional
RbRb

no description

Unknownoptional
SrSr

no description

Unknownoptional
YY

no description

Unknownoptional
ZrZr

no description

Unknownoptional
NbNb

no description

Unknownoptional
MoMo

no description

Unknownoptional
RuRu

no description

Unknownoptional
RhRh

no description

Unknownoptional
PdPd

no description

Unknownoptional
AgAg

no description

Unknownoptional
CdCd

no description

Unknownoptional
InIn

no description

Unknownoptional
SnSn

no description

Unknownoptional
SbSb

no description

Unknownoptional
II

no description

Unknownoptional
TeTe

no description

Unknownoptional
XeXe

no description

Unknownoptional
CsCs

no description

Unknownoptional
BaBa

no description

Unknownoptional
LaLa

no description

Unknownoptional
CeCe

no description

Unknownoptional
PrPr

no description

Unknownoptional
NdNd

no description

Unknownoptional
SmSm

no description

Unknownoptional
EuEu

no description

Unknownoptional
GdGd

no description

Unknownoptional
TbTb

no description

Unknownoptional
DyDy

no description

Unknownoptional
HoHo

no description

Unknownoptional
ErEr

no description

Unknownoptional
TmTm

no description

Unknownoptional
YbYb

no description

Unknownoptional
LuLu

no description

Unknownoptional
HfHf

no description

Unknownoptional
TaTa

no description

Unknownoptional
WW

no description

Unknownoptional
ReRe

no description

Unknownoptional
OsOs

no description

Unknownoptional
IrIr

no description

Unknownoptional
PtPt

no description

Unknownoptional
AuAu

no description

Unknownoptional
HgHg

no description

Unknownoptional
PbPb

no description

Unknownoptional
BiBi

no description

Unknownoptional
PaPa

no description

Unknownoptional
ThTh

no description

Unknownoptional
UU

no description

Unknownoptional
TcTc

no description

Unknownoptional
PmPm

no description

Unknownoptional
PoPo

no description

Unknownoptional
AtAt

no description

Unknownoptional
RnRn

no description

Unknownoptional
FrFr

no description

Unknownoptional
RaRa

no description

Unknownoptional
AcAc

no description

Unknownoptional
NpNp

no description

Unknownoptional
PuPu

no description

Unknownoptional
AmAm

no description

Unknownoptional
CmCm

no description

Unknownoptional
BkBk

no description

Unknownoptional
CfCf

no description

Unknownoptional
EsEs

no description

Unknownoptional
FmFm

no description

Unknownoptional
MdMd

no description

Unknownoptional
NoNo

no description

Unknownoptional
LrLr

no description

Unknownoptional
RfRf

no description

Unknownoptional
DbDb

no description

Unknownoptional
SgSg

no description

Unknownoptional
BhBh

no description

Unknownoptional
HsHs

no description

Unknownoptional
MtMt

no description

Unknownoptional
DsDs

no description

Unknownoptional
RgRg

no description

Unknownoptional
CnCn

no description

Unknownoptional
NhNh

no description

Unknownoptional
FlFl

no description

Unknownoptional
McMc

no description

Unknownoptional
LvLv

no description

Unknownoptional
TsTs

no description

Unknownoptional
OgOg

no description

Unknownoptional
roundround

no description

Unknownoptional
unitunit

no description

Unknownoptional
refref

no description

Unknownoptional
commentcomment

no description

Unknownoptional
fixedfixed

no description

Unknownoptional
sortablesortable

no description

Unknownoptional

See also

{{Chem molar mass/sandbox}} -- tests sandbox template too (compare values).